OpenStructure
Public Member Functions | Data Fields
ColorOptionsWidget Class Reference

Inherits ComboOptionsWidget.

Public Member Functions

def __init__ (self, parent=None)
 
def OnComboChange (self, item)
 
def Update (self)
 
def GetText (self)
 
def GetCarbonsOnly (self)
 
- Public Member Functions inherited from ComboOptionsWidget
def AddWidget (self, ident, widget)
 
def RemoveWidget (self, ident)
 
def OnActivate (self, item)
 
def ChangeSelectedItem (self, ident)
 
def GetCurrentWidget (self)
 
def DoResize (self)
 
def 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__()

def __init__ (   self,
  parent = None 
)

Reimplemented from ComboOptionsWidget.

Definition at line 39 of file color_options_widget.py.

Member Function Documentation

◆ GetCarbonsOnly()

def GetCarbonsOnly (   self)

Definition at line 111 of file color_options_widget.py.

◆ GetText()

def GetText (   self)

Definition at line 108 of file color_options_widget.py.

◆ OnComboChange()

def 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()

def 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: