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:
xavierqet
2007-08-28 21:17:11 +00:00
parent 0fb7b02285
commit d3ef7a5f02
17 changed files with 298 additions and 58 deletions

View File

@@ -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