| 16 | namespace QodeAssist { |
| 17 | |
| 18 | class AddCustomInstructionDialog : public QDialog |
| 19 | { |
| 20 | Q_OBJECT |
| 21 | |
| 22 | public: |
| 23 | explicit AddCustomInstructionDialog(QWidget *parent = nullptr); |
| 24 | explicit AddCustomInstructionDialog(const CustomInstruction &instruction, QWidget *parent = nullptr); |
| 25 | ~AddCustomInstructionDialog() override = default; |
| 26 | |
| 27 | CustomInstruction getInstruction() const; |
| 28 | |
| 29 | private: |
| 30 | void setupUi(); |
| 31 | |
| 32 | QLineEdit *m_nameEdit; |
| 33 | QPlainTextEdit *m_bodyEdit; |
| 34 | QCheckBox *m_defaultCheckBox; |
| 35 | CustomInstruction m_instruction; |
| 36 | }; |
| 37 | |
| 38 | } // namespace QodeAssist |
| 39 |
nothing calls this directly
no outgoing calls
no test coverage detected