gui.h

changeset 39
110669124caf
parent 30
31ff9aabd506
child 43
85b24285a8c7
equal deleted inserted replaced
38:20f5eaae8425 39:110669124caf
25 #include <QAction> 25 #include <QAction>
26 #include <QTreeWidget> 26 #include <QTreeWidget>
27 #include <QToolBar> 27 #include <QToolBar>
28 #include <QTextEdit> 28 #include <QTextEdit>
29 #include "gldraw.h" 29 #include "gldraw.h"
30
31 // Stuff for dialogs
32 #define IMPLEMENT_DIALOG_BUTTONS \
33 qButtons = new QDialogButtonBox (QDialogButtonBox::Ok | QDialogButtonBox::Cancel); \
34 connect (qButtons, SIGNAL (accepted ()), this, SLOT (accept ())); \
35 connect (qButtons, SIGNAL (rejected ()), this, SLOT (reject ())); \
36
30 37
31 class ForgeWindow : public QMainWindow { 38 class ForgeWindow : public QMainWindow {
32 Q_OBJECT 39 Q_OBJECT
33 40
34 public: 41 public:

mercurial