mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-03-16 06:59:59 +01:00
Old element panel : Remove the management of the elements collection. Now the element panel only manage the title block and folio.
Remove the management of custom and common elements collection in the class qetapp. git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4529 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -45,7 +45,6 @@ class ElementsPanelWidget : public QWidget {
|
||||
QAction *tbt_add, *tbt_edit, *tbt_remove;
|
||||
QMenu *context_menu;
|
||||
QLineEdit *filter_textfield;
|
||||
QProgressBar *progress_bar_;
|
||||
|
||||
// methods
|
||||
public:
|
||||
@@ -85,19 +84,12 @@ class ElementsPanelWidget : public QWidget {
|
||||
void removeTitleBlockTemplate();
|
||||
void updateButtons();
|
||||
void handleContextMenu(const QPoint &);
|
||||
void handleCollectionRequest(const ElementsLocation &);
|
||||
void collectionsRead();
|
||||
void collectionsReadFinished();
|
||||
void updateProgressBar(int, int);
|
||||
void loadingFinished();
|
||||
void filterEdited(const QString &);
|
||||
|
||||
protected:
|
||||
virtual void keyPressEvent (QKeyEvent *e);
|
||||
|
||||
private:
|
||||
void launchElementEditor(const ElementsLocation &);
|
||||
void launchCategoryEditor(const ElementsLocation &);
|
||||
QString previous_filter_;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user