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

Class ControlList

source code


This class represents a wrapper to the table widget It allows to implement a list view

Instance Methods [hide private]
 
__init__(self, label="", defaultValue="", plusFunction=None, minusFunction=None)
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
__repr__(self)
repr(x)
source code
 
initForm(self)
Load Control and initiate the events
source code
 
_dataChangedEvent(self, item) source code
 
dataChangedEvent(self, row, col, item) source code
 
tableWidgetCellChanged(self, nextRow, nextCol, previousRow, previousCol) source code
 
tableWidgetItemChanged(self, current, previous) source code
 
tableWidgetItemSelectionChanged(self) source code
 
itemSelectionChanged(self) source code
 
currentCellChanged(self, nextRow, nextCol, previousRow, previousCol) source code
 
currentItemChanged(self, current, previous) source code
 
clear(self) source code
 
__add__(self, other) source code
 
__sub__(self, other) source code
 
horizontalHeaders(self, horizontalHeaders)
Set horizontal headers in the table list.
source code
 
setValue(self, column, row, value) source code
 
getValue(self, column, row) source code
 
selectEntireRow(self, value) source code
 
count(self) source code
 
value(self, value)
This property return and set what the control should manage or store.
source code
 
mouseSelectedRowsIndexes(self) source code
 
mouseSelectedRowIndex(self) source code
 
label(self, value)
Label of the control, if applies
source code
 
form(self)
Returns the Widget of the control.
source code
 
iconSize(self, value) source code

Inherited from ControlBase.ControlBase: aboutToShowContextMenuEvent, addPopupMenuOption, addPopupSubMenuOption, changed, enabled, help, hide, load, name, parent, save, show

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, label="", defaultValue="", plusFunction=None, minusFunction=None)
(Constructor)

source code 

x.__init__(...) initializes x; see help(type(x)) for signature

Overrides: object.__init__
(inherited documentation)

__repr__(self)
(Representation operator)

source code 

repr(x)

Overrides: object.__repr__
(inherited documentation)

initForm(self)

source code 

Load Control and initiate the events

Overrides: ControlBase.ControlBase.initForm
(inherited documentation)

horizontalHeaders(self, horizontalHeaders)

source code 

Set horizontal headers in the table list.

Decorators:
  • @horizontalHeaders.setter

selectEntireRow(self, value)

source code 
Decorators:
  • @selectEntireRow.setter

count(self)

source code 
Decorators:
  • @property

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)

mouseSelectedRowsIndexes(self)

source code 
Decorators:
  • @property

mouseSelectedRowIndex(self)

source code 
Decorators:
  • @property

label(self, value)

source code 

Label of the control, if applies

Decorators:
  • @label.setter
Overrides: ControlBase.ControlBase.label
(inherited documentation)

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)

iconSize(self, value)

source code 
Decorators:
  • @iconSize.setter