mirror of
https://github.com/edubart/otclient.git
synced 2025-10-14 11:34:54 +02:00
remake ui event system and reimplement line edit
This commit is contained in:
@@ -41,6 +41,7 @@ MainWindow
|
||||
anchors.bottom: parent.bottom
|
||||
margin.bottom: 9
|
||||
margin.right: 9
|
||||
onClick: displayErrorBox("Error", "Not implemented yet")
|
||||
|
||||
HorizontalSeparator
|
||||
anchors.left: parent.left
|
||||
|
@@ -1,47 +0,0 @@
|
||||
Panel
|
||||
skin: mainMenuBackground
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
anchors.top: parent.top
|
||||
anchors.bottom: parent.bottom
|
||||
|
||||
Panel
|
||||
id: mainMenu
|
||||
skin: roundedGridPanel
|
||||
size: 144 162
|
||||
anchors.left: parent.left
|
||||
anchors.bottom: parent.bottom
|
||||
margin.left: 60
|
||||
margin.bottom: 70
|
||||
|
||||
Button
|
||||
id: enterGameButton
|
||||
text: Enter Game
|
||||
anchors.top: parent.top
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
margin.top: 18
|
||||
onClick: rootWidget:addChild(loadUI("entergamewindow"))
|
||||
|
||||
Button
|
||||
id: optionsButton
|
||||
text: Options
|
||||
anchors.top: prev.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
margin.top: 10
|
||||
onClick: rootWidget:addChild(loadUI("optionswindow"))
|
||||
|
||||
Button
|
||||
id: infoButton
|
||||
text: Info
|
||||
anchors.top: prev.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
margin.top: 10
|
||||
onClick: rootWidget:addChild(loadUI("infowindow"))
|
||||
|
||||
Button
|
||||
id: exitGameButton
|
||||
text: Exit
|
||||
anchors.top: prev.bottom
|
||||
anchors.horizontalCenter: parent.horizontalCenter
|
||||
margin.top: 10
|
||||
onClick: exit()
|
@@ -28,6 +28,7 @@ MainWindow
|
||||
anchors.top: parent.top
|
||||
margin.left: 18
|
||||
margin.top: 65
|
||||
onClick: displayErrorBox("Error", "Not implemented yet")
|
||||
|
||||
Label
|
||||
text: |-
|
||||
@@ -45,6 +46,7 @@ MainWindow
|
||||
anchors.top: parent.top
|
||||
margin.left: 18
|
||||
margin.top: 98
|
||||
onClick: displayErrorBox("Error", "Not implemented yet")
|
||||
|
||||
Label
|
||||
text: Customise the console
|
||||
@@ -60,6 +62,7 @@ MainWindow
|
||||
anchors.top: parent.top
|
||||
margin.left: 18
|
||||
margin.top: 131
|
||||
onClick: displayErrorBox("Error", "Not implemented yet")
|
||||
|
||||
Label
|
||||
text: Edit your hotkey texts
|
||||
@@ -83,6 +86,7 @@ MainWindow
|
||||
anchors.bottom: parent.bottom
|
||||
margin.left: 18
|
||||
margin.bottom: 60
|
||||
onClick: displayErrorBox("Error", "Not implemented yet")
|
||||
|
||||
Label
|
||||
text: |
|
||||
|
Reference in New Issue
Block a user