Changes between Version 121 and Version 122 of DevelopGuide
- Timestamp:
- Mar 11, 2011, 11:26:29 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
DevelopGuide
v121 v122 150 150 151 151 {{{ 152 #! python152 #!text/x-python 153 153 def _defineConfig(self): 154 154 self._addConfigKey('_myParam', 'MY_PARAM', default='a value') … … 164 164 165 165 {{{ 166 #! python166 #!text/x-python 167 167 def _defineGui(self): 168 168 self._addWidget('Main', "My param", LineEditField, (), 'MY_PARAM') … … 174 174 175 175 {{{ 176 #! python176 #!text/x-python 177 177 def _defineGui(self): 178 178 self._addTab('Driver') … … 187 187 188 188 {{{ 189 #! python189 #!text/x-python 190 190 def register(): 191 191 PluginManager().register(MyModelClass, MyModelController)