src/widgets/colorindexinput.h

changeset 214
8e1fe64ce4e3
parent 205
1a4342d80de7
child 258
fe094d0687ad
--- a/src/widgets/colorindexinput.h	Sat Jun 11 15:20:24 2022 +0300
+++ b/src/widgets/colorindexinput.h	Sun Jun 12 20:47:04 2022 +0300
@@ -5,13 +5,13 @@
 {
 	Q_OBJECT
 public:
-	ColorIndexInput(EditorTabWidget *document, ColorIndex color = MAIN_COLOR, QWidget *parent = nullptr);
+	ColorIndexInput(ColorTable *colorTable, 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;
+	ColorTable* const colorTable;
 	class Ui_ColorIndexInput& ui;
 };

mercurial