12 public: |
12 public: |
13 explicit ColorSelectDialog(const ldraw::ColorTable& colorTable, QWidget* parent = nullptr); |
13 explicit ColorSelectDialog(const ldraw::ColorTable& colorTable, QWidget* parent = nullptr); |
14 ~ColorSelectDialog(); |
14 ~ColorSelectDialog(); |
15 void setCurrentColor(ldraw::Color color); |
15 void setCurrentColor(ldraw::Color color); |
16 ldraw::Color currentColor() const; |
16 ldraw::Color currentColor() const; |
17 private slots: |
17 private Q_SLOTS: |
18 void populateColors(); |
18 void populateColors(); |
19 void updateSelectedColorTexts(); |
19 void updateSelectedColorTexts(); |
20 void handleButtonClick(); |
20 void handleButtonClick(); |
21 void spinboxEdited(); |
21 void spinboxEdited(); |
22 void chooseDirectColor(); |
22 void chooseDirectColor(); |