OpenStructure
Loading...
Searching...
No Matches
Public Member Functions | Data Fields
ColorOptionsWidget Class Reference

Inherits ComboOptionsWidget.

Public Member Functions

 __init__ (self, parent=None)
 
 OnComboChange (self, item)
 
 Update (self)
 
 GetText (self)
 
 GetCarbonsOnly (self)
 
- Public Member Functions inherited from ComboOptionsWidget
 AddWidget (self, ident, widget)
 
 RemoveWidget (self, ident)
 
 OnActivate (self, item)
 
 ChangeSelectedItem (self, ident)
 
 GetCurrentWidget (self)
 
 DoResize (self)
 
 setEnabled (self, bool)
 

Data Fields

 text_
 
 conly_box_
 
 entity_widgets_
 
 img_widgets_
 
- Data Fields inherited from ComboOptionsWidget
 parent_
 
 grid_layout_
 
 combo_box_
 
 stacked_widget_
 

Detailed Description

Definition at line 38 of file color_options_widget.py.

Constructor & Destructor Documentation

◆ __init__()

__init__ (   self,
  parent = None 
)

Reimplemented from ComboOptionsWidget.

Definition at line 39 of file color_options_widget.py.

Member Function Documentation

◆ GetCarbonsOnly()

GetCarbonsOnly (   self)

Definition at line 111 of file color_options_widget.py.

◆ GetText()

GetText (   self)

Definition at line 108 of file color_options_widget.py.

◆ OnComboChange()

OnComboChange (   self,
  item 
)
This abstract method is called whenever the View is updated.

 This abstract method must be implemented by all subclasses. 
 It can be used to do something ;-) whenever the combobox changes its value.

Reimplemented from ComboOptionsWidget.

Definition at line 66 of file color_options_widget.py.

◆ Update()

Update (   self)
Updates the ComboOptionsWidget and the active widget of the show area.

 This method calls the Update method of the active widget. 

Reimplemented from ComboOptionsWidget.

Definition at line 82 of file color_options_widget.py.

Field Documentation

◆ conly_box_

conly_box_

Definition at line 45 of file color_options_widget.py.

◆ entity_widgets_

entity_widgets_

Definition at line 48 of file color_options_widget.py.

◆ img_widgets_

img_widgets_

Definition at line 55 of file color_options_widget.py.

◆ text_

text_

Definition at line 43 of file color_options_widget.py.


The documentation for this class was generated from the following file: