23 #include "gui.h" |
23 #include "gui.h" |
24 #include "file.h" |
24 #include "file.h" |
25 |
25 |
26 #include "zz_setContentsDialog.h" |
26 #include "zz_setContentsDialog.h" |
27 #include "zz_configDialog.h" |
27 #include "zz_configDialog.h" |
|
28 #include "zz_addObjectDialog.h" |
28 |
29 |
29 #define MAKE_ACTION(OBJECT, DISPLAYNAME, IMAGENAME, DESCR) \ |
30 #define MAKE_ACTION(OBJECT, DISPLAYNAME, IMAGENAME, DESCR) \ |
30 qAct_##OBJECT = new QAction (QIcon ("./icons/" IMAGENAME ".png"), tr (DISPLAYNAME), this); \ |
31 qAct_##OBJECT = new QAction (QIcon ("./icons/" IMAGENAME ".png"), tr (DISPLAYNAME), this); \ |
31 qAct_##OBJECT->setStatusTip (tr (DESCR)); \ |
32 qAct_##OBJECT->setStatusTip (tr (DESCR)); \ |
32 connect (qAct_##OBJECT, SIGNAL (triggered ()), this, SLOT (slot_##OBJECT ())); |
33 connect (qAct_##OBJECT, SIGNAL (triggered ()), this, SLOT (slot_##OBJECT ())); |