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):
|
||||
title = 'justCheckers'
|
||||
icon = 'images/icon.png'
|
||||
|
||||
def on_start(self):
|
||||
log_system_and_game_info()
|
||||
super(JustCheckersApp, self).on_start()
|
||||
|
|
|
@ -1,5 +1,8 @@
|
|||
#: import justcheckers justcheckers
|
||||
|
||||
BoxLayout:
|
||||
FloatLayout:
|
||||
Image:
|
||||
source: 'images/backdrop.jpg'
|
||||
BoxLayout:
|
||||
Label:
|
||||
text: "justCheckers {}".format(justcheckers.__version__)
|
||||
|
|
Loading…
Reference in New Issue