mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2026-01-02 01:40:52 +01:00
Ajout d'une action "Retrouver dans le panel" dans les proprietes des elements.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@654 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -92,6 +92,7 @@ class ElementsPanel : public QTreeWidget {
|
||||
void diagramWasRemoved(QETProject *, Diagram *);
|
||||
void diagramTitleChanged(QETProject *, Diagram *);
|
||||
void diagramOrderChanged(QETProject *, int, int);
|
||||
bool scrollToElement(const ElementsLocation &);
|
||||
|
||||
protected:
|
||||
void dragEnterEvent(QDragEnterEvent *);
|
||||
@@ -106,10 +107,12 @@ class ElementsPanel : public QTreeWidget {
|
||||
QTreeWidgetItem *addCategory (QTreeWidgetItem *, ElementsCategory *, const QString & = QString(), const QIcon & = QIcon());
|
||||
QTreeWidgetItem *addElement (QTreeWidgetItem *, ElementDefinition *, const QString & = QString());
|
||||
void saveExpandedCategories();
|
||||
QTreeWidgetItem *findPath(const QString &) const;
|
||||
QTreeWidgetItem *findLocation(const ElementsLocation &) const;
|
||||
QTreeWidgetItem *findLocation(const QString &) const;
|
||||
void deleteItem(QTreeWidgetItem *);
|
||||
void updateProjectItemInformations(QETProject *);
|
||||
QString diagramTitleToDisplay(Diagram *) const;
|
||||
void ensureHierarchyIsVisible(QList<QTreeWidgetItem *>);
|
||||
|
||||
// attributs
|
||||
private:
|
||||
|
||||
Reference in New Issue
Block a user