7fd59977 |
1 | #ifndef MATERIAL_H |
2 | #define MATERIAL_H |
3 | |
55a40de8 |
4 | #include <Standard_WarningsDisable.hxx> |
7fd59977 |
5 | #include <QDialog> |
6 | #include <QList> |
7 | #include <QPushButton> |
55a40de8 |
8 | #include <Standard_WarningsRestore.hxx> |
7fd59977 |
9 | |
10 | #include <AIS_InteractiveContext.hxx> |
11 | |
12 | class DialogMaterial : public QDialog |
13 | { |
14 | Q_OBJECT |
15 | public: |
16 | DialogMaterial (QWidget * parent=0, bool modal=true, Qt::WindowFlags f=0 ); |
17 | ~DialogMaterial(); |
18 | |
19 | signals: |
20 | void sendMaterialChanged(int); |
21 | |
22 | public slots: |
23 | void updateButtons(bool isOn); |
24 | |
25 | private: |
26 | QList<QPushButton*> myButtons; |
27 | }; |
28 | |
29 | #endif |