Tue, 07 Jun 2022 20:44:19 +0300
Replaced the tab widget with an MDI area
#pragma once #include "document.h" class ColorIndexInput : public QWidget { Q_OBJECT public: ColorIndexInput(EditorTabWidget *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: EditorTabWidget* const document; class Ui_ColorIndexInput& ui; };