mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
Refactoring: added the class GenericPanel, which provides most functions for ElementsPanel, ElementsCategoriesList, and any future panel-like widget.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1490 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -88,7 +88,7 @@ class ElementsPanelWidget : public QWidget {
|
||||
void setElementsActionEnabled(bool);
|
||||
int launchCategoriesManager();
|
||||
void handleContextMenu(const QPoint &);
|
||||
void handleCollectionRequest(ElementsCollectionItem *);
|
||||
void handleCollectionRequest(const ElementsLocation &);
|
||||
void handleMoveElementsRequest(ElementsCollectionItem *, ElementsCollectionItem *, const QPoint & = QPoint());
|
||||
void moveElements();
|
||||
void moveElements(ElementsCollectionItem *, ElementsCollectionItem *);
|
||||
@@ -97,11 +97,13 @@ class ElementsPanelWidget : public QWidget {
|
||||
void collectionsRead();
|
||||
void collectionsReadFinished();
|
||||
void updateProgressBar(int, int);
|
||||
void filterEdited(const QString &);
|
||||
|
||||
private:
|
||||
void launchElementEditor(const ElementsLocation &);
|
||||
void launchCategoryEditor(const ElementsLocation &);
|
||||
ElementsCategory *writableSelectedCategory();
|
||||
QString previous_filter_;
|
||||
};
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user