Rework to UIMessageBox

This commit is contained in:
Henrique Santiago
2012-08-12 20:27:41 -03:00
parent 7fb2f6deb5
commit abb6f59568
8 changed files with 99 additions and 142 deletions

View File

@@ -1,35 +0,0 @@
ExitWindow < MainWindow
id: exitWindow
!text: tr('Exit')
size: 570 135
Label
!text: tr("If you shut down the program, your character might stay in the game.\nClick on 'Logout' to ensure that you character leaves the game properly.\nClick on 'Exit' if you want to exit the program without logging out your character.")
text-auto-resize: true
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
margin-top: 2
Button
id: buttonExit
!text: tr('Force Exit')
width: 80
anchors.right: next.left
anchors.bottom: parent.bottom
margin-right: 5
Button
id: buttonLogout
!text: tr('Logout')
width: 80
anchors.horizontalCenter: parent.horizontalCenter
anchors.bottom: parent.bottom
margin-left: 5
Button
id: buttonCancel
!text: tr('Cancel')
width: 80
anchors.left: prev.right
anchors.bottom: parent.bottom
margin-left: 5

View File

@@ -1,27 +0,0 @@
LogoutWindow < MainWindow
id: logoutWindow
!text: tr('Logout')
size: 230 100
Label
!text: tr('Are you sure you want to logout?')
text-auto-resize: true
anchors.horizontalCenter: parent.horizontalCenter
anchors.top: parent.top
margin-top: 2
Button
id: buttonYes
!text: tr('Yes')
width: 64
anchors.right: parent.horizontalCenter
anchors.bottom: parent.bottom
margin-right: 5
Button
id: buttonNo
!text: tr('No')
width: 64
anchors.left: parent.horizontalCenter
anchors.bottom: parent.bottom
margin-left: 5