Convert Qt main window setup into Kivy app.
This commit is contained in:
parent
e5dae0520d
commit
ea9de695fd
|
@ -19,6 +19,9 @@ LOG = logging.getLogger(__name__)
|
||||||
|
|
||||||
|
|
||||||
class JustCheckersApp(App):
|
class JustCheckersApp(App):
|
||||||
|
title = 'justCheckers'
|
||||||
|
icon = 'images/icon.png'
|
||||||
|
|
||||||
def on_start(self):
|
def on_start(self):
|
||||||
log_system_and_game_info()
|
log_system_and_game_info()
|
||||||
super(JustCheckersApp, self).on_start()
|
super(JustCheckersApp, self).on_start()
|
||||||
|
|
|
@ -1,5 +1,8 @@
|
||||||
#: import justcheckers justcheckers
|
#: import justcheckers justcheckers
|
||||||
|
|
||||||
|
FloatLayout:
|
||||||
|
Image:
|
||||||
|
source: 'images/backdrop.jpg'
|
||||||
BoxLayout:
|
BoxLayout:
|
||||||
Label:
|
Label:
|
||||||
text: "justCheckers {}".format(justcheckers.__version__)
|
text: "justCheckers {}".format(justcheckers.__version__)
|
||||||
|
|
Loading…
Reference in New Issue