|
Omnidome
Fulldome Mapping Software Toolkit
|
Simplies color access from a palette for a widget. More...
#include <ColorSet.h>
Public Member Functions | |
| ColorSet (QWidget *_parent) | |
| Default constructor. More... | |
| QColor | color (QPalette::ColorRole) const |
| QPalette::ColorGroup | colorGroup () const |
| QColor | window () const |
| Window aka Background color. More... | |
| QColor | windowText () const |
| Window text aka Foreground color. More... | |
| QColor | base (bool _alternate=false) const |
| Base color. More... | |
| QColor | button () const |
| Button color (ColorRole = QPalette::Button) More... | |
| QColor | toolTipBase () const |
| Tooltip color (ColorRole = QPalette::ToolTipBase) More... | |
| QColor | toolTipText () const |
| Tooltip text color (ColorRole = QPalette::ToolTipText) More... | |
| QColor | text () const |
| Text color (ColorRole = QPalette::Text) More... | |
| QColor | buttonText () const |
| Button text color (ColorRole = QPalette::ButtonText) More... | |
| QColor | brightText () const |
| Bright text color (ColorRole = QPalette::BrightText) More... | |
| QColor | light () const |
| Light color (ColorRole = QPalette::Light) More... | |
| QColor | midlight () const |
| Mid light color (ColorRole = QPalette::Midlight) More... | |
| QColor | dark () const |
| Dark color (ColorRole = QPalette::Dark) More... | |
| QColor | shadow () const |
| Shadow color (ColorRole = QPalette::Shadow) More... | |
| QColor | highlight () const |
| Highlight color (ColorRole = QPalette::Highlight) More... | |
| QColor | highlightedText () const |
| HighlightText color (ColorRole = QPalette::HighlightText) More... | |
| QColor | link () const |
| Link color (ColorRole = QPalette::Link) More... | |
| QColor | linkVisited () const |
| Visited link color (ColorRole = QPalette::LinkVisited) More... | |
Private Attributes | |
| QWidget * | parent_ |
| Pointer to parent widget. More... | |
Simplies color access from a palette for a widget.
| omni::ui::ColorSet::ColorSet | ( | QWidget * | _parent | ) |
Default constructor.
| _parent | Pointer to parent widget |
| QColor omni::ui::ColorSet::base | ( | bool | _alternate = false | ) | const |
Base color.
| _alternate | Returns alternate color (used for alternted rows) |
| QColor omni::ui::ColorSet::brightText | ( | ) | const |
Bright text color (ColorRole = QPalette::BrightText)
| QColor omni::ui::ColorSet::button | ( | ) | const |
Button color (ColorRole = QPalette::Button)
| QColor omni::ui::ColorSet::buttonText | ( | ) | const |
Button text color (ColorRole = QPalette::ButtonText)
| QColor omni::ui::ColorSet::color | ( | QPalette::ColorRole | _role | ) | const |
| QPalette::ColorGroup omni::ui::ColorSet::colorGroup | ( | ) | const |
| QColor omni::ui::ColorSet::dark | ( | ) | const |
Dark color (ColorRole = QPalette::Dark)
| QColor omni::ui::ColorSet::highlight | ( | ) | const |
Highlight color (ColorRole = QPalette::Highlight)
| QColor omni::ui::ColorSet::highlightedText | ( | ) | const |
HighlightText color (ColorRole = QPalette::HighlightText)
| QColor omni::ui::ColorSet::light | ( | ) | const |
Light color (ColorRole = QPalette::Light)
| QColor omni::ui::ColorSet::link | ( | ) | const |
Link color (ColorRole = QPalette::Link)
| QColor omni::ui::ColorSet::linkVisited | ( | ) | const |
Visited link color (ColorRole = QPalette::LinkVisited)
| QColor omni::ui::ColorSet::midlight | ( | ) | const |
Mid light color (ColorRole = QPalette::Midlight)
| QColor omni::ui::ColorSet::shadow | ( | ) | const |
Shadow color (ColorRole = QPalette::Shadow)
| QColor omni::ui::ColorSet::text | ( | ) | const |
Text color (ColorRole = QPalette::Text)
| QColor omni::ui::ColorSet::toolTipBase | ( | ) | const |
Tooltip color (ColorRole = QPalette::ToolTipBase)
| QColor omni::ui::ColorSet::toolTipText | ( | ) | const |
Tooltip text color (ColorRole = QPalette::ToolTipText)
| QColor omni::ui::ColorSet::window | ( | ) | const |
Window aka Background color.
| QColor omni::ui::ColorSet::windowText | ( | ) | const |
Window text aka Foreground color.
|
private |
Pointer to parent widget.
1.8.6