Wed, 25 May 2022 18:33:38 +0300
fix up things and remove unnecessary code
#pragma once #include "document.h" class ColorIndexInput : public QWidget { Q_OBJECT public: ColorIndexInput(Document *document, ldraw::Color color = ldraw::MAIN_COLOR, QWidget *parent = nullptr); ~ColorIndexInput(); ldraw::Color selectedColor() const; void setSelectedColor(ldraw::Color color); Q_SIGNALS: void colorChanged(ldraw::Color color); private: Document* const document; class Ui_ColorIndexInput& ui; };