Wed, 22 Jun 2022 16:53:35 +0300
I felt that the compiler was too kind to me, so I enabled a big pile of warnings
178 | 1 | #pragma once |
2 | #include "document.h" | |
3 | ||
4 | class ColorIndexInput : public QWidget | |
5 | { | |
6 | Q_OBJECT | |
7 | public: | |
214
8e1fe64ce4e3
begin refactor of gl side
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
205
diff
changeset
|
8 | ColorIndexInput(ColorTable *colorTable, ColorIndex color = MAIN_COLOR, QWidget *parent = nullptr); |
178 | 9 | ~ColorIndexInput(); |
10 | ldraw::Color selectedColor() const; | |
11 | void setSelectedColor(ldraw::Color color); | |
12 | Q_SIGNALS: | |
13 | void colorChanged(ldraw::Color color); | |
14 | private: | |
214
8e1fe64ce4e3
begin refactor of gl side
Teemu Piippo <teemu.s.piippo@gmail.com>
parents:
205
diff
changeset
|
15 | ColorTable* const colorTable; |
178 | 16 | class Ui_ColorIndexInput& ui; |
17 | }; |