diff --git a/src/bitmessagekivy/baseclass/settings.py b/src/bitmessagekivy/baseclass/settings.py new file mode 100644 index 00000000..1ceb35ee --- /dev/null +++ b/src/bitmessagekivy/baseclass/settings.py @@ -0,0 +1,10 @@ +# pylint: disable=unused-argument, no-name-in-module, too-few-public-methods +""" +Settings screen UI +""" + +from kivy.uix.screenmanager import Screen + + +class Setting(Screen): + """Setting Screen for kivy Ui""" diff --git a/src/bitmessagekivy/kv/settings.kv b/src/bitmessagekivy/kv/settings.kv index 609c8e80..87ed963a 100644 --- a/src/bitmessagekivy/kv/settings.kv +++ b/src/bitmessagekivy/kv/settings.kv @@ -5,7 +5,7 @@ tab_display_mode:'text' Tab: - text: app.tr._("User Interface") + title: app.tr._("User Interface") ScrollView: do_scroll_x: False BoxLayout: @@ -220,7 +220,7 @@ text: app.tr._('Apply') # on_press: root.change_language() Tab: - text: 'Network Settings' + title: 'Network Settings' ScrollView: do_scroll_x: False BoxLayout: @@ -464,7 +464,7 @@ MDRaisedButton: text: app.tr._('Apply') Tab: - text: 'Demanded Difficulty' + title: 'Demanded Difficulty' ScrollView: do_scroll_x: False @@ -616,7 +616,7 @@ text: app.tr._('Apply') Tab: - text: 'Max acceptable Difficulty' + title: 'Max acceptable Difficulty' ScrollView: do_scroll_x: False BoxLayout: @@ -710,7 +710,7 @@ MDRaisedButton: text: app.tr._('OK') Tab: - text: 'Resends Expire' + title: 'Resends Expire' ScrollView: do_scroll_x: False BoxLayout: @@ -787,7 +787,7 @@ text: app.tr._('Apply') Tab: - text: 'Namecoin Integration' + title: 'Namecoin Integration' ScrollView: do_scroll_x: False BoxLayout: diff --git a/src/bitmessagekivy/main.kv b/src/bitmessagekivy/main.kv index 4901d943..45b367f0 100644 --- a/src/bitmessagekivy/main.kv +++ b/src/bitmessagekivy/main.kv @@ -222,6 +222,8 @@ MDNavigationLayout: id:id_create NetworkStat: id:id_networkstat + Setting: + id:id_settings MDNavigationDrawer: id: nav_drawer diff --git a/src/bitmessagekivy/screens_data.json b/src/bitmessagekivy/screens_data.json index cfb3c76c..8f7d78ec 100644 --- a/src/bitmessagekivy/screens_data.json +++ b/src/bitmessagekivy/screens_data.json @@ -26,5 +26,10 @@ "kv_string": "network", "name_screen": "networkstat", "Import": "from pybitmessage.bitmessagekivy.baseclass.network import NetworkStat" + }, + "Settings": { + "kv_string": "settings", + "name_screen": "set", + "Import": "from pybitmessage.bitmessagekivy.baseclass.settings import Setting" } }