예제 #1
0
파일: config.py 프로젝트: notepadnine/wxpos
 def __init__(self, parent):
     FormPanel.__init__(self, parent, -1, DataValidator)
     
     self.createField('Show empty root items', wx.CheckBox, 'show_empty_root_items', pos.config['menu', 'show_empty_root_items'])
     self.createField('Show disabled items', wx.CheckBox, 'show_disabled_items', pos.config['menu', 'show_disabled_items'])
     #self.createField('Open in fullscreen', wx.CheckBox, 'fullscreen', pos.config['app', 'fullscreen'])
     self._init_fields()
예제 #2
0
    def __init__(self, parent, id):
        FormPanel.__init__(self, parent, id, AddressValidator)

        self.createField('Country', wx.TextCtrl, 'country', '')
        self.createField('Region', wx.TextCtrl, 'region', '')
        self.createField('City', wx.TextCtrl, 'city', '')
        self.createField('Details', wx.TextCtrl, 'details', '')
        self._init_fields()
예제 #3
0
 def __init__(self, parent, id):
     FormPanel.__init__(self, parent, id, AddressValidator)
     
     self.createField('Country', wx.TextCtrl, 'country', '')
     self.createField('Region', wx.TextCtrl, 'region', '')
     self.createField('City', wx.TextCtrl, 'city', '')
     self.createField('Details', wx.TextCtrl, 'details', '')
     self._init_fields()
예제 #4
0
파일: user.py 프로젝트: notepadnine/wxpos
 def __init__(self, parent):
     FormPanel.__init__(self, parent, -1, DataValidator)
     
     self.createField('Username', wx.TextCtrl, 'username', '')
     self.createField('Role', wx.TextCtrl, 'role', None)
     self.createField(None, wx.CheckBox, 'passwordCheck', False,
                      label='Change Password')
     self.createField('Password', wx.TextCtrl, 'password1', '',
                      style=wx.TE_PASSWORD)
     self.createField('Confirm Password', wx.TextCtrl, 'password2', '',
                      style=wx.TE_PASSWORD)
     self._init_fields()
예제 #5
0
파일: config.py 프로젝트: notepadnine/wxpos
 def __init__(self, parent):
     FormPanel.__init__(self, parent, -1, DataValidator)
     
     self.createField('Open in fullscreen', wx.CheckBox, 'fullscreen', pos.config['app', 'fullscreen'])
     self._init_fields()