mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-02-20 19:19:58 +01:00
UI consistency: renamed "Import element" to "Open an element file", separated this action from those related to the current selection, and ensured elements-related actions are disabled when selecting a project/diagram/title block template.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1350 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -41,7 +41,7 @@ class ElementsPanelWidget : public QWidget {
|
||||
QAction *reload;
|
||||
QAction *new_category, *edit_category, *delete_category;
|
||||
QAction *delete_collection;
|
||||
QAction *new_element, *import_element, *edit_element, *delete_element;
|
||||
QAction *new_element, *edit_element, *delete_element, *open_element;
|
||||
QAction *prj_close, *prj_edit_prop, *prj_prop_diagram, *prj_add_diagram, *prj_del_diagram, *prj_move_diagram_up, *prj_move_diagram_down;
|
||||
QAction *tbt_add, *tbt_edit, *tbt_remove;
|
||||
QAction *copy_elements_, *move_elements_, *cancel_elements_;
|
||||
@@ -79,12 +79,13 @@ class ElementsPanelWidget : public QWidget {
|
||||
void removeTitleBlockTemplate();
|
||||
void newCategory();
|
||||
void newElement();
|
||||
void importElement();
|
||||
void openElementFromFile();
|
||||
void editCategory();
|
||||
void editElement();
|
||||
void deleteCategory();
|
||||
void deleteElement();
|
||||
void updateButtons();
|
||||
void setElementsActionEnabled(bool);
|
||||
int launchCategoriesManager();
|
||||
void handleContextMenu(const QPoint &);
|
||||
void handleCollectionRequest(ElementsCollectionItem *);
|
||||
|
||||
Reference in New Issue
Block a user