Package pyforms :: Package web :: Module BaseWidget :: Class BaseWidget |
[hide private]
[frames] | no frames]

# Class BaseWidget

source code

Instance Methods | [hide private]
__init__(self, title) x.__init__(...) initializes x; see help(type(x)) for signature | source code
initForm(self) Generate the module Form | source code
generateTabs(self, formsetDict) Generate QTabWidget for the module form | source code
generatePanel(self, formset) Generate a panel for the module form with all the controls formset format example: [('_video', '_arenas', '_run'), {"Player":['_threshold', "_player", "=", "_results", "_query"], "Background image":[(' ', '_selectBackground', '_paintBackground'), '_image']}, "_progress"] tuple: will display the controls in the same horizontal line list: will display the controls in the same vertical line dict: will display the controls in a tab widget '||': will plit the controls in a horizontal line '=': will plit the controls in a vertical line | source code
findParameterByLabel(self, label) | source code
loadSerializedForm(self, params) | source code
serializeForm(self) | source code
show(self) | source code
formControls(self) Return all the form controls from the the module | source code
start_progress(self, total=100) | source code
update_progress(self) | source code
end_progress(self) | source code
storage(self, value) | source code
httpRequest(self, value) | source code
form(self) | source code
js(self) | source code
title(self, value) | source code
Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

Class Variables | [hide private]
| _formset = `None`
| _splitters = `None`

Properties | [hide private]
Inherited from `object`: `__class__`

Method Details | [hide private]

### __init__(self, title) (Constructor) | source code
x.__init__(...) initializes x; see help(type(x)) for signature Overrides: object.__init__ (inherited documentation)

### generateTabs(self, formsetDict) | source code
Generate QTabWidget for the module form Parameters: `formset` (dict) - Tab form configuration

### generatePanel(self, formset) | source code
Generate a panel for the module form with all the controls formset format example: [('_video', '_arenas', '_run'), {"Player":['_threshold', "_player", "=", "_results", "_query"], "Background image":[(' ', '_selectBackground', '_paintBackground'), '_image']}, "_progress"] tuple: will display the controls in the same horizontal line list: will display the controls in the same vertical line dict: will display the controls in a tab widget '||': will plit the controls in a horizontal line '=': will plit the controls in a vertical line Parameters: `formset` (list) - Form configuration

### formControls(self) | source code
Return all the form controls from the the module Decorators: `@property`

### storage(self, value) | source code
Decorators: `@storage.setter`

### httpRequest(self, value) | source code
Decorators: `@httpRequest.setter`

### form(self) | source code
Decorators: `@property`

### js(self) | source code
Decorators: `@property`

### title(self, value) | source code
Decorators: `@title.setter`