redesigned using MVC pattern
[meabook] / ui / ui.py
1 """
2 General Meabook UI
3 """
4
5 class MeabookUI:
6     def __init__(self, controller):
7         self.controller = controller
8
9     def start(self):
10         """Start UI."""
11         pass
12
13     def exit(self):
14         """Close UI."""
15         pass
16
17     def show_items(self, items, level):
18         """Shows items on selected level."""
19         pass
20
21     def get_current_level(self):
22         """Gets current UI level."""
23         pass
24
25
26     # dialogs
27     def show_about_dialog(self):
28         """Shows About Dialog."""
29         pass
30
31     def show_fields_to_show_dialog(self):
32         """Shows Fields Dialog."""
33         pass
34
35     def show_fileds_order_dialog(self):
36         """Shows FiledOrder Dialog."""
37         pass