Wed, 25 May 2022 18:33:38 +0300
fix up things and remove unnecessary code
178 | 1 | #pragma once |
2 | #include "document.h" | |
3 | ||
4 | class ColorIndexInput : public QWidget | |
5 | { | |
6 | Q_OBJECT | |
7 | public: | |
8 | ColorIndexInput(Document *document, ldraw::Color color = ldraw::MAIN_COLOR, QWidget *parent = nullptr); | |
9 | ~ColorIndexInput(); | |
10 | ldraw::Color selectedColor() const; | |
11 | void setSelectedColor(ldraw::Color color); | |
12 | Q_SIGNALS: | |
13 | void colorChanged(ldraw::Color color); | |
14 | private: | |
15 | Document* const document; | |
16 | class Ui_ColorIndexInput& ui; | |
17 | }; |