|
ParaView
|
#include <pqColorChooserButton.h>

Public Slots | |
| virtual void | setChosenColor (const QColor &) |
| set the color | |
| virtual void | chooseColor () |
| show a dialog to choose the color | |
Signals | |
| void | beginUndo (const QString &) |
| Signals fired before and after the chosenColorChanged() signal is fired. | |
| void | endUndo () |
| void | chosenColorChanged (const QColor &) |
| signal color changed | |
| void | validColorChosen (const QColor &) |
| signal color selected | |
Public Member Functions | |
| pqColorChooserButton (QWidget *p) | |
| constructor requires a QComboBox | |
| QColor | chosenColor () const |
| get the color | |
| void | setUndoLabel (const QString &lbl) |
| Set the label to be used when firing beginUndo() signal. | |
| const QString & | undoLabel () const |
Protected Attributes | |
| QColor | Color |
| QString | UndoLabel |
Properties | |
| QColor | chosenColor |
Definition at line 42 of file pqColorChooserButton.h.
| pqColorChooserButton::pqColorChooserButton | ( | QWidget * | p | ) |
constructor requires a QComboBox
| QColor pqColorChooserButton::chosenColor | ( | ) | const |
get the color
| void pqColorChooserButton::setUndoLabel | ( | const QString & | lbl | ) | [inline] |
Set the label to be used when firing beginUndo() signal.
Definition at line 53 of file pqColorChooserButton.h.
| const QString& pqColorChooserButton::undoLabel | ( | ) | const [inline] |
Definition at line 55 of file pqColorChooserButton.h.
| void pqColorChooserButton::beginUndo | ( | const QString & | ) | [signal] |
Signals fired before and after the chosenColorChanged() signal is fired.
This is used in ParaView to set up the creation of undo set.
| void pqColorChooserButton::endUndo | ( | ) | [signal] |
| void pqColorChooserButton::chosenColorChanged | ( | const QColor & | ) | [signal] |
signal color changed
| void pqColorChooserButton::validColorChosen | ( | const QColor & | ) | [signal] |
signal color selected
| virtual void pqColorChooserButton::setChosenColor | ( | const QColor & | ) | [virtual, slot] |
set the color
| virtual void pqColorChooserButton::chooseColor | ( | ) | [virtual, slot] |
show a dialog to choose the color
Reimplemented in pqStandardColorButton.
QColor pqColorChooserButton::Color [protected] |
Definition at line 74 of file pqColorChooserButton.h.
QString pqColorChooserButton::UndoLabel [protected] |
Definition at line 75 of file pqColorChooserButton.h.
QColor pqColorChooserButton::chosenColor [read, write] |
Definition at line 45 of file pqColorChooserButton.h.
1.7.5.1