MCPcopy Create free account
hub / github.com/Palm1r/QodeAssist / AddCustomInstructionDialog

Class AddCustomInstructionDialog

widgets/AddCustomInstructionDialog.hpp:18–36  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

16namespace QodeAssist {
17
18class AddCustomInstructionDialog : public QDialog
19{
20 Q_OBJECT
21
22public:
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
29private:
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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected