31 class QSplitter; |
31 class QSplitter; |
32 class DelHistory; |
32 class DelHistory; |
33 class QToolButton; |
33 class QToolButton; |
34 class QDialogButtonBox; |
34 class QDialogButtonBox; |
35 class GLRenderer; |
35 class GLRenderer; |
|
36 template<class T> class CheckBoxGroup; |
36 |
37 |
37 // Stuff for dialogs |
38 // Stuff for dialogs |
38 #define IMPLEMENT_DIALOG_BUTTONS \ |
39 #define IMPLEMENT_DIALOG_BUTTONS \ |
39 bbx_buttons = new QDialogButtonBox (QDialogButtonBox::Ok | QDialogButtonBox::Cancel); \ |
40 bbx_buttons = new QDialogButtonBox (QDialogButtonBox::Ok | QDialogButtonBox::Cancel); \ |
40 connect (bbx_buttons, SIGNAL (accepted ()), this, SLOT (accept ())); \ |
41 connect (bbx_buttons, SIGNAL (accepted ()), this, SLOT (accept ())); \ |
190 void critical (str msg); |
191 void critical (str msg); |
191 QAction* findAction (str name); |
192 QAction* findAction (str name); |
192 QIcon makeColorIcon (color* colinfo, const ushort size); |
193 QIcon makeColorIcon (color* colinfo, const ushort size); |
193 void makeColorSelector (QComboBox* box); |
194 void makeColorSelector (QComboBox* box); |
194 QDialogButtonBox* makeButtonBox (QDialog& dlg); |
195 QDialogButtonBox* makeButtonBox (QDialog& dlg); |
|
196 CheckBoxGroup<Axis>* makeAxesBox (); |
195 |
197 |
196 // ----------------------------------------------------------------------------- |
198 // ----------------------------------------------------------------------------- |
197 // Pointer to the instance of ForgeWindow. |
199 // Pointer to the instance of ForgeWindow. |
198 extern ForgeWindow* g_win; |
200 extern ForgeWindow* g_win; |
199 |
201 |