mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-19 23:20:52 +01:00
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@78 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
27
elementscategoryeditor.h
Normal file
27
elementscategoryeditor.h
Normal file
@@ -0,0 +1,27 @@
|
||||
#ifndef ELEMENTS_CATEGORY_EDITOR_H
|
||||
#define ELEMENTS_CATEGORY_EDITOR_H
|
||||
#include <QtGui>
|
||||
class ElementsCategory;
|
||||
class ElementsCategoryEditor : public QDialog {
|
||||
Q_OBJECT
|
||||
//Constructeurs, destructeur
|
||||
public:
|
||||
ElementsCategoryEditor(QWidget * = 0);
|
||||
ElementsCategoryEditor(const QString &, bool = true, QWidget * = 0);
|
||||
~ElementsCategoryEditor();
|
||||
|
||||
// attributs
|
||||
private:
|
||||
QTreeWidget *category_names;
|
||||
ElementsCategory *category;
|
||||
QDialogButtonBox *buttons;
|
||||
bool mode_edit;
|
||||
// methodes
|
||||
private:
|
||||
void buildDialog();
|
||||
|
||||
public slots:
|
||||
void acceptCreation();
|
||||
void acceptUpdate();
|
||||
};
|
||||
#endif
|
||||
Reference in New Issue
Block a user