ParaView
Public Slots | Signals | Public Member Functions | Protected Attributes | Properties
pqColorChooserButton Class Reference

#include <pqColorChooserButton.h>

Inheritance diagram for pqColorChooserButton:
Inheritance graph
[legend]

List of all members.

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

Detailed Description

Definition at line 42 of file pqColorChooserButton.h.


Constructor & Destructor Documentation

pqColorChooserButton::pqColorChooserButton ( QWidget *  p)

constructor requires a QComboBox


Member Function Documentation

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.


Member Data Documentation

QColor pqColorChooserButton::Color [protected]

Definition at line 74 of file pqColorChooserButton.h.

QString pqColorChooserButton::UndoLabel [protected]

Definition at line 75 of file pqColorChooserButton.h.


Property Documentation

QColor pqColorChooserButton::chosenColor [read, write]

Definition at line 45 of file pqColorChooserButton.h.


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