Wed, 25 May 2022 17:56:30 +0300
delete unneeded things
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 | }; |