QtColorButton Class
(Utils::QtColorButton)| Inherits: | QToolButton |
Properties
- alphaAllowed : bool
- backgroundCheckered : bool
- color : QColor
- 4 properties inherited from QToolButton
- 11 properties inherited from QAbstractButton
- 58 properties inherited from QWidget
Public Functions
| QtColorButton(QWidget *parent = 0) | |
| ~QtColorButton() | |
| QColor | color() const |
| bool | isAlphaAllowed() const |
| bool | isBackgroundCheckered() const |
| void | setAlphaAllowed(bool allowed) |
| void | setBackgroundCheckered(bool checkered) |
- 12 public functions inherited from QToolButton
- 21 public functions inherited from QAbstractButton
- 213 public functions inherited from QWidget
Public Slots
| void | setColor(const QColor &color) |
- 3 public slots inherited from QToolButton
- 5 public slots inherited from QAbstractButton
- 19 public slots inherited from QWidget
Signals
| void | colorChanged(const QColor &color) |
- 1 signal inherited from QToolButton
- 4 signals inherited from QAbstractButton
- 3 signals inherited from QWidget
Reimplemented Protected Functions
| virtual void | dragEnterEvent(QDragEnterEvent *event) |
| virtual void | dragLeaveEvent(QDragLeaveEvent *event) |
| virtual void | dropEvent(QDropEvent *event) |
| virtual void | mouseMoveEvent(QMouseEvent *event) |
| virtual void | mousePressEvent(QMouseEvent *event) |
| virtual void | paintEvent(QPaintEvent *event) |
- 12 protected functions inherited from QToolButton
- 14 protected functions inherited from QAbstractButton
- 35 protected functions inherited from QWidget
Additional Inherited Members
- 5 static public members inherited from QWidget
- 12 protected functions inherited from QToolButton
- 14 protected functions inherited from QAbstractButton
- 35 protected functions inherited from QWidget
- 1 protected slot inherited from QWidget
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.