Package pyforms :: Package gui :: Package Controls :: Module ControlTree :: Class ControlTree |
[hide private]
[frames] | no frames]

# Class ControlTree

source code

This class represents a wrapper to the QTreeWidget

Instance Methods | [hide private]
__init__(self, label='', default='') x.__init__(...) initializes x; see help(type(x)) for signature | source code
initForm(self) Load Control and initiate the events | source code
showHeader(self, value) | source code
__itemChangedEvent(self, item) | source code
itemChangedEvent(self, item) | source code
itemSelectionChanged(self) | source code
rowsInsertedEvent(self, parent, start, end) This event is called every time a new row is added to the tree | source code
rowsInserted(self, parent, start, end) | source code
selectionChanged(self, selected, deselected) | source code
mouseSelectedRowsIndexes(self) | source code
mouseSelectedRowIndex(self) | source code
selectedItem(self) | source code
cells(self) | source code
__add__(self, other) | source code
__sub__(self, other) | source code
form(self) Returns the Widget of the control. | source code
value(self, value) This property return and set what the control should manage or store. | source code
save(self, data) Save a value to dict variable | source code
load(self, data) Load a value from the dict variable | source code
Inherited from `ControlBase.ControlBase`: `aboutToShowContextMenuEvent`, `addPopupMenuOption`, `addPopupSubMenuOption`, `changed`, `enabled`, `help`, `hide`, `label`, `name`, `parent`, `show` Inherited from `object`: `__delattr__`, `__format__`, `__getattribute__`, `__hash__`, `__new__`, `__reduce__`, `__reduce_ex__`, `__repr__`, `__setattr__`, `__sizeof__`, `__str__`, `__subclasshook__`

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

Method Details | [hide private]

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

### initForm(self) | source code
Load Control and initiate the events Overrides: ControlBase.ControlBase.initForm (inherited documentation)

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

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

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

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

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

### form(self) | source code
Returns the Widget of the control. This property will be deprecated in a future version. Decorators: `@property` Overrides: ControlBase.ControlBase.form (inherited documentation)

### value(self, value) | source code
This property return and set what the control should manage or store. Decorators: `@value.setter` Overrides: ControlBase.ControlBase.value (inherited documentation)

### save(self, data) | source code
Save a value to dict variable Parameters: `data` - dictionary with to where the value of the Control will be added Overrides: ControlBase.ControlBase.save (inherited documentation)

### load(self, data) | source code
Load a value from the dict variable Parameters: `data` - dictionary with the value of the Control Overrides: ControlBase.ControlBase.load (inherited documentation)