mirror of
https://gitee.com/spark-store-project/spark-store
synced 2025-09-23 19:42:21 +08:00
37 lines
617 B
C++
37 lines
617 B
C++
|
|
#pragma once
|
|
|
|
#include <QScrollArea>
|
|
#include <QVBoxLayout>
|
|
#include "page/spkpagebase.h"
|
|
#include "ui_settings.h"
|
|
|
|
namespace SpkUi
|
|
{
|
|
class SpkPageSettings : public SpkPageBase
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
SpkPageSettings(QWidget *parent = nullptr);
|
|
~SpkPageSettings();
|
|
|
|
void SetupUi();
|
|
void ReadConfiguration();
|
|
void SaveConfiguration();
|
|
|
|
virtual void Activated() override;
|
|
|
|
private slots:
|
|
|
|
private:
|
|
QScrollArea *mMainArea;
|
|
QVBoxLayout *mMainLay;
|
|
QWidget *mSettingsWidget;
|
|
Ui::SpkUiSettings *mSettingsUi;
|
|
|
|
QString mRepoListUrl;
|
|
|
|
};
|
|
}
|