初始化

This commit is contained in:
2026-05-01 10:51:39 +08:00
commit fe6e4e428a
25 changed files with 5763 additions and 0 deletions
+33
View File
@@ -0,0 +1,33 @@
#ifndef SERVERCONFIGDIALOG_H
#define SERVERCONFIGDIALOG_H
#include <QDialog>
#include <QLineEdit>
#include <QPushButton>
#include <QLabel>
/**
* @brief 服务器配置对话框
*/
class ServerConfigDialog : public QDialog
{
Q_OBJECT
public:
explicit ServerConfigDialog(const QString &currentUrl, QWidget *parent = nullptr);
QString getServerUrl() const;
private slots:
void onTestConnection();
void onSave();
private:
void setupUI();
QLineEdit *m_urlEdit;
QPushButton *m_testButton;
QLabel *m_statusLabel;
QString m_serverUrl;
};
#endif // SERVERCONFIGDIALOG_H