#include <ColorButton.h>
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 |
Definition at line 30 of file ColorButton.h.
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.
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.
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 | ( | ) |
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] |
void ColorButton::valueChanged | ( | ) | [signal] |
Referenced by colorDialog().
void ColorButton::robPressed | ( | QColor | ) | [signal] |
Referenced by colorDialog().
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().