| 1 #include "colorindexinput.h" |
1 #include "colorindexinput.h" |
| 2 #include "ui_colorindexinput.h" |
2 #include "ui_colorindexinput.h" |
| 3 #include "colorselectdialog.h" |
3 #include "colorselectdialog.h" |
| 4 #include "uiutilities.h" |
4 #include "uiutilities.h" |
| 5 |
5 |
| 6 ColorIndexInput::ColorIndexInput(Document *document, ldraw::Color color, QWidget *parent) : |
6 ColorIndexInput::ColorIndexInput(EditorTabWidget *document, ldraw::Color color, QWidget *parent) : |
| 7 QWidget{parent}, |
7 QWidget{parent}, |
| 8 document{document}, |
8 document{document}, |
| 9 ui{*new Ui_ColorIndexInput} |
9 ui{*new Ui_ColorIndexInput} |
| 10 { |
10 { |
| 11 this->ui.setupUi(this); |
11 this->ui.setupUi(this); |