New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[WiFi] implement saved networks #15
Conversation
qml/plugins/wifi/NetworkDelegate.qml
Outdated
height: parent.height | ||
Image{ | ||
id: removeNetworkButton | ||
source: "../../img/trash.svg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use absolute file patch plz
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
qml/plugins/wifi/NetworkDelegate.qml
Outdated
} | ||
|
||
Image{ | ||
source: "../../img/disconnect.svg" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
And here
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
qml/plugins/wifi/NetworkDelegate.qml
Outdated
source: "../../img/disconnect.svg" | ||
visible: (modelData.state == "online" || modelData.state == "ready") | ||
|
||
width: 64 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Use adaptive sizes. This https://github.com/nemomobile/qtquickcontrols-nemo/blob/master/src/controls/theme.cpp#L17 will be help for you. Use Theme.someSize value
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
qml/plugins/wifi/wifi.qml
Outdated
spacing: 10 | ||
|
||
Text{ | ||
text: "Saved" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
qsTr ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
01a996c
to
5f32357
Compare
qml/plugins/wifi/wifi.qml
Outdated
|
||
Text{ | ||
text: qsTr("Saved") | ||
color: "white" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theme.textColor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
qml/plugins/wifi/wifi.qml
Outdated
|
||
Text{ | ||
text: qsTr("Enabled") | ||
color: "white" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theme.textColor
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
d05d19b
to
5b4dc8a
Compare
qml/plugins/wifi/WifiSettings.qml
Outdated
id: passphrase | ||
text: modelData.passphrase | ||
} | ||
|
||
Button { | ||
Button{ | ||
id: connectButton | ||
height: 48 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theme.size ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
qml/plugins/wifi/WifiStatus.qml
Outdated
@@ -109,7 +106,6 @@ Page { | |||
} | |||
} | |||
|
|||
|
|||
Row{ | |||
spacing: 24 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theme.size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
qml/plugins/wifi/wifi.qml
Outdated
width: parent.width-size.dp(40) | ||
height: parent.height-actionColumn.height-size.dp(80) | ||
contentHeight: networks.height+50 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
size.dp(50)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
qml/plugins/wifi/wifi.qml
Outdated
Text{ | ||
text: qsTr("Saved") | ||
color: Theme.textColor | ||
font.pointSize: 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theme.size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
qml/plugins/wifi/wifi.qml
Outdated
} | ||
Column{ | ||
id: networks | ||
spacing: 10 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theme.size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
qml/plugins/wifi/wifi.qml
Outdated
Text{ | ||
text: qsTr("Enabled") | ||
color: Theme.textColor | ||
font.pointSize: 30 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Theme.size
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
fix
2f3b2e6
to
22813d2
Compare
LGTM |
No description provided.