Sat, 11 Jun 2022 14:30:30 +0300
Rewrite dependency loading
#pragma once #include "document.h" class ColorIndexInput : public QWidget { Q_OBJECT public: ColorIndexInput(EditorTabWidget *document, ColorIndex color = MAIN_COLOR, QWidget *parent = nullptr); ~ColorIndexInput(); ldraw::Color selectedColor() const; void setSelectedColor(ldraw::Color color); Q_SIGNALS: void colorChanged(ldraw::Color color); private: EditorTabWidget* const document; class Ui_ColorIndexInput& ui; };