src/widgets/colorindexinput.h

changeset 205
1a4342d80de7
parent 200
ca23936b455b
child 214
8e1fe64ce4e3
equal deleted inserted replaced
204:52e10e8d88cc 205:1a4342d80de7
3 3
4 class ColorIndexInput : public QWidget 4 class ColorIndexInput : public QWidget
5 { 5 {
6 Q_OBJECT 6 Q_OBJECT
7 public: 7 public:
8 ColorIndexInput(EditorTabWidget *document, ldraw::Color color = ldraw::MAIN_COLOR, QWidget *parent = nullptr); 8 ColorIndexInput(EditorTabWidget *document, ColorIndex color = MAIN_COLOR, QWidget *parent = nullptr);
9 ~ColorIndexInput(); 9 ~ColorIndexInput();
10 ldraw::Color selectedColor() const; 10 ldraw::Color selectedColor() const;
11 void setSelectedColor(ldraw::Color color); 11 void setSelectedColor(ldraw::Color color);
12 Q_SIGNALS: 12 Q_SIGNALS:
13 void colorChanged(ldraw::Color color); 13 void colorChanged(ldraw::Color color);

mercurial