- added a button to scan the server for installed containers - added a check on the presence of installed containers before configuring the server, if the containers are already installed, then we will add them to the GUI - added new control element - PopupWarning.qml
30 lines
766 B
C++
30 lines
766 B
C++
#ifndef ADVANCEDSERVERSETTINGSLOGIC_H
|
|
#define ADVANCEDSERVERSETTINGSLOGIC_H
|
|
|
|
#include "PageLogicBase.h"
|
|
|
|
class UiLogic;
|
|
|
|
class AdvancedServerSettingsLogic : public PageLogicBase
|
|
{
|
|
Q_OBJECT
|
|
|
|
AUTO_PROPERTY(bool, labelWaitInfoVisible)
|
|
AUTO_PROPERTY(QString, labelWaitInfoText)
|
|
|
|
AUTO_PROPERTY(QString, pushButtonClearText)
|
|
AUTO_PROPERTY(bool, pushButtonClearVisible)
|
|
|
|
AUTO_PROPERTY(QString, labelServerText)
|
|
AUTO_PROPERTY(QString, labelCurrentVpnProtocolText)
|
|
|
|
public:
|
|
explicit AdvancedServerSettingsLogic(UiLogic *uiLogic, QObject *parent = nullptr);
|
|
~AdvancedServerSettingsLogic() = default;
|
|
|
|
Q_INVOKABLE void onUpdatePage() override;
|
|
|
|
Q_INVOKABLE void onPushButtonClearServer();
|
|
};
|
|
|
|
#endif // ADVANCEDSERVERSETTINGSLOGIC_H
|