Wed, 08 Jun 2022 23:02:04 +0300
well that's embarrassing
178 | 1 | #pragma once |
2 | #include "document.h" | |
3 | ||
4 | class ColorIndexInput : public QWidget | |
5 | { | |
6 | Q_OBJECT | |
7 | public: | |
205 | 8 | ColorIndexInput(EditorTabWidget *document, 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: | |
200 | 15 | EditorTabWidget* const document; |
178 | 16 | class Ui_ColorIndexInput& ui; |
17 | }; |