src/guiutilities.h

changeset 1194
99085cfaeabd
parent 1072
9ce9496427f2
equal deleted inserted replaced
1193:b78b6cf02213 1194:99085cfaeabd
24 /* 24 /*
25 * GuiUtilities 25 * GuiUtilities
26 * 26 *
27 * Contains generic state-aware GUI functions. 27 * Contains generic state-aware GUI functions.
28 */ 28 */
29 class GuiUtilities : public QObject, public HierarchyElement 29 namespace GuiUtilities
30 { 30 {
31 Q_OBJECT 31 QIcon makeColorIcon(LDColor ldcolor, int size);
32 public: 32 void fillUsedColorsToComboBox(Model* model, class QComboBox* box);
33 explicit GuiUtilities (QObject* parent);
34
35 QIcon makeColorIcon (LDColor ldcolor, int size);
36 void fillUsedColorsToComboBox (class QComboBox* box);
37 QColor mainColorRepresentation(); 33 QColor mainColorRepresentation();
38 QVector<ColorToolbarItem> loadQuickColorList(); 34 QVector<ColorToolbarItem> loadQuickColorList();
39 }; 35 }

mercurial