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

Class ControlDockWidget

source code


Instance Methods [hide private]
 
__init__(self, label='', default=None, side='left')
x.__init__(...) initializes x; see help(type(x)) for signature
source code
 
label(self, value)
Label of the control, if applies
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
 
show(self)
Show the control
source code
 
hide(self)
Hide the control
source code

Inherited from ControlEmptyWidget.ControlEmptyWidget: form, initForm, value

Inherited from ControlBase.ControlBase: aboutToShowContextMenuEvent, addPopupMenuOption, addPopupSubMenuOption, changed, enabled, help, name, parent

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

Class Variables [hide private]
  SIDE_LEFT = 'left'
  SIDE_RIGHT = 'right'
  SIDE_TOP = 'top'
  SIDE_BOTTOM = 'bottom'
  SIDE_DETACHED = 'detached'
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, label='', default=None, side='left')
(Constructor)

source code 

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

Overrides: object.__init__
(inherited documentation)

label(self, value)

source code 

Label of the control, if applies

Decorators:
  • @label.setter
Overrides: ControlBase.ControlBase.label
(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)

show(self)

source code 

Show the control

Overrides: ControlBase.ControlBase.show

hide(self)

source code 

Hide the control

Overrides: ControlBase.ControlBase.hide