| 1 |
/*! |
| 2 |
@~chinese |
| 3 |
@file include/util/ddciiconpalette.h |
| 4 |
@ingroup dci |
| 5 |
@brief DCI图标调色板 |
| 6 |
|
| 7 |
@class Dtk::Gui::DDciIconPalette ddciiconpalette.h |
| 8 |
@brief DCI图标调色板 |
| 9 |
|
| 10 |
@fn Dtk::Gui::DDciIconPalette::DDciIconPalette (QColor foreground=QColor::Invalid, QColor background=QColor::Invalid, QColor highlight=QColor::Invalid, QColor highlightForeground=QColor::Invalid) |
| 11 |
@brief 构造函数 |
| 12 |
@param[in] foreground 前景色, 默认值为无效色 |
| 13 |
@param[in] background 背景色, 默认值为无效色 |
| 14 |
@param[in] highlight 高亮色, 默认值为无效色 |
| 15 |
@param[in] highlightForeground 高亮前景色, 默认值为无效色 |
| 16 |
|
| 17 |
@property Dtk::Gui::DDciIconPalette::foreground() |
| 18 |
@brief foreground()属性 |
| 19 |
@sa READ方法: QColor Dtk::Gui::DDciIconPalette::foreground() |
| 20 |
@sa WRITE方法: void Dtk::Gui::DDciIconPalette::setForeground(const QColor &foreground) |
| 21 |
|
| 22 |
@fn QColor Dtk::Gui::DDciIconPalette::foreground() const |
| 23 |
@brief 返回前景色 |
| 24 |
@sa DDciIconPalette::foreground |
| 25 |
|
| 26 |
@fn void Dtk::Gui::DDciIconPalette::setForeground(const QColor &foreground) |
| 27 |
@brief 设置前景色 |
| 28 |
@sa DDciIconPalette::foreground |
| 29 |
|
| 30 |
@property Dtk::Gui::DDciIconPalette::background |
| 31 |
@brief background()属性 |
| 32 |
@sa READ方法: QColor Dtk::Gui::DDciIconPalette::background() |
| 33 |
@sa WRITE方法: void Dtk::Gui::DDciIconPalette::setBackground(const QColor &background) |
| 34 |
|
| 35 |
@fn QColor Dtk::Gui::DDciIconPalette::background() const |
| 36 |
@brief 返回背景色 |
| 37 |
@sa DDciIconPalette::background |
| 38 |
|
| 39 |
@fn void Dtk::Gui::DDciIconPalette::setBackground(const QColor &background) |
| 40 |
@brief 设置背景色 |
| 41 |
@sa DDciIconPalette::background |
| 42 |
|
| 43 |
@property Dtk::Gui::DDciIconPalette::highlightForeground |
| 44 |
@brief highlightForeground()属性 |
| 45 |
@sa READ方法: QColor Dtk::Gui::DDciIconPalette::highlightForeground() |
| 46 |
@sa WRITE方法: void Dtk::Gui::DDciIconPalette::setHighlightForeground(const QColor &highlightForeground) |
| 47 |
|
| 48 |
@fn QColor Dtk::Gui::DDciIconPalette::highlightForeground() const |
| 49 |
@brief 返回高亮前景色 |
| 50 |
@sa DDciIconPalette::highlightForeground |
| 51 |
|
| 52 |
@fn void Dtk::Gui::DDciIconPalette::setHighlightForeground(const QColor &highlightForeground) |
| 53 |
@brief 设置高亮前景色 |
| 54 |
@sa DDciIconPalette::highlightForeground |
| 55 |
|
| 56 |
@property Dtk::Gui::DDciIconPalette::highlight |
| 57 |
@brief highlight()属性 |
| 58 |
@sa READ方法: QColor Dtk::Gui::DDciIconPalette::highlight() |
| 59 |
@sa WRITE方法: void Dtk::Gui::DDciIconPalette::setHighlight() |
| 60 |
|
| 61 |
@fn QColor Dtk::Gui::DDciIconPalette::highlight() const |
| 62 |
@brief 返回高亮色 |
| 63 |
@sa DDciIconPalette::highlight |
| 64 |
|
| 65 |
@fn void Dtk::Gui::DDciIconPalette::setHighlight() |
| 66 |
@brief 设置高亮色 |
| 67 |
@sa DDciIconPalette::highlight |
| 68 |
|
| 69 |
@fn static QString Dtk::Gui::DDciIconPalette::convertToString(const DDciIconPalette &palette) |
| 70 |
@brief 将DDciIconPalette转换为字符串 |
| 71 |
|
| 72 |
@fn static DDciIconPalette Dtk::Gui::DDciIconPalette::convertFromString(const QString &data) |
| 73 |
@brief 将字符串转换为DDciIconPalette |
| 74 |
|
| 75 |
@fn static DDciIconPalette Dtk::Gui::DDciIconPalette::fromQPalette(const QPalette &pa) |
| 76 |
@brief 将QPalette转换为DDciIconPalette |
| 77 |
@sa QPalette |
| 78 |
|
| 79 |
*/ |