QtColorButton Class
(Utils::QtColorButton)Properties
- alphaAllowed : bool
- backgroundCheckered : bool
- color : QColor
Public Functions
| QtColorButton(QWidget *parent = 0) | |
| ~QtColorButton() | |
| QColor | color() const |
| bool | isAlphaAllowed() const |
| bool | isBackgroundCheckered() const |
| void | setAlphaAllowed(bool allowed) |
| void | setBackgroundCheckered(bool checkered) |
Public Slots
| void | setColor(const QColor &color) |
Signals
| void | colorChanged(const QColor &color) |
Protected Functions
| void | dragEnterEvent(QDragEnterEvent *event) |
| void | dragLeaveEvent(QDragLeaveEvent *event) |
| void | dropEvent(QDropEvent *event) |
| void | mouseMoveEvent(QMouseEvent *event) |
| void | mousePressEvent(QMouseEvent *event) |
| void | paintEvent(QPaintEvent *event) |
Property Documentation
alphaAllowed : bool
Access functions:
| bool | isAlphaAllowed() const |
| void | setAlphaAllowed(bool allowed) |
backgroundCheckered : bool
Access functions:
| bool | isBackgroundCheckered() const |
| void | setBackgroundCheckered(bool checkered) |
color : QColor
Access functions:
| QColor | color() const |
| void | setColor(const QColor &color) |
Member Function Documentation
QtColorButton::QtColorButton(QWidget *parent = 0)
Default constructs an instance of QtColorButton.
QtColorButton::~QtColorButton()
Destroys the instance of QtColorButton.