#include <klfcolorchooser.h>
Definition at line 440 of file klfcolorchooser.h.
| KLFColorChooser::KLFColorChooser |
( |
QWidget * |
parent | ) |
|
| KLFColorChooser::~KLFColorChooser |
( |
| ) |
|
| void KLFColorChooser::_makemenu |
( |
| ) |
|
|
protectedslot |
Definition at line 1066 of file klfcolorchooser.cpp.
References QColor::alpha(), QString::arg(), QColor::name(), requestColor(), QColor::setAlpha(), setDefaultColor(), KLFRelativeFont::setRelPointSize(), and setSenderPropertyColor().
Referenced by KLFColorChooser(), setAllowDefaultState(), setAlphaEnabled(), and setDefaultStateString().
| bool KLFColorChooser::allowDefaultState |
( |
| ) |
const |
|
inline |
Allow the "default color" state.
This is NOT a default color in the sense that it's a normal color that will be returned by default; it is a special state that can mean for ex. "no color", "full transparency" or "don't change"; it is represented by a red slash on a gray background. It is internally represented by an invalid QColor.
Definition at line 463 of file klfcolorchooser.h.
| bool KLFColorChooser::alphaEnabled |
( |
| ) |
const |
|
inline |
TRUE if the user can also select opacity (alpha) with this widget.
Definition at line 470 of file klfcolorchooser.h.
| bool KLFColorChooser::autoAddToList |
( |
| ) |
const |
|
inline |
| QColor KLFColorChooser::color |
( |
| ) |
const |
| void KLFColorChooser::colorChanged |
( |
const QColor & |
newcolor | ) |
|
|
signal |
| QString KLFColorChooser::defaultStateString |
( |
| ) |
const |
|
inline |
| void KLFColorChooser::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
| float KLFColorChooser::pixXAlignFactor |
( |
| ) |
const |
|
inline |
| float KLFColorChooser::pixYAlignFactor |
( |
| ) |
const |
|
inline |
| void KLFColorChooser::requestColor |
( |
| ) |
|
|
slot |
| void KLFColorChooser::setAllowDefaultState |
( |
bool |
allow | ) |
|
|
slot |
| void KLFColorChooser::setAlphaEnabled |
( |
bool |
alpha_enabled | ) |
|
|
slot |
| void KLFColorChooser::setAutoAddToList |
( |
bool |
autoadd | ) |
|
|
slot |
| void KLFColorChooser::setColor |
( |
const QColor & |
color | ) |
|
|
slot |
| void KLFColorChooser::setColorList |
( |
const QList< QColor > & |
colorlist | ) |
|
|
static |
| void KLFColorChooser::setDefaultColor |
( |
| ) |
|
|
slot |
| void KLFColorChooser::setDefaultStateString |
( |
const QString & |
str | ) |
|
|
slot |
| void KLFColorChooser::setPixXAlignFactor |
( |
float |
xalignfactor | ) |
|
|
slot |
| void KLFColorChooser::setPixYAlignFactor |
( |
float |
yalignfactor | ) |
|
|
slot |
| void KLFColorChooser::setSenderPropertyColor |
( |
| ) |
|
|
protectedslot |
| void KLFColorChooser::setShowSize |
( |
const QSize & |
size | ) |
|
|
slot |
| void KLFColorChooser::setUserMaxColors |
( |
int |
maxcolors | ) |
|
|
static |
| QSize KLFColorChooser::showSize |
( |
| ) |
const |
|
inline |
| QSize KLFColorChooser::sizeHint |
( |
| ) |
const |
|
virtual |
| bool KLFColorChooser::allowDefaultState |
|
readwrite |
| bool KLFColorChooser::alphaEnabled |
|
readwrite |
| bool KLFColorChooser::autoAddToList |
|
readwrite |
| QString KLFColorChooser::defaultStateString |
|
readwrite |
| float KLFColorChooser::pixXAlignFactor |
|
readwrite |
| float KLFColorChooser::pixYAlignFactor |
|
readwrite |
| QSize KLFColorChooser::showSize |
|
readwrite |
The documentation for this class was generated from the following files: