Package camelot :: Package camelot :: Package view :: Module forms :: Class WidgetOnlyForm
[hide private]
[frames] | no frames]

Class WidgetOnlyForm

source code


Renders a single widget without its label, typically a one2many widget

Instance Methods [hide private]
 
__init__(self, field)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
source code
 
render(self, widgets, parent=None, nomargins=False) source code

Inherited from Form: get_fields

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __str__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, field)
(Constructor)

source code 

x.__init__(...) initializes x; see x.__class__.__doc__ for signature

Parameters:
  • content - a list with the field names and forms to render
Overrides: object.__init__
(inherited documentation)

render(self, widgets, parent=None, nomargins=False)

source code 
Parameters:
  • widgets - a dictionary mapping each field in this form to a tuple of (label, widget editor)

    @return : a QWidget into which the form is rendered

Overrides: Form.render
(inherited documentation)