ServerContainersLogic
This commit is contained in:
parent
4c0ff29488
commit
deaeda59d0
26 changed files with 965 additions and 1035 deletions
|
|
@ -18,7 +18,7 @@ class NewServerConfiguringLogic;
|
|||
class ProtocolSettingsLogic;
|
||||
class ServerListLogic;
|
||||
class ServerSettingsLogic;
|
||||
class ServerVpnProtocolsLogic;
|
||||
class ServerContainersLogic;
|
||||
class ShareConnectionLogic;
|
||||
class SitesLogic;
|
||||
class StartPageLogic;
|
||||
|
|
@ -35,9 +35,6 @@ class VpnConnection;
|
|||
class UiLogic : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
Q_PROPERTY(bool frameWireguardSettingsVisible READ getFrameWireguardSettingsVisible WRITE setFrameWireguardSettingsVisible NOTIFY frameWireguardSettingsVisibleChanged)
|
||||
Q_PROPERTY(bool frameWireguardVisible READ getFrameWireguardVisible WRITE setFrameWireguardVisible NOTIFY frameWireguardVisibleChanged)
|
||||
|
||||
|
||||
Q_PROPERTY(int currentPageValue READ getCurrentPageValue WRITE setCurrentPageValue NOTIFY currentPageValueChanged)
|
||||
Q_PROPERTY(QString trayIconUrl READ getTrayIconUrl WRITE setTrayIconUrl NOTIFY trayIconUrlChanged)
|
||||
|
|
@ -45,30 +42,8 @@ class UiLogic : public QObject
|
|||
Q_PROPERTY(bool trayActionConnectEnabled READ getTrayActionConnectEnabled WRITE setTrayActionConnectEnabled NOTIFY trayActionConnectEnabledChanged)
|
||||
|
||||
Q_PROPERTY(bool pushButtonConnectChecked READ getPushButtonConnectChecked WRITE setPushButtonConnectChecked NOTIFY pushButtonConnectCheckedChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoOpenvpnContInstallChecked READ getPushButtonProtoOpenvpnContInstallChecked WRITE setPushButtonProtoOpenvpnContInstallChecked NOTIFY pushButtonProtoOpenvpnContInstallCheckedChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoSsOpenvpnContInstallChecked READ getPushButtonProtoSsOpenvpnContInstallChecked WRITE setPushButtonProtoSsOpenvpnContInstallChecked NOTIFY pushButtonProtoSsOpenvpnContInstallCheckedChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoCloakOpenvpnContInstallChecked READ getPushButtonProtoCloakOpenvpnContInstallChecked WRITE setPushButtonProtoCloakOpenvpnContInstallChecked NOTIFY pushButtonProtoCloakOpenvpnContInstallCheckedChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoWireguardContInstallChecked READ getPushButtonProtoWireguardContInstallChecked WRITE setPushButtonProtoWireguardContInstallChecked NOTIFY pushButtonProtoWireguardContInstallCheckedChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoOpenvpnContInstallEnabled READ getPushButtonProtoOpenvpnContInstallEnabled WRITE setPushButtonProtoOpenvpnContInstallEnabled NOTIFY pushButtonProtoOpenvpnContInstallEnabledChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoSsOpenvpnContInstallEnabled READ getPushButtonProtoSsOpenvpnContInstallEnabled WRITE setPushButtonProtoSsOpenvpnContInstallEnabled NOTIFY pushButtonProtoSsOpenvpnContInstallEnabledChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoCloakOpenvpnContInstallEnabled READ getPushButtonProtoCloakOpenvpnContInstallEnabled WRITE setPushButtonProtoCloakOpenvpnContInstallEnabled NOTIFY pushButtonProtoCloakOpenvpnContInstallEnabledChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoWireguardContInstallEnabled READ getPushButtonProtoWireguardContInstallEnabled WRITE setPushButtonProtoWireguardContInstallEnabled NOTIFY pushButtonProtoWireguardContInstallEnabledChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoOpenvpnContDefaultChecked READ getPushButtonProtoOpenvpnContDefaultChecked WRITE setPushButtonProtoOpenvpnContDefaultChecked NOTIFY pushButtonProtoOpenvpnContDefaultCheckedChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoSsOpenvpnContDefaultChecked READ getPushButtonProtoSsOpenvpnContDefaultChecked WRITE setPushButtonProtoSsOpenvpnContDefaultChecked NOTIFY pushButtonProtoSsOpenvpnContDefaultCheckedChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoCloakOpenvpnContDefaultChecked READ getPushButtonProtoCloakOpenvpnContDefaultChecked WRITE setPushButtonProtoCloakOpenvpnContDefaultChecked NOTIFY pushButtonProtoCloakOpenvpnContDefaultCheckedChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoWireguardContDefaultChecked READ getPushButtonProtoWireguardContDefaultChecked WRITE setPushButtonProtoWireguardContDefaultChecked NOTIFY pushButtonProtoWireguardContDefaultCheckedChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoOpenvpnContDefaultVisible READ getPushButtonProtoOpenvpnContDefaultVisible WRITE setPushButtonProtoOpenvpnContDefaultVisible NOTIFY pushButtonProtoOpenvpnContDefaultVisibleChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoSsOpenvpnContDefaultVisible READ getPushButtonProtoSsOpenvpnContDefaultVisible WRITE setPushButtonProtoSsOpenvpnContDefaultVisible NOTIFY pushButtonProtoSsOpenvpnContDefaultVisibleChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoCloakOpenvpnContDefaultVisible READ getPushButtonProtoCloakOpenvpnContDefaultVisible WRITE setPushButtonProtoCloakOpenvpnContDefaultVisible NOTIFY pushButtonProtoCloakOpenvpnContDefaultVisibleChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoWireguardContDefaultVisible READ getPushButtonProtoWireguardContDefaultVisible WRITE setPushButtonProtoWireguardContDefaultVisible NOTIFY pushButtonProtoWireguardContDefaultVisibleChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoOpenvpnContShareVisible READ getPushButtonProtoOpenvpnContShareVisible WRITE setPushButtonProtoOpenvpnContShareVisible NOTIFY pushButtonProtoOpenvpnContShareVisibleChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoSsOpenvpnContShareVisible READ getPushButtonProtoSsOpenvpnContShareVisible WRITE setPushButtonProtoSsOpenvpnContShareVisible NOTIFY pushButtonProtoSsOpenvpnContShareVisibleChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoCloakOpenvpnContShareVisible READ getPushButtonProtoCloakOpenvpnContShareVisible WRITE setPushButtonProtoCloakOpenvpnContShareVisible NOTIFY pushButtonProtoCloakOpenvpnContShareVisibleChanged)
|
||||
Q_PROPERTY(bool pushButtonProtoWireguardContShareVisible READ getPushButtonProtoWireguardContShareVisible WRITE setPushButtonProtoWireguardContShareVisible NOTIFY pushButtonProtoWireguardContShareVisibleChanged)
|
||||
Q_PROPERTY(bool frameOpenvpnSettingsVisible READ getFrameOpenvpnSettingsVisible WRITE setFrameOpenvpnSettingsVisible NOTIFY frameOpenvpnSettingsVisibleChanged)
|
||||
Q_PROPERTY(bool frameOpenvpnSsSettingsVisible READ getFrameOpenvpnSsSettingsVisible WRITE setFrameOpenvpnSsSettingsVisible NOTIFY frameOpenvpnSsSettingsVisibleChanged)
|
||||
Q_PROPERTY(bool frameOpenvpnSsCloakSettingsVisible READ getFrameOpenvpnSsCloakSettingsVisible WRITE setFrameOpenvpnSsCloakSettingsVisible NOTIFY frameOpenvpnSsCloakSettingsVisibleChanged)
|
||||
Q_PROPERTY(bool progressBarProtocolsContainerReinstallVisible READ getProgressBarProtocolsContainerReinstallVisible WRITE setProgressBarProtocolsContainerReinstallVisible NOTIFY progressBarProtocolsContainerReinstallVisibleChanged)
|
||||
|
||||
|
||||
Q_PROPERTY(QString labelSpeedReceivedText READ getLabelSpeedReceivedText WRITE setLabelSpeedReceivedText NOTIFY labelSpeedReceivedTextChanged)
|
||||
Q_PROPERTY(QString labelSpeedSentText READ getLabelSpeedSentText WRITE setLabelSpeedSentText NOTIFY labelSpeedSentTextChanged)
|
||||
Q_PROPERTY(QString labelStateText READ getLabelStateText WRITE setLabelStateText NOTIFY labelStateTextChanged)
|
||||
|
|
@ -76,9 +51,6 @@ class UiLogic : public QObject
|
|||
Q_PROPERTY(bool widgetVpnModeEnabled READ getWidgetVpnModeEnabled WRITE setWidgetVpnModeEnabled NOTIFY widgetVpnModeEnabledChanged)
|
||||
Q_PROPERTY(QString labelErrorText READ getLabelErrorText WRITE setLabelErrorText NOTIFY labelErrorTextChanged)
|
||||
Q_PROPERTY(QString dialogConnectErrorText READ getDialogConnectErrorText WRITE setDialogConnectErrorText NOTIFY dialogConnectErrorTextChanged)
|
||||
Q_PROPERTY(bool pageServerProtocolsEnabled READ getPageServerProtocolsEnabled WRITE setPageServerProtocolsEnabled NOTIFY pageServerProtocolsEnabledChanged)
|
||||
Q_PROPERTY(int progressBarProtocolsContainerReinstallValue READ getProgressBarProtocolsContainerReinstallValue WRITE setProgressBarProtocolsContainerReinstallValue NOTIFY progressBarProtocolsContainerReinstallValueChanged)
|
||||
Q_PROPERTY(int progressBarProtocolsContainerReinstallMaximium READ getProgressBarProtocolsContainerReinstallMaximium WRITE setProgressBarProtocolsContainerReinstallMaximium NOTIFY progressBarProtocolsContainerReinstallMaximiumChanged)
|
||||
|
||||
|
||||
Q_PROPERTY(bool pushButtonVpnAddSiteEnabled READ getPushButtonVpnAddSiteEnabled WRITE setPushButtonVpnAddSiteEnabled NOTIFY pushButtonVpnAddSiteEnabledChanged)
|
||||
|
|
@ -100,7 +72,7 @@ public:
|
|||
friend class ProtocolSettingsLogic;
|
||||
friend class ServerListLogic;
|
||||
friend class ServerSettingsLogic;
|
||||
friend class ServerVpnProtocolsLogic;
|
||||
friend class ServerContainersLogic;
|
||||
friend class ShareConnectionLogic;
|
||||
friend class SitesLogic;
|
||||
friend class StartPageLogic;
|
||||
|
|
@ -114,15 +86,6 @@ public:
|
|||
Q_INVOKABLE void initalizeUiLogic();
|
||||
|
||||
|
||||
bool getFrameWireguardSettingsVisible() const;
|
||||
void setFrameWireguardSettingsVisible(bool frameWireguardSettingsVisible);
|
||||
bool getFrameWireguardVisible() const;
|
||||
void setFrameWireguardVisible(bool frameWireguardVisible);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
int getCurrentPageValue() const;
|
||||
void setCurrentPageValue(int currentPageValue);
|
||||
QString getTrayIconUrl() const;
|
||||
|
|
@ -140,54 +103,8 @@ public:
|
|||
void setPushButtonConnectChecked(bool pushButtonConnectChecked);
|
||||
|
||||
|
||||
bool getPushButtonProtoOpenvpnContInstallChecked() const;
|
||||
void setPushButtonProtoOpenvpnContInstallChecked(bool pushButtonProtoOpenvpnContInstallChecked);
|
||||
bool getPushButtonProtoSsOpenvpnContInstallChecked() const;
|
||||
void setPushButtonProtoSsOpenvpnContInstallChecked(bool pushButtonProtoSsOpenvpnContInstallChecked);
|
||||
bool getPushButtonProtoCloakOpenvpnContInstallChecked() const;
|
||||
void setPushButtonProtoCloakOpenvpnContInstallChecked(bool pushButtonProtoCloakOpenvpnContInstallChecked);
|
||||
bool getPushButtonProtoWireguardContInstallChecked() const;
|
||||
void setPushButtonProtoWireguardContInstallChecked(bool pushButtonProtoWireguardContInstallChecked);
|
||||
bool getPushButtonProtoOpenvpnContInstallEnabled() const;
|
||||
void setPushButtonProtoOpenvpnContInstallEnabled(bool pushButtonProtoOpenvpnContInstallEnabled);
|
||||
bool getPushButtonProtoSsOpenvpnContInstallEnabled() const;
|
||||
void setPushButtonProtoSsOpenvpnContInstallEnabled(bool pushButtonProtoSsOpenvpnContInstallEnabled);
|
||||
bool getPushButtonProtoCloakOpenvpnContInstallEnabled() const;
|
||||
void setPushButtonProtoCloakOpenvpnContInstallEnabled(bool pushButtonProtoCloakOpenvpnContInstallEnabled);
|
||||
bool getPushButtonProtoWireguardContInstallEnabled() const;
|
||||
void setPushButtonProtoWireguardContInstallEnabled(bool pushButtonProtoWireguardContInstallEnabled);
|
||||
bool getPushButtonProtoOpenvpnContDefaultChecked() const;
|
||||
void setPushButtonProtoOpenvpnContDefaultChecked(bool pushButtonProtoOpenvpnContDefaultChecked);
|
||||
bool getPushButtonProtoSsOpenvpnContDefaultChecked() const;
|
||||
void setPushButtonProtoSsOpenvpnContDefaultChecked(bool pushButtonProtoSsOpenvpnContDefaultChecked);
|
||||
bool getPushButtonProtoCloakOpenvpnContDefaultChecked() const;
|
||||
void setPushButtonProtoCloakOpenvpnContDefaultChecked(bool pushButtonProtoCloakOpenvpnContDefaultChecked);
|
||||
bool getPushButtonProtoWireguardContDefaultChecked() const;
|
||||
void setPushButtonProtoWireguardContDefaultChecked(bool pushButtonProtoWireguardContDefaultChecked);
|
||||
bool getPushButtonProtoOpenvpnContDefaultVisible() const;
|
||||
void setPushButtonProtoOpenvpnContDefaultVisible(bool pushButtonProtoOpenvpnContDefaultVisible);
|
||||
bool getPushButtonProtoSsOpenvpnContDefaultVisible() const;
|
||||
void setPushButtonProtoSsOpenvpnContDefaultVisible(bool pushButtonProtoSsOpenvpnContDefaultVisible);
|
||||
bool getPushButtonProtoCloakOpenvpnContDefaultVisible() const;
|
||||
void setPushButtonProtoCloakOpenvpnContDefaultVisible(bool pushButtonProtoCloakOpenvpnContDefaultVisible);
|
||||
bool getPushButtonProtoWireguardContDefaultVisible() const;
|
||||
void setPushButtonProtoWireguardContDefaultVisible(bool pushButtonProtoWireguardContDefaultVisible);
|
||||
bool getPushButtonProtoOpenvpnContShareVisible() const;
|
||||
void setPushButtonProtoOpenvpnContShareVisible(bool pushButtonProtoOpenvpnContShareVisible);
|
||||
bool getPushButtonProtoSsOpenvpnContShareVisible() const;
|
||||
void setPushButtonProtoSsOpenvpnContShareVisible(bool pushButtonProtoSsOpenvpnContShareVisible);
|
||||
bool getPushButtonProtoCloakOpenvpnContShareVisible() const;
|
||||
void setPushButtonProtoCloakOpenvpnContShareVisible(bool pushButtonProtoCloakOpenvpnContShareVisible);
|
||||
bool getPushButtonProtoWireguardContShareVisible() const;
|
||||
void setPushButtonProtoWireguardContShareVisible(bool pushButtonProtoWireguardContShareVisible);
|
||||
bool getFrameOpenvpnSettingsVisible() const;
|
||||
void setFrameOpenvpnSettingsVisible(bool frameOpenvpnSettingsVisible);
|
||||
bool getFrameOpenvpnSsSettingsVisible() const;
|
||||
void setFrameOpenvpnSsSettingsVisible(bool frameOpenvpnSsSettingsVisible);
|
||||
bool getFrameOpenvpnSsCloakSettingsVisible() const;
|
||||
void setFrameOpenvpnSsCloakSettingsVisible(bool frameOpenvpnSsCloakSettingsVisible);
|
||||
bool getProgressBarProtocolsContainerReinstallVisible() const;
|
||||
void setProgressBarProtocolsContainerReinstallVisible(bool progressBarProtocolsContainerReinstallVisible);
|
||||
|
||||
|
||||
QString getLabelSpeedReceivedText() const;
|
||||
void setLabelSpeedReceivedText(const QString &labelSpeedReceivedText);
|
||||
QString getLabelSpeedSentText() const;
|
||||
|
|
@ -208,12 +125,7 @@ public:
|
|||
|
||||
|
||||
|
||||
bool getPageServerProtocolsEnabled() const;
|
||||
void setPageServerProtocolsEnabled(bool pageServerProtocolsEnabled);
|
||||
int getProgressBarProtocolsContainerReinstallValue() const;
|
||||
void setProgressBarProtocolsContainerReinstallValue(int progressBarProtocolsContainerReinstallValue);
|
||||
int getProgressBarProtocolsContainerReinstallMaximium() const;
|
||||
void setProgressBarProtocolsContainerReinstallMaximium(int progressBarProtocolsContainerReinstallMaximium);
|
||||
|
||||
|
||||
|
||||
bool getRadioButtonVpnModeAllSitesChecked() const;
|
||||
|
|
@ -237,20 +149,9 @@ public:
|
|||
Q_INVOKABLE void onPushButtonProtoSsOpenvpnContOpenvpnConfigClicked();
|
||||
Q_INVOKABLE void onPushButtonProtoSsOpenvpnContSsConfigClicked();
|
||||
|
||||
Q_INVOKABLE void onPushButtonProtoCloakOpenvpnContOpenvpnConfigClicked();
|
||||
Q_INVOKABLE void onPushButtonProtoCloakOpenvpnContSsConfigClicked();
|
||||
Q_INVOKABLE void onPushButtonProtoCloakOpenvpnContCloakConfigClicked();
|
||||
|
||||
|
||||
Q_INVOKABLE void onCloseWindow();
|
||||
|
||||
Q_INVOKABLE void updateProtocolsPage();
|
||||
|
||||
signals:
|
||||
void frameWireguardSettingsVisibleChanged();
|
||||
void frameWireguardVisibleChanged();
|
||||
|
||||
|
||||
|
||||
void radioButtonVpnModeAllSitesCheckedChanged();
|
||||
void radioButtonVpnModeForwardSitesCheckedChanged();
|
||||
|
|
@ -274,30 +175,8 @@ signals:
|
|||
void pushButtonConnectCheckedChanged();
|
||||
|
||||
|
||||
void pushButtonProtoOpenvpnContInstallCheckedChanged();
|
||||
void pushButtonProtoSsOpenvpnContInstallCheckedChanged();
|
||||
void pushButtonProtoCloakOpenvpnContInstallCheckedChanged();
|
||||
void pushButtonProtoWireguardContInstallCheckedChanged();
|
||||
void pushButtonProtoOpenvpnContInstallEnabledChanged();
|
||||
void pushButtonProtoSsOpenvpnContInstallEnabledChanged();
|
||||
void pushButtonProtoCloakOpenvpnContInstallEnabledChanged();
|
||||
void pushButtonProtoWireguardContInstallEnabledChanged();
|
||||
void pushButtonProtoOpenvpnContDefaultCheckedChanged();
|
||||
void pushButtonProtoSsOpenvpnContDefaultCheckedChanged();
|
||||
void pushButtonProtoCloakOpenvpnContDefaultCheckedChanged();
|
||||
void pushButtonProtoWireguardContDefaultCheckedChanged();
|
||||
void pushButtonProtoOpenvpnContDefaultVisibleChanged();
|
||||
void pushButtonProtoSsOpenvpnContDefaultVisibleChanged();
|
||||
void pushButtonProtoCloakOpenvpnContDefaultVisibleChanged();
|
||||
void pushButtonProtoWireguardContDefaultVisibleChanged();
|
||||
void pushButtonProtoOpenvpnContShareVisibleChanged();
|
||||
void pushButtonProtoSsOpenvpnContShareVisibleChanged();
|
||||
void pushButtonProtoCloakOpenvpnContShareVisibleChanged();
|
||||
void pushButtonProtoWireguardContShareVisibleChanged();
|
||||
void frameOpenvpnSettingsVisibleChanged();
|
||||
void frameOpenvpnSsSettingsVisibleChanged();
|
||||
void frameOpenvpnSsCloakSettingsVisibleChanged();
|
||||
void progressBarProtocolsContainerReinstallVisibleChanged();
|
||||
|
||||
|
||||
void labelSpeedReceivedTextChanged();
|
||||
void labelSpeedSentTextChanged();
|
||||
void labelStateTextChanged();
|
||||
|
|
@ -308,13 +187,6 @@ signals:
|
|||
void dialogConnectErrorTextChanged();
|
||||
|
||||
|
||||
void pageServerProtocolsEnabledChanged();
|
||||
void progressBarProtocolsContainerReinstallValueChanged();
|
||||
void progressBarProtocolsContainerReinstallMaximiumChanged();
|
||||
|
||||
|
||||
|
||||
|
||||
void goToPage(int page, bool reset = true, bool slide = true);
|
||||
void closePage();
|
||||
void setStartPage(int page, bool slide = true);
|
||||
|
|
@ -322,25 +194,8 @@ signals:
|
|||
void showConnectErrorDialog();
|
||||
void show();
|
||||
void hide();
|
||||
void pushButtonProtoOpenvpnContDefaultClicked(bool checked);
|
||||
void pushButtonProtoSsOpenvpnContDefaultClicked(bool checked);
|
||||
void pushButtonProtoCloakOpenvpnContDefaultClicked(bool checked);
|
||||
void pushButtonProtoWireguardContDefaultClicked(bool checked);
|
||||
void pushButtonProtoOpenvpnContInstallClicked(bool checked);
|
||||
void pushButtonProtoSsOpenvpnContInstallClicked(bool checked);
|
||||
void pushButtonProtoCloakOpenvpnContInstallClicked(bool checked);
|
||||
void pushButtonProtoWireguardContInstallClicked(bool checked);
|
||||
void pushButtonProtoOpenvpnContShareClicked(bool checked);
|
||||
void pushButtonProtoSsOpenvpnContShareClicked(bool checked);
|
||||
void pushButtonProtoCloakOpenvpnContShareClicked(bool checked);
|
||||
void pushButtonProtoWireguardContShareClicked(bool checked);
|
||||
|
||||
private:
|
||||
bool m_frameWireguardSettingsVisible;
|
||||
bool m_frameWireguardVisible;
|
||||
|
||||
|
||||
|
||||
|
||||
bool m_radioButtonVpnModeAllSitesChecked;
|
||||
bool m_radioButtonVpnModeForwardSitesChecked;
|
||||
|
|
@ -364,30 +219,8 @@ private:
|
|||
|
||||
|
||||
|
||||
bool m_pushButtonProtoOpenvpnContInstallChecked;
|
||||
bool m_pushButtonProtoSsOpenvpnContInstallChecked;
|
||||
bool m_pushButtonProtoCloakOpenvpnContInstallChecked;
|
||||
bool m_pushButtonProtoWireguardContInstallChecked;
|
||||
bool m_pushButtonProtoOpenvpnContInstallEnabled;
|
||||
bool m_pushButtonProtoSsOpenvpnContInstallEnabled;
|
||||
bool m_pushButtonProtoCloakOpenvpnContInstallEnabled;
|
||||
bool m_pushButtonProtoWireguardContInstallEnabled;
|
||||
bool m_pushButtonProtoOpenvpnContDefaultChecked;
|
||||
bool m_pushButtonProtoSsOpenvpnContDefaultChecked;
|
||||
bool m_pushButtonProtoCloakOpenvpnContDefaultChecked;
|
||||
bool m_pushButtonProtoWireguardContDefaultChecked;
|
||||
bool m_pushButtonProtoOpenvpnContDefaultVisible;
|
||||
bool m_pushButtonProtoSsOpenvpnContDefaultVisible;
|
||||
bool m_pushButtonProtoCloakOpenvpnContDefaultVisible;
|
||||
bool m_pushButtonProtoWireguardContDefaultVisible;
|
||||
bool m_pushButtonProtoOpenvpnContShareVisible;
|
||||
bool m_pushButtonProtoSsOpenvpnContShareVisible;
|
||||
bool m_pushButtonProtoCloakOpenvpnContShareVisible;
|
||||
bool m_pushButtonProtoWireguardContShareVisible;
|
||||
bool m_frameOpenvpnSettingsVisible;
|
||||
bool m_frameOpenvpnSsSettingsVisible;
|
||||
bool m_frameOpenvpnSsCloakSettingsVisible;
|
||||
bool m_progressBarProtocolsContainerReinstallVisible;
|
||||
|
||||
|
||||
QString m_labelSpeedReceivedText;
|
||||
QString m_labelSpeedSentText;
|
||||
QString m_labelStateText;
|
||||
|
|
@ -396,13 +229,6 @@ private:
|
|||
QString m_labelErrorText;
|
||||
QString m_dialogConnectErrorText;
|
||||
|
||||
|
||||
bool m_pageServerProtocolsEnabled;
|
||||
int m_progressBarProtocolsContainerReinstallValue;
|
||||
int m_progressBarProtocolsContainerReinstallMaximium;
|
||||
|
||||
|
||||
|
||||
private slots:
|
||||
void onBytesChanged(quint64 receivedBytes, quint64 sentBytes);
|
||||
void onConnectionStateChanged(VpnProtocol::ConnectionState state);
|
||||
|
|
@ -452,14 +278,6 @@ private:
|
|||
void setupTray();
|
||||
void setTrayIcon(const QString &iconPath);
|
||||
|
||||
void setupNewServerConnections();
|
||||
// void setupSitesPageConnections();
|
||||
void setupProtocolsPageConnections();
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
public:
|
||||
AppSettingsLogic *appSettingsLogic() { return m_appSettingsLogic; }
|
||||
|
|
@ -470,7 +288,7 @@ public:
|
|||
ProtocolSettingsLogic *protocolSettingsLogic() { return m_protocolSettingsLogic; }
|
||||
ServerListLogic *serverListLogic() { return m_serverListLogic; }
|
||||
ServerSettingsLogic *serverSettingsLogic() { return m_serverSettingsLogic; }
|
||||
ServerVpnProtocolsLogic *serverVpnProtocolsLogic() { return m_serverVpnProtocolsLogic; }
|
||||
ServerContainersLogic *serverVpnProtocolsLogic() { return m_serverVpnProtocolsLogic; }
|
||||
ShareConnectionLogic *shareConnectionLogic() { return m_shareConnectionLogic; }
|
||||
SitesLogic *sitesLogic() { return m_sitesLogic; }
|
||||
StartPageLogic *startPageLogic() { return m_startPageLogic; }
|
||||
|
|
@ -490,7 +308,7 @@ private:
|
|||
ProtocolSettingsLogic *m_protocolSettingsLogic;
|
||||
ServerListLogic *m_serverListLogic;
|
||||
ServerSettingsLogic *m_serverSettingsLogic;
|
||||
ServerVpnProtocolsLogic *m_serverVpnProtocolsLogic;
|
||||
ServerContainersLogic *m_serverVpnProtocolsLogic;
|
||||
ShareConnectionLogic *m_shareConnectionLogic;
|
||||
SitesLogic *m_sitesLogic;
|
||||
StartPageLogic *m_startPageLogic;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue