Thu, 15 Jun 2023 16:18:03 +0300
Refactor, make selecting elements from the model select the corresponding line from the editor as well
#pragma once #include "src/colors.h" class ColorIndexInput : public QWidget { Q_OBJECT const ColorTable* colorTable = nullptr; class Ui_ColorIndexInput& ui; public: ColorIndexInput(QWidget *parent = nullptr); ~ColorIndexInput(); ldraw::Color selectedColor() const; void setSelectedColor(ldraw::Color color); Q_SIGNALS: void colorChanged(ldraw::Color color); private: };