make unchangable properties readonly
This commit is contained in:
parent
906cf7b939
commit
378db1a9e5
2 changed files with 22 additions and 20 deletions
|
|
@ -46,13 +46,15 @@ PageType {
|
|||
|
||||
QtObject {
|
||||
id: onlyForwardApps
|
||||
property string name: qsTr("Only the apps from the list should have access via VPN")
|
||||
property int type: routeMode.onlyForwardApps
|
||||
|
||||
readonly property string name: qsTr("Only the apps from the list should have access via VPN")
|
||||
readonly property int type: routeMode.onlyForwardApps
|
||||
}
|
||||
QtObject {
|
||||
id: allExceptApps
|
||||
property string name: qsTr("Apps from the list should not have access via VPN")
|
||||
property int type: routeMode.allExceptApps
|
||||
|
||||
readonly property string name: qsTr("Apps from the list should not have access via VPN")
|
||||
readonly property int type: routeMode.allExceptApps
|
||||
}
|
||||
|
||||
function getRouteModesModelIndex() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue