4f97ea7577ce3ce43ce1640085b5c9ec79926516
[meabook] / ui / ui.py
1 """
2 General Meabook UI
3 """
4
5 class MeabookUI:
6     def __init__(self, controller, renderer, config):
7         self.config = config
8         self.renderer = renderer
9         self.controller = controller
10
11     def start(self):
12         """Start UI."""
13         pass
14
15     def exit(self):
16         """Close UI."""
17         pass
18
19
20     # dialogs
21     def create_about_dialog(self):
22         """Creates About Dialog."""
23         pass
24
25     def create_configuration_dialog(self, controller, config):
26         """Creates Configuration Dialog."""
27         pass
28
29     def create_import_dialog(self):
30         """Creates Import Dialog."""
31         pass
32
33     def create_information_dialog(self, title, message):
34         """Creates Information Dialog."""
35         pass
36
37     def create_progress_dialog(self):
38         """Creates Progress Dialog."""
39         pass