| 1 | // For license of this file, see <project-root-folder>/LICENSE.md. |
| 2 | |
| 3 | #ifndef FORMADDEDITLABEL_H |
| 4 | #define FORMADDEDITLABEL_H |
| 5 | |
| 6 | #include "ui_formaddeditlabel.h" |
| 7 | |
| 8 | #include <QDialog> |
| 9 | |
| 10 | namespace Ui { |
| 11 | class FormAddEditLabel; |
| 12 | } |
| 13 | |
| 14 | class Label; |
| 15 | |
| 16 | class RSSGUARD_DLLSPEC FormAddEditLabel : public QDialog { |
| 17 | Q_OBJECT |
| 18 | |
| 19 | public: |
| 20 | explicit FormAddEditLabel(QWidget* parent = nullptr); |
| 21 | |
| 22 | public slots: |
| 23 | Label* execForAdd(); |
| 24 | bool execForEdit(Label* lbl); |
| 25 | |
| 26 | private: |
| 27 | Ui::FormAddEditLabel m_ui; |
| 28 | Label* m_editableLabel; |
| 29 | }; |
| 30 | |
| 31 | #endif // FORMADDEDITLABEL_H |