mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
fix layout of NetworkSettingsSheet
This commit is contained in:
parent
1b62f963c9
commit
fe17a804bc
2 changed files with 27 additions and 18 deletions
|
|
@ -31,7 +31,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
import QtQuick 2.0
|
import QtQuick 2.0
|
||||||
import QtQuick.Controls 1.2
|
import org.kde.plasma.components 2.0
|
||||||
|
import QtQuick.Layouts 1.1
|
||||||
import MeeGo.Connman 0.2
|
import MeeGo.Connman 0.2
|
||||||
import "mustache.js" as M
|
import "mustache.js" as M
|
||||||
|
|
||||||
|
|
@ -65,24 +66,32 @@ Item {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
Button {
|
RowLayout {
|
||||||
text: "Reject"
|
anchors {
|
||||||
onClicked: {
|
horizontalCenter: parent.horizontalCenter
|
||||||
userAgent.sendUserReply({});
|
bottom: parent.bottom
|
||||||
scanTimer.running = true;
|
|
||||||
}
|
}
|
||||||
}
|
Button {
|
||||||
|
text: "Reject"
|
||||||
Button {
|
onClicked: {
|
||||||
text: "Accept"
|
userAgent.sendUserReply({});
|
||||||
onClicked: {
|
scanTimer.running = true;
|
||||||
console.log('clicked Done ' + 'x:' + x + ' y:' + y);
|
stackView.pop();
|
||||||
var fields = networkPage.netfields;
|
}
|
||||||
for (var key in fields) {
|
}
|
||||||
console.log(key + " --> " + fields[key]);
|
|
||||||
|
Button {
|
||||||
|
text: "Accept"
|
||||||
|
onClicked: {
|
||||||
|
console.log('clicked Done ' + 'x:' + x + ' y:' + y);
|
||||||
|
var fields = networkPage.netfields;
|
||||||
|
for (var key in fields) {
|
||||||
|
console.log(key + " --> " + fields[key]);
|
||||||
|
}
|
||||||
|
scanTimer.running = true;
|
||||||
|
userAgent.sendUserReply(fields);
|
||||||
|
stackView.pop();
|
||||||
}
|
}
|
||||||
scanTimer.running = true;
|
|
||||||
userAgent.sendUserReply(fields);
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[Desktop Entry]
|
[Desktop Entry]
|
||||||
Name=Wireless
|
Name=Wireless
|
||||||
Comment=Connect to a wireless network
|
Comment=Wireless networks
|
||||||
|
|
||||||
Encoding=UTF-8
|
Encoding=UTF-8
|
||||||
Type=Service
|
Type=Service
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue