NewServerSettings qml rework
This commit is contained in:
parent
3175bc1e48
commit
40fa2d6779
34 changed files with 644 additions and 255 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue