1
2
3
4 __author__ = "Ricardo Ribeiro"
5 __credits__ = ["Ricardo Ribeiro"]
6 __license__ = "MIT"
7 __version__ = "0.0"
8 __maintainer__ = "Ricardo Ribeiro"
9 __email__ = "ricardojvr@gmail.com"
10 __status__ = "Development"
11
12
13 import pyforms.Utils.tools as tools
14 from PyQt4 import uic, QtGui
15 from pyforms.gui.Controls.ControlBase import ControlBase
18
24
26
27 - def load(self, data):
28 if 'value' in data:
29 self._form.checkBox.setChecked( data['value']=='True' )
30
31 - def save(self, data):
33
34
35 @property
37
38 @value.setter
42