|
|
|
@ -162,12 +162,15 @@ PlasmaComponents.Page { |
|
|
|
PlasmaComponents.QueryDialog { |
|
|
|
PlasmaComponents.QueryDialog { |
|
|
|
id: queryDialog |
|
|
|
id: queryDialog |
|
|
|
//windowFlags: Qt.Popup |
|
|
|
//windowFlags: Qt.Popup |
|
|
|
//visualParent: root |
|
|
|
visualParent: root |
|
|
|
titleText: "Fruit Inquiry" |
|
|
|
titleText: "Fruit Inquiry" |
|
|
|
message: "Would you rather have apples or oranges?" |
|
|
|
message: "Would you rather have apples or oranges?" |
|
|
|
acceptButtonText: i18n("Apples") |
|
|
|
acceptButtonText: "Apples" |
|
|
|
rejectButtonText: i18n("Oranges") |
|
|
|
rejectButtonText: "Oranges" |
|
|
|
onButtonClicked: close() |
|
|
|
onButtonClicked: { |
|
|
|
|
|
|
|
print("hey"); |
|
|
|
|
|
|
|
queryDialog.close(); |
|
|
|
|
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
PlasmaComponents.ButtonRow { |
|
|
|
PlasmaComponents.ButtonRow { |
|
|
|
|