39 lines
781 B
C++
39 lines
781 B
C++
#ifndef SYSTEMSETTINGFORM_H
|
|
#define SYSTEMSETTINGFORM_H
|
|
|
|
#include <QWidget>
|
|
|
|
namespace Ui
|
|
{
|
|
class SystemSettingForm;
|
|
}
|
|
|
|
class SystemSettingForm : public QWidget
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit SystemSettingForm(QWidget* aParent = nullptr);
|
|
~SystemSettingForm();
|
|
|
|
signals:
|
|
void pacsSettingsSaved(const QString& aClientAETitle, const QString& aServerAETitle, const QString& aServerIP, int aServerPort);
|
|
|
|
private slots:
|
|
void processPacsSettingsResponsed(bool aResult, const QVariant& aMessage);
|
|
|
|
private:
|
|
void updateStorageSize();
|
|
void updateStorageUsed();
|
|
|
|
Ui::SystemSettingForm* mUI;
|
|
QThread* mDiskInfoCaller;
|
|
|
|
double mDiskSize;
|
|
double mDiskUsedSize;
|
|
bool mDiskSizeFlag;
|
|
bool mDiskUsedSizeFlag;
|
|
};
|
|
|
|
#endif // SYSTEMSETTINGFORM_H
|