added mvc skeleton
[findit] / src / mvc / models / about.py
1 from gtkmvc import Model
2
3 from __main__ import __version__, __progname__
4
5
6 class AboutModel(Model):
7
8     # Observable properties
9     __properties__ = {
10         'authors'  : '',
11         'comments' : '',
12         'license'  : '',
13         }
14
15     def __init__(self):
16         Model.__init__(self)
17
18         self.progname = __progname__
19         self.version = __version__
20
21         self.authors = [    'Alex Taker\n   * Email: alteker@gmail.com\n',
22                         'Eugene Gagarin\n   * Email: mosfet07@ya.ru\n',
23                         'Alexandr Popov\n   * Email: popov2al@gmail.com' ]
24
25         self.comments = 'Tool for find some information on computer.'
26
27         self.license = \
28 'This program is free software; you can redistribute it and/or\nmodify it \
29 under the terms of the GNU General Public License\nas published by the Free \
30 Software Foundation; either version 3\nof the License, or (at your option) \
31 any later version.'
32
33         return
34
35     pass # end of class