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.Controls 1.2
|
||||
import org.kde.plasma.components 2.0
|
||||
import QtQuick.Layouts 1.1
|
||||
import MeeGo.Connman 0.2
|
||||
import "mustache.js" as M
|
||||
|
||||
|
|
@ -65,24 +66,32 @@ Item {
|
|||
}
|
||||
}
|
||||
|
||||
Button {
|
||||
text: "Reject"
|
||||
onClicked: {
|
||||
userAgent.sendUserReply({});
|
||||
scanTimer.running = true;
|
||||
RowLayout {
|
||||
anchors {
|
||||
horizontalCenter: parent.horizontalCenter
|
||||
bottom: parent.bottom
|
||||
}
|
||||
}
|
||||
|
||||
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]);
|
||||
Button {
|
||||
text: "Reject"
|
||||
onClicked: {
|
||||
userAgent.sendUserReply({});
|
||||
scanTimer.running = true;
|
||||
stackView.pop();
|
||||
}
|
||||
}
|
||||
|
||||
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]
|
||||
Name=Wireless
|
||||
Comment=Connect to a wireless network
|
||||
Comment=Wireless networks
|
||||
|
||||
Encoding=UTF-8
|
||||
Type=Service
|
||||
|
|
|
|||
Loading…
Reference in a new issue