ColorButton Class Reference

#include <ColorButton.h>

List of all members.

Public Slots

void colorDialog ()
void setColor (QColor)

Signals

void valueChanged ()
void robPressed (QColor)

Public Member Functions

 ColorButton (QWidget *, QColor &)
 ~ColorButton ()
void getColor (QColor &)
void setColorButton ()
void setDialogOff ()
bool isChanged ()

Public Attributes

QPixmap pix

Private Attributes

QColor color
bool readonly
bool changed


Detailed Description

Definition at line 30 of file ColorButton.h.


Constructor & Destructor Documentation

ColorButton::ColorButton ( QWidget *  w,
QColor &  c 
)

Definition at line 25 of file ColorButton.cpp.

References changed, color, colorDialog(), pix, and readonly.

ColorButton::~ColorButton (  ) 

Definition at line 37 of file ColorButton.cpp.


Member Function Documentation

void ColorButton::getColor ( QColor &  c  ) 

Definition at line 47 of file ColorButton.cpp.

References color.

Referenced by PrefDialog::getColor(), and Preferences::slotSave().

void ColorButton::setColorButton (  ) 

Definition at line 41 of file ColorButton.cpp.

References color, and pix.

Referenced by PrefDialog::addColorItem(), PrefDialog::addColorPrefItem(), colorDialog(), and Preferences::createColorPage().

void ColorButton::setDialogOff (  ) 

Definition at line 81 of file ColorButton.cpp.

References readonly.

Referenced by PrefDialog::addColorPrefItem().

bool ColorButton::isChanged (  ) 

Definition at line 86 of file ColorButton.cpp.

References changed.

void ColorButton::colorDialog (  )  [slot]

Definition at line 52 of file ColorButton.cpp.

References changed, color, readonly, robPressed(), setColorButton(), and valueChanged().

Referenced by ColorButton().

void ColorButton::setColor ( QColor  c  )  [slot]

Definition at line 74 of file ColorButton.cpp.

References color, and pix.

void ColorButton::valueChanged (  )  [signal]

Referenced by colorDialog().

void ColorButton::robPressed ( QColor   )  [signal]

Referenced by colorDialog().


Member Data Documentation

QPixmap ColorButton::pix

Definition at line 40 of file ColorButton.h.

Referenced by PrefDialog::addColorPrefItem(), ColorButton(), setColor(), and setColorButton().

QColor ColorButton::color [private]

Definition at line 52 of file ColorButton.h.

Referenced by ColorButton(), colorDialog(), getColor(), setColor(), and setColorButton().

bool ColorButton::readonly [private]

Definition at line 54 of file ColorButton.h.

Referenced by ColorButton(), colorDialog(), and setDialogOff().

bool ColorButton::changed [private]

Definition at line 55 of file ColorButton.h.

Referenced by ColorButton(), colorDialog(), and isChanged().


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