mirror of
https://github.com/amnezia-vpn/amnezia-client.git
synced 2026-06-23 02:00:20 +07:00
NewServerSettings qml rework
This commit is contained in:
@@ -5,8 +5,11 @@
|
||||
#include <QQmlEngine>
|
||||
#include <functional>
|
||||
|
||||
#include "property_helper.h"
|
||||
#include "pages.h"
|
||||
#include "protocols/vpnprotocol.h"
|
||||
#include "containers/containers_defs.h"
|
||||
#include "models/all_containers_model.h"
|
||||
|
||||
#include "settings.h"
|
||||
|
||||
@@ -35,6 +38,8 @@ class UiLogic : public QObject
|
||||
{
|
||||
Q_OBJECT
|
||||
|
||||
READONLY_PROPERTY(QObject *, allContainersModel)
|
||||
|
||||
Q_PROPERTY(int currentPageValue READ getCurrentPageValue WRITE setCurrentPageValue NOTIFY currentPageValueChanged)
|
||||
Q_PROPERTY(QString trayIconUrl READ getTrayIconUrl WRITE setTrayIconUrl NOTIFY trayIconUrlChanged)
|
||||
Q_PROPERTY(bool trayActionDisconnectEnabled READ getTrayActionDisconnectEnabled WRITE setTrayActionDisconnectEnabled NOTIFY trayActionDisconnectEnabledChanged)
|
||||
|
||||
Reference in New Issue
Block a user