qml: move label outside of server/proxy config component
This commit is contained in:
@@ -38,10 +38,6 @@ Item {
|
||||
width: parent.width
|
||||
spacing: constants.paddingLarge
|
||||
|
||||
Label {
|
||||
text: qsTr('Proxy settings')
|
||||
}
|
||||
|
||||
CheckBox {
|
||||
id: proxy_enabled_cb
|
||||
text: qsTr('Enable Proxy')
|
||||
@@ -60,7 +56,7 @@ Item {
|
||||
}
|
||||
|
||||
GridLayout {
|
||||
columns: 4
|
||||
columns: 2
|
||||
Layout.fillWidth: true
|
||||
|
||||
Label {
|
||||
|
||||
@@ -14,10 +14,6 @@ Item {
|
||||
width: parent.width
|
||||
spacing: constants.paddingLarge
|
||||
|
||||
Label {
|
||||
text: qsTr('Server settings')
|
||||
}
|
||||
|
||||
CheckBox {
|
||||
id: auto_server_cb
|
||||
text: qsTr('Select server automatically')
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
import QtQuick 2.6
|
||||
import QtQuick.Layouts 1.0
|
||||
import QtQuick.Controls 2.1
|
||||
|
||||
import "../controls"
|
||||
|
||||
WizardComponent {
|
||||
@@ -7,8 +11,17 @@ WizardComponent {
|
||||
wizard_data['proxy'] = pc.toProxyDict()
|
||||
}
|
||||
|
||||
ProxyConfig {
|
||||
id: pc
|
||||
ColumnLayout {
|
||||
width: parent.width
|
||||
spacing: constants.paddingLarge
|
||||
|
||||
Label {
|
||||
text: qsTr('Proxy settings')
|
||||
}
|
||||
|
||||
ProxyConfig {
|
||||
id: pc
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,3 +1,7 @@
|
||||
import QtQuick 2.6
|
||||
import QtQuick.Layouts 1.0
|
||||
import QtQuick.Controls 2.1
|
||||
|
||||
import "../controls"
|
||||
|
||||
WizardComponent {
|
||||
@@ -9,8 +13,17 @@ WizardComponent {
|
||||
wizard_data['server'] = sc.address
|
||||
}
|
||||
|
||||
ServerConfig {
|
||||
id: sc
|
||||
ColumnLayout {
|
||||
width: parent.width
|
||||
spacing: constants.paddingLarge
|
||||
|
||||
Label {
|
||||
text: qsTr('Server settings')
|
||||
}
|
||||
|
||||
ServerConfig {
|
||||
id: sc
|
||||
width: parent.width
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user