| 10 | #include <QPushButton> |
| 11 | |
| 12 | class AddLabelDialog : public QDialog, protected Themable |
| 13 | { |
| 14 | Q_OBJECT |
| 15 | public: |
| 16 | explicit AddLabelDialog(QWidget *parent = nullptr); |
| 17 | YACReader::LabelColors selectedColor(); |
| 18 | QString name(); |
| 19 | signals: |
| 20 | |
| 21 | public slots: |
| 22 | int exec() override; |
| 23 | |
| 24 | protected slots: |
| 25 | void validateName(const QString &name); |
| 26 | |
| 27 | protected: |
| 28 | void applyTheme(const Theme &theme) override; |
| 29 | |
| 30 | QLineEdit *edit; |
| 31 | QListWidget *list; |
| 32 | |
| 33 | QPushButton *acceptButton; |
| 34 | QPushButton *cancelButton; |
| 35 | }; |
| 36 | |
| 37 | #endif // ADD_LABEL_DIALOG_H |
nothing calls this directly
no outgoing calls
no test coverage detected