git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@82 bfdf4180-ca20-0410-9c96-a3a8aa849046

This commit is contained in:
xavierqet
2007-04-07 02:37:57 +00:00
parent 22cd7541fd
commit 86da559748
7 changed files with 289 additions and 122 deletions

View File

@@ -6,6 +6,7 @@
categorie.
*/
class ElementsCategory;
class NamesList;
class ElementsCategoryEditor : public QDialog {
Q_OBJECT
//Constructeurs, destructeur
@@ -16,23 +17,18 @@ class ElementsCategoryEditor : public QDialog {
// attributs
private:
QTreeWidget *category_names;
ElementsCategory *category;
QDialogButtonBox *buttons;
QPushButton *button_add_line;
QHash<QString, QString> hash_names;
NamesList *names_list;
bool mode_edit;
// methodes
private:
void buildDialog();
void clean();
bool checkOneName();
void updateHash();
public slots:
void acceptCreation();
void acceptUpdate();
void addLine();
};
#endif