general ui work
This commit is contained in:
@ -5,16 +5,27 @@
|
||||
|
||||
#include <QLineEdit>
|
||||
#include <QRadioButton>
|
||||
#include <QComboBox>
|
||||
#include <QSpinBox>
|
||||
#include <QLabel>
|
||||
|
||||
class KateAiConfigPage : public KTextEditor::ConfigPage
|
||||
{
|
||||
Q_OBJECT
|
||||
private:
|
||||
QLineEdit lineUrl;
|
||||
QLabel systemPromptLabel;
|
||||
QLineEdit lineSystemPrompt;
|
||||
QRadioButton btnCompletion;
|
||||
QRadioButton btnInstruct;
|
||||
QComboBox cmbxServerType;
|
||||
QSpinBox contextSpinBox;
|
||||
KateAiPlugin* m_plugin;
|
||||
|
||||
private:
|
||||
|
||||
void instructBtnToggeled(bool checked);
|
||||
|
||||
public:
|
||||
explicit KateAiConfigPage(QWidget *parent = nullptr, KateAiPlugin *plugin = nullptr);
|
||||
~KateAiConfigPage() override
|
||||
|
Reference in New Issue
Block a user