#include <vtkKWChangeColorButton.h>
Inheritance diagram for vtkKWChangeColorButton:
Public Member Functions | |
vtkTypeRevisionMacro (vtkKWChangeColorButton, vtkKWWidgetWithLabel) | |
void | PrintSelf (ostream &os, vtkIndent indent) |
virtual void | Create (vtkKWApplication *app) |
virtual void | SetCommand (vtkObject *obj, const char *method) |
virtual void | SetBalloonHelpString (const char *str) |
virtual void | UpdateEnableState () |
virtual void | SetColor (double c[3]) |
virtual void | SetColor (double r, double g, double b) |
virtual double * | GetColor () |
virtual void | SetDialogTitle (const char *) |
virtual char * | GetDialogTitle () |
virtual void | SetLabelOutsideButton (int) |
virtual int | GetLabelOutsideButton () |
virtual void | LabelOutsideButtonOn () |
virtual void | LabelOutsideButtonOff () |
virtual void | ButtonPressCallback () |
virtual void | ButtonReleaseCallback () |
Static Public Member Functions | |
vtkKWChangeColorButton * | New () |
Protected Member Functions | |
vtkKWChangeColorButton () | |
~vtkKWChangeColorButton () | |
virtual void | UpdateColorButton () |
virtual void | QueryUserForColor () |
virtual void | Pack () |
virtual void | CreateLabel (vtkKWApplication *app) |
virtual void | CreateButtonFrame (vtkKWApplication *app) |
virtual void | Bind () |
virtual void | UnBind () |
Protected Attributes | |
vtkKWLabel * | ColorButton |
vtkKWFrame * | ButtonFrame |
char * | Command |
char * | DialogTitle |
double | Color [3] |
int | LabelOutsideButton |
A button that can be pressed to select a color. Note: As a subclass of vtkKWWidgetWithLabel, it inherits a label and methods to set its position and visibility. Note that the default label position implemented in this class is on the left of the color label. Only a subset of the specific positions listed in vtkKWWidgetWithLabel is supported: on Left, and on Right of the color label.
Definition at line 34 of file vtkKWChangeColorButton.h.
|
|
|
|
|
Reimplemented from vtkKWWidgetWithLabel. |
|
|
|
Reimplemented from vtkKWWidgetWithLabel. |
|
Create the widget. Reimplemented from vtkKWWidgetWithLabel. |
|
Set/Get the current color (RGB space) Definition at line 46 of file vtkKWChangeColorButton.h. |
|
Set/Get the current color (RGB space) |
|
Set/Get the current color (RGB space) Definition at line 48 of file vtkKWChangeColorButton.h. |
|
Set the text that will be used on the title of the color selection dialog. |
|
Set the text that will be used on the title of the color selection dialog. |
|
Set the command that is called when the color is changed. Note that the current color is passed too, as 3 RGB (double) parameters. |
|
Set the string that enables balloon help for this widget. Override to pass down to children. Reimplemented from vtkKWWidgetWithLabel. |
|
Set the label to be outside the color button. Default is inside. |
|
Set the label to be outside the color button. Default is inside. |
|
Set the label to be outside the color button. Default is inside. |
|
Set the label to be outside the color button. Default is inside. |
|
Callbacks (handle button press and release events, etc.) |
|
Callbacks (handle button press and release events, etc.) |
|
Update the "enable" state of the object and its internal parts. Depending on different Ivars (this->Enabled, the application's Limited Edition Mode, etc.), the "enable" state of the object is updated and propagated to its internal parts/subwidgets. This will, for example, enable/disable parts of the widget UI, enable/disable the visibility of 3D widgets, etc. Reimplemented from vtkKWWidgetWithLabel. |
|
Add/Remove interaction bindings |
|
Add/Remove interaction bindings |
|
Update the color of the button given the current color, or use a 'disabled' color if the object is disabled. |
|
Query user for color |
|
Pack or repack the widget Reimplemented from vtkKWWidgetWithLabel. |
|
Create the label (override the superclass) Reimplemented from vtkKWWidgetWithLabel. |
|
Create the button frame |
|
Definition at line 91 of file vtkKWChangeColorButton.h. |
|
Definition at line 92 of file vtkKWChangeColorButton.h. |
|
Definition at line 94 of file vtkKWChangeColorButton.h. |
|
Definition at line 95 of file vtkKWChangeColorButton.h. |
|
Definition at line 96 of file vtkKWChangeColorButton.h. |
|
Definition at line 97 of file vtkKWChangeColorButton.h. |