#include <klfcolorchooser.h>
Definition at line 440 of file klfcolorchooser.h.
◆ KLFColorChooser()
| KLFColorChooser::KLFColorChooser |
( |
QWidget * |
parent | ) |
|
◆ ~KLFColorChooser()
| KLFColorChooser::~KLFColorChooser |
( |
| ) |
|
◆ _makemenu
| void KLFColorChooser::_makemenu |
( |
| ) |
|
|
protectedslot |
Definition at line 1066 of file klfcolorchooser.cpp.
References QColor::alpha(), QString::arg(), QVariant::fromValue(), QColor::name(), requestColor(), QColor::setAlpha(), setDefaultColor(), KLFRelativeFont::setRelPointSize(), and setSenderPropertyColor().
Referenced by KLFColorChooser(), setAllowDefaultState(), setAlphaEnabled(), and setDefaultStateString().
◆ allowDefaultState()
| 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.
◆ alphaEnabled()
| 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.
◆ autoAddToList()
| bool KLFColorChooser::autoAddToList |
( |
| ) |
const |
|
inline |
◆ color()
| QColor KLFColorChooser::color |
( |
| ) |
const |
◆ colorChanged
| void KLFColorChooser::colorChanged |
( |
const QColor & |
newcolor | ) |
|
|
signal |
◆ colorList()
◆ defaultStateString()
| QString KLFColorChooser::defaultStateString |
( |
| ) |
const |
|
inline |
◆ paintEvent()
| void KLFColorChooser::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
protected |
◆ pixXAlignFactor()
| float KLFColorChooser::pixXAlignFactor |
( |
| ) |
const |
|
inline |
◆ pixYAlignFactor()
| float KLFColorChooser::pixYAlignFactor |
( |
| ) |
const |
|
inline |
◆ requestColor
| void KLFColorChooser::requestColor |
( |
| ) |
|
|
slot |
◆ setAllowDefaultState
| void KLFColorChooser::setAllowDefaultState |
( |
bool |
allow | ) |
|
|
slot |
◆ setAlphaEnabled
| void KLFColorChooser::setAlphaEnabled |
( |
bool |
alpha_enabled | ) |
|
|
slot |
◆ setAutoAddToList
| void KLFColorChooser::setAutoAddToList |
( |
bool |
autoadd | ) |
|
|
slot |
◆ setColor
| void KLFColorChooser::setColor |
( |
const QColor & |
color | ) |
|
|
slot |
◆ setColorList()
| void KLFColorChooser::setColorList |
( |
const QList< QColor > & |
colorlist | ) |
|
|
static |
◆ setDefaultColor
| void KLFColorChooser::setDefaultColor |
( |
| ) |
|
|
slot |
◆ setDefaultStateString
| void KLFColorChooser::setDefaultStateString |
( |
const QString & |
str | ) |
|
|
slot |
◆ setPixXAlignFactor
| void KLFColorChooser::setPixXAlignFactor |
( |
float |
xalignfactor | ) |
|
|
slot |
◆ setPixYAlignFactor
| void KLFColorChooser::setPixYAlignFactor |
( |
float |
yalignfactor | ) |
|
|
slot |
◆ setSenderPropertyColor
| void KLFColorChooser::setSenderPropertyColor |
( |
| ) |
|
|
protectedslot |
◆ setShowSize
| void KLFColorChooser::setShowSize |
( |
const QSize & |
size | ) |
|
|
slot |
◆ setUserMaxColors()
| void KLFColorChooser::setUserMaxColors |
( |
int |
maxcolors | ) |
|
|
static |
◆ showSize()
| QSize KLFColorChooser::showSize |
( |
| ) |
const |
|
inline |
◆ sizeHint()
| QSize KLFColorChooser::sizeHint |
( |
| ) |
const |
|
virtual |
◆ allowDefaultState
| bool KLFColorChooser::allowDefaultState |
|
readwrite |
◆ alphaEnabled
| bool KLFColorChooser::alphaEnabled |
|
readwrite |
◆ autoAddToList
| bool KLFColorChooser::autoAddToList |
|
readwrite |
◆ color
◆ defaultStateString
| QString KLFColorChooser::defaultStateString |
|
readwrite |
◆ pixXAlignFactor
| float KLFColorChooser::pixXAlignFactor |
|
readwrite |
◆ pixYAlignFactor
| float KLFColorChooser::pixYAlignFactor |
|
readwrite |
◆ showSize
| QSize KLFColorChooser::showSize |
|
readwrite |
The documentation for this class was generated from the following files: