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:
blacksun
2016-05-27 12:44:24 +00:00
parent 1ec0538e71
commit ef555c5424
11 changed files with 15 additions and 1307 deletions

View File

@@ -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_;
};