#include <ColorSwitchWidget.hpp>
Inherits QWidget.
◆ ColorSwitchWidget()
ColorSwitchWidget::ColorSwitchWidget |
( |
QWidget * | parent = nullptr | ) |
|
◆ backgroundColor()
QColor ColorSwitchWidget::backgroundColor |
( |
| ) |
const |
◆ colorChanged
void ColorSwitchWidget::colorChanged |
( |
| ) |
|
|
signal |
◆ colorDialog()
bool ColorSwitchWidget::colorDialog |
( |
QColor & | color | ) |
|
|
private |
◆ foregroundColor()
QColor ColorSwitchWidget::foregroundColor |
( |
| ) |
const |
◆ minimumSizeHint()
QSize ColorSwitchWidget::minimumSizeHint |
( |
| ) |
const |
|
override |
◆ mousePressEvent()
void ColorSwitchWidget::mousePressEvent |
( |
QMouseEvent * | event | ) |
|
|
overrideprotected |
◆ paintEvent()
void ColorSwitchWidget::paintEvent |
( |
QPaintEvent * | event | ) |
|
|
overrideprotected |
◆ setBackgroundColor()
void ColorSwitchWidget::setBackgroundColor |
( |
const QColor & | color | ) |
|
◆ setForegroundColor()
void ColorSwitchWidget::setForegroundColor |
( |
const QColor & | color | ) |
|
◆ sizeHint()
QSize ColorSwitchWidget::sizeHint |
( |
| ) |
const |
|
override |
◆ backgroundColor_
QColor ColorSwitchWidget::backgroundColor_ |
|
private |
◆ backgroundColorDefault_
QColor ColorSwitchWidget::backgroundColorDefault_ |
|
private |
◆ defaultHeight_
int ColorSwitchWidget::defaultHeight_ |
|
private |
◆ defaultWidth_
int ColorSwitchWidget::defaultWidth_ |
|
private |
◆ foregroundColor_
QColor ColorSwitchWidget::foregroundColor_ |
|
private |
◆ foregroundColorDefault_
QColor ColorSwitchWidget::foregroundColorDefault_ |
|
private |
The documentation for this class was generated from the following files:
- ColorSwitchWidget.hpp
- ColorSwitchWidget.cpp