Compare commits
3 commits
dev
...
fix/update
Author | SHA1 | Date | |
---|---|---|---|
![]() |
d74a431e95 | ||
![]() |
691680adef | ||
![]() |
3c2dd5c0bd |
14 changed files with 44 additions and 18 deletions
|
@ -13,7 +13,7 @@ import "../Controls2"
|
||||||
import "../Controls2/TextTypes"
|
import "../Controls2/TextTypes"
|
||||||
|
|
||||||
|
|
||||||
ListView {
|
ListViewType {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
width: parent.width
|
width: parent.width
|
||||||
|
|
|
@ -27,6 +27,5 @@ Flickable {
|
||||||
|
|
||||||
ScrollBar.vertical: ScrollBarType {
|
ScrollBar.vertical: ScrollBarType {
|
||||||
id: scrollBar
|
id: scrollBar
|
||||||
policy: fl.height >= fl.contentHeight ? ScrollBar.AlwaysOff : ScrollBar.AlwaysOn
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -7,5 +7,5 @@ import "../Controls2"
|
||||||
ScrollBar {
|
ScrollBar {
|
||||||
id: root
|
id: root
|
||||||
|
|
||||||
policy: parent.height >= parent.contentHeight ? ScrollBar.AlwaysOff : ScrollBar.AlwaysOn
|
policy: ScrollBar.AsNeeded
|
||||||
}
|
}
|
||||||
|
|
|
@ -101,8 +101,8 @@ PageType {
|
||||||
visible: isLoggingEnabled ? true : false
|
visible: isLoggingEnabled ? true : false
|
||||||
text: qsTr("Logging enabled")
|
text: qsTr("Logging enabled")
|
||||||
|
|
||||||
Keys.onEnterPressed: loggingButton.clicked()
|
Keys.onEnterPressed: this.clicked()
|
||||||
Keys.onReturnPressed: loggingButton.clicked()
|
Keys.onReturnPressed: this.clicked()
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
PageController.goToPage(PageEnum.PageSettingsLogging)
|
PageController.goToPage(PageEnum.PageSettingsLogging)
|
||||||
|
@ -147,8 +147,8 @@ PageType {
|
||||||
leftImageColor: ""
|
leftImageColor: ""
|
||||||
rightImageSource: "qrc:/images/controls/chevron-down.svg"
|
rightImageSource: "qrc:/images/controls/chevron-down.svg"
|
||||||
|
|
||||||
Keys.onEnterPressed: splitTunnelingButton.clicked()
|
Keys.onEnterPressed: this.clicked()
|
||||||
Keys.onReturnPressed: splitTunnelingButton.clicked()
|
Keys.onReturnPressed: this.clicked()
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
homeSplitTunnelingDrawer.openTriggered()
|
homeSplitTunnelingDrawer.openTriggered()
|
||||||
|
@ -276,8 +276,8 @@ PageType {
|
||||||
topPadding: 4
|
topPadding: 4
|
||||||
bottomPadding: 3
|
bottomPadding: 3
|
||||||
|
|
||||||
Keys.onEnterPressed: collapsedButtonChevron.clicked()
|
Keys.onEnterPressed: this.clicked()
|
||||||
Keys.onReturnPressed: collapsedButtonChevron.clicked()
|
Keys.onReturnPressed: this.clicked()
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
if (drawer.isCollapsedStateActive()) {
|
if (drawer.isCollapsedStateActive()) {
|
||||||
|
@ -320,6 +320,9 @@ PageType {
|
||||||
|
|
||||||
rightImageSource: hoverEnabled ? "qrc:/images/controls/chevron-down.svg" : ""
|
rightImageSource: hoverEnabled ? "qrc:/images/controls/chevron-down.svg" : ""
|
||||||
|
|
||||||
|
Keys.onEnterPressed: this.clicked()
|
||||||
|
Keys.onReturnPressed: this.clicked()
|
||||||
|
|
||||||
onClicked: {
|
onClicked: {
|
||||||
ServersModel.processedIndex = ServersModel.defaultIndex
|
ServersModel.processedIndex = ServersModel.defaultIndex
|
||||||
|
|
||||||
|
|
|
@ -158,8 +158,8 @@ PageType {
|
||||||
showQuestionDrawer(headerText, descriptionText, yesButtonText, noButtonText, yesButtonFunction, noButtonFunction)
|
showQuestionDrawer(headerText, descriptionText, yesButtonText, noButtonText, yesButtonFunction, noButtonFunction)
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onEnterPressed: saveButton.clicked()
|
Keys.onEnterPressed: this.clicked()
|
||||||
Keys.onReturnPressed: saveButton.clicked()
|
Keys.onReturnPressed: this.clicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -145,8 +145,8 @@ PageType {
|
||||||
focusItem.forceActiveFocus()
|
focusItem.forceActiveFocus()
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onEnterPressed: basicButton.clicked()
|
Keys.onEnterPressed: this.clicked()
|
||||||
Keys.onReturnPressed: basicButton.clicked()
|
Keys.onReturnPressed: this.clicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -71,6 +71,9 @@ PageType {
|
||||||
onClicked: function() {
|
onClicked: function() {
|
||||||
SettingsController.strictKillSwitchEnabled = false
|
SettingsController.strictKillSwitchEnabled = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onEnterPressed: this.clicked()
|
||||||
|
Keys.onReturnPressed: this.clicked()
|
||||||
}
|
}
|
||||||
|
|
||||||
DividerType {}
|
DividerType {}
|
||||||
|
@ -102,6 +105,9 @@ PageType {
|
||||||
|
|
||||||
showQuestionDrawer(headerText, descriptionText, yesButtonText, noButtonText, yesButtonFunction, noButtonFunction)
|
showQuestionDrawer(headerText, descriptionText, yesButtonText, noButtonText, yesButtonFunction, noButtonFunction)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onEnterPressed: this.clicked()
|
||||||
|
Keys.onReturnPressed: this.clicked()
|
||||||
}
|
}
|
||||||
|
|
||||||
DividerType {
|
DividerType {
|
||||||
|
|
|
@ -64,7 +64,7 @@ PageType {
|
||||||
displayMarginBeginning: 40
|
displayMarginBeginning: 40
|
||||||
displayMarginEnd: 40
|
displayMarginEnd: 40
|
||||||
|
|
||||||
ScrollBar.vertical: ScrollBarType { }
|
ScrollBar.vertical: ScrollBarType {}
|
||||||
|
|
||||||
footer: Item {
|
footer: Item {
|
||||||
width: listView.width
|
width: listView.width
|
||||||
|
|
|
@ -286,8 +286,8 @@ PageType {
|
||||||
moreActionsDrawer.openTriggered()
|
moreActionsDrawer.openTriggered()
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onReturnPressed: addSiteButtonImage.clicked()
|
Keys.onReturnPressed: this.clicked()
|
||||||
Keys.onEnterPressed: addSiteButtonImage.clicked()
|
Keys.onEnterPressed: this.clicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -91,8 +91,8 @@ PageType {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Keys.onEnterPressed: clicked()
|
Keys.onEnterPressed: this.clicked()
|
||||||
Keys.onReturnPressed: clicked()
|
Keys.onReturnPressed: this.clicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -234,6 +234,9 @@ PageType {
|
||||||
leftImageSource: imageSource
|
leftImageSource: imageSource
|
||||||
|
|
||||||
onClicked: { handler() }
|
onClicked: { handler() }
|
||||||
|
|
||||||
|
Keys.onEnterPressed: this.clicked()
|
||||||
|
Keys.onReturnPressed: this.clicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -177,6 +177,9 @@ PageType {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
Qt.openUrlExternally(LanguageModel.getCurrentSiteUrl("starter-guide"))
|
Qt.openUrlExternally(LanguageModel.getCurrentSiteUrl("starter-guide"))
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onEnterPressed: this.clicked()
|
||||||
|
Keys.onReturnPressed: this.clicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -118,6 +118,9 @@ PageType {
|
||||||
containers.containerDefaultPort = ProtocolProps.getPortForInstall(defaultContainerProto)
|
containers.containerDefaultPort = ProtocolProps.getPortForInstall(defaultContainerProto)
|
||||||
containers.containerDefaultTransportProto = ProtocolProps.defaultTransportProto(defaultContainerProto)
|
containers.containerDefaultTransportProto = ProtocolProps.defaultTransportProto(defaultContainerProto)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onEnterPressed: this.clicked()
|
||||||
|
Keys.onReturnPressed: this.clicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -147,6 +150,9 @@ PageType {
|
||||||
onClicked: function() {
|
onClicked: function() {
|
||||||
isEasySetup = false
|
isEasySetup = false
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onEnterPressed: this.clicked()
|
||||||
|
Keys.onReturnPressed: this.clicked()
|
||||||
}
|
}
|
||||||
|
|
||||||
BasicButtonType {
|
BasicButtonType {
|
||||||
|
|
|
@ -256,6 +256,9 @@ PageType {
|
||||||
onClicked: {
|
onClicked: {
|
||||||
accessTypeSelector.currentIndex = 0
|
accessTypeSelector.currentIndex = 0
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onEnterPressed: this.clicked()
|
||||||
|
Keys.onReturnPressed: this.clicked()
|
||||||
}
|
}
|
||||||
|
|
||||||
HorizontalRadioButton {
|
HorizontalRadioButton {
|
||||||
|
@ -272,6 +275,9 @@ PageType {
|
||||||
ServersModel.getProcessedServerCredentials())
|
ServersModel.getProcessedServerCredentials())
|
||||||
PageController.showBusyIndicator(false)
|
PageController.showBusyIndicator(false)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Keys.onEnterPressed: this.clicked()
|
||||||
|
Keys.onReturnPressed: this.clicked()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue