|
Model Railroad System 2.2.2
|
Schematic Label object type. More...
Public Member Functions | |
| SchLabel (name, _ctcpanel, _canvas,...) | |
| Construct a Label object. More... | |
| ~SchLabel () | |
| Clean up all data objects and free up all resources. More... | |
| getv () | |
| Method to get our value (none). More... | |
| setv (state) | |
| Method to set out value (level position). More... | |
| geti (ind) | |
| Method to get the state of one of our indicators (none). More... | |
| seti (ind, value) | |
| Method to set an indicator's state (none). More... | |
| invoke () | |
| Method to invoke the label. More... | |
Private Member Functions | |
| _configureColor (option, value) | |
| Method to update the color of the label. More... | |
| _configureLabel (option, value) | |
| Method to update the label option. More... | |
Private Attributes | |
| ctcpanel | |
| The CTC Panel component (parent widget). More... | |
| canvas | |
| The canvas component (parent widget component). More... | |
Schematic Label object type.
These are on the schematic and represent a label on the Schematic.
| _ctcpanel | The CTCPanel megawidget. |
| _canvas | The schematic canvas to draw the label on. |
| ... | Options:
|
| CTCPanel::SchLabel::SchLabel | ( | name | , |
| _ctcpanel | , | ||
| _canvas | , | ||
| ... | |||
| ) |
| CTCPanel::SchLabel::~SchLabel | ( | ) |
Clean up all data objects and free up all resources.
|
private |
Method to update the color of the label.
|
private |
Method to update the label option.
| CTCPanel::SchLabel::geti | ( | ind | ) |
Method to get the state of one of our indicators (none).
| CTCPanel::SchLabel::getv | ( | ) |
Method to get our value (none).
| CTCPanel::SchLabel::invoke | ( | ) |
Method to invoke the label.
| CTCPanel::SchLabel::seti | ( | ind | , |
| value | |||
| ) |
Method to set an indicator's state (none).
| CTCPanel::SchLabel::setv | ( | state | ) |
Method to set out value (level position).
|
private |
The canvas component (parent widget component).
|
private |
The CTC Panel component (parent widget).