dropdown list fixes to match design layout

This commit is contained in:
vladimir.kuznetsov 2023-08-16 22:45:05 +05:00
parent e0d6e0117e
commit a8deb3593b
12 changed files with 177 additions and 139 deletions

View file

@ -119,7 +119,7 @@ PageType {
descriptionText: qsTr("Cipher")
headerText: qsTr("Cipher")
listView: ListViewType {
listView: ListViewWithRadioButtonType {
id: cipherListView
rootWidth: root.width

View file

@ -168,7 +168,7 @@ PageType {
descriptionText: qsTr("Hash")
headerText: qsTr("Hash")
listView: ListViewType {
listView: ListViewWithRadioButtonType {
id: hashListView
rootWidth: root.width
@ -214,7 +214,7 @@ PageType {
descriptionText: qsTr("Cipher")
headerText: qsTr("Cipher")
listView: ListViewType {
listView: ListViewWithRadioButtonType {
id: cipherListView
rootWidth: root.width
@ -392,7 +392,7 @@ PageType {
}
}
}
}
}
}
QuestionDrawer {

View file

@ -105,7 +105,7 @@ PageType {
descriptionText: qsTr("Cipher")
headerText: qsTr("Cipher")
listView: ListViewType {
listView: ListViewWithRadioButtonType {
id: cipherListView
rootWidth: root.width

View file

@ -97,6 +97,7 @@ PageType {
clickedFunction: function() {
col.copyToClipBoard(descriptionText)
PageController.showNotificationMessage(qsTr("Copied"))
}
}
@ -113,6 +114,7 @@ PageType {
clickedFunction: function() {
col.copyToClipBoard(descriptionText)
PageController.showNotificationMessage(qsTr("Copied"))
}
}
@ -129,6 +131,7 @@ PageType {
clickedFunction: function() {
col.copyToClipBoard(descriptionText)
PageController.showNotificationMessage(qsTr("Copied"))
}
}
@ -145,6 +148,7 @@ PageType {
clickedFunction: function() {
col.copyToClipBoard(descriptionText)
PageController.showNotificationMessage(qsTr("Copied"))
}
}
@ -194,7 +198,9 @@ PageType {
readonly property string macosFirstLink: "<a href=\"https://osxfuse.github.io/\" style=\"color: #FBB26A;\">macFUSE</a>"
readonly property string macosSecondLink: "<a href=\"https://osxfuse.github.io/\" style=\"color: #FBB26A;\">SSHFS</a>"
onLinkActivated: Qt.openUrlExternally(link)
onLinkActivated: function(link) {
Qt.openUrlExternally(link)
}
textFormat: Text.RichText
text: {
var str = qsTr("In order to mount remote SFTP folder as local drive, perform following steps: <br>")
@ -210,6 +216,8 @@ PageType {
return str
}
}
BasicButtonType {

View file

@ -79,6 +79,7 @@ PageType {
clickedFunction: function() {
content.copyToClipBoard(descriptionText)
PageController.showNotificationMessage(qsTr("Copied"))
}
}

View file

@ -116,7 +116,7 @@ PageType {
headerText: qsTr("Mode")
listView: ListViewType {
listView: ListViewWithRadioButtonType {
rootWidth: root.width
model: root.routeModesModel

View file

@ -166,7 +166,7 @@ PageType {
descriptionText: accessTypeSelector.currentIndex === 0 ? qsTr("Server and service") : qsTr("Server")
headerText: qsTr("Server")
listView: ListViewType {
listView: ListViewWithLabelsType {
rootWidth: root.width
dividerVisible: true
@ -255,9 +255,8 @@ PageType {
wrapMode: Text.WordWrap
}
ListViewType {
ListViewWithRadioButtonType {
rootWidth: root.width
dividerVisible: true
imageSource: "qrc:/images/controls/check.svg"
@ -274,7 +273,7 @@ PageType {
currentIndex: 0
clickedFunction: function () {
clickedFunction: function() {
handler()
protocolSelector.visible = false
@ -338,11 +337,10 @@ PageType {
descriptionText: qsTr("Connection format")
headerText: qsTr("Connection format")
listView: ListViewType {
listView: ListViewWithRadioButtonType {
id: exportTypeListView
rootWidth: root.width
dividerVisible: true
imageSource: "qrc:/images/controls/chevron-right.svg"