mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-30 07:40:51 +01:00
Ajout de boutons pour gerer les collections et elements
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@109 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -19,9 +19,17 @@ class ElementsPanel : public QTreeWidget {
|
||||
ElementsPanel(const ElementsPanel &);
|
||||
|
||||
// methodes
|
||||
public:
|
||||
bool selectedItemIsAnElement() const;
|
||||
bool selectedItemIsACategory() const;
|
||||
|
||||
private:
|
||||
void addFile(QTreeWidgetItem *, QString);
|
||||
void addDir(QTreeWidgetItem *, QString, QString = QString());
|
||||
QFileInfo selectedFile() const;
|
||||
void launchElementEditor(const QString &);
|
||||
void lauchCategoryEditor(const QString &);
|
||||
|
||||
|
||||
public slots:
|
||||
void slot_doubleClick(QTreeWidgetItem *, int);
|
||||
@@ -29,5 +37,9 @@ class ElementsPanel : public QTreeWidget {
|
||||
void dropEvent(QDropEvent *);
|
||||
void startDrag(Qt::DropActions);
|
||||
void reload();
|
||||
void editCategory();
|
||||
void editElement();
|
||||
void deleteCategory();
|
||||
void deleteElement();
|
||||
};
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user