Changes between Version 121 and Version 122 of DevelopGuide


Ignore:
Timestamp:
Mar 11, 2011, 11:26:29 AM (14 years ago)
Author:
Frédéric
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • DevelopGuide

    v121 v122  
    150150
    151151{{{
    152 #!python
     152#!text/x-python
    153153def _defineConfig(self):
    154154    self._addConfigKey('_myParam', 'MY_PARAM', default='a value')
     
    164164
    165165{{{
    166 #!python
     166#!text/x-python
    167167def _defineGui(self):
    168168    self._addWidget('Main', "My param", LineEditField, (), 'MY_PARAM')
     
    174174
    175175{{{
    176 #!python
     176#!text/x-python
    177177def _defineGui(self):
    178178    self._addTab('Driver')
     
    187187
    188188{{{
    189 #!python
     189#!text/x-python
    190190def register():
    191191    PluginManager().register(MyModelClass, MyModelController)