|
Krita Source Code Documentation
|
Custom widget for selection actions panel buttons, to prevent them being drawn over the pop-up palette. More...
#include <kis_selection_actions_panel_button.h>
Inheritance diagram for KisSelectionActionsPanelButton:Public Member Functions | |
| void | draw (QPainter &painter) |
| KisSelectionActionsPanelButton (const QString &iconName, const QString &tooltip, int size, QWidget *parent) | |
| ~KisSelectionActionsPanelButton () | |
Protected Member Functions | |
| void | paintEvent (QPaintEvent *e) override |
Custom widget for selection actions panel buttons, to prevent them being drawn over the pop-up palette.
Definition at line 13 of file kis_selection_actions_panel_button.h.
| KisSelectionActionsPanelButton::KisSelectionActionsPanelButton | ( | const QString & | iconName, |
| const QString & | tooltip, | ||
| int | size, | ||
| QWidget * | parent ) |
Definition at line 16 of file kis_selection_actions_panel_button.cpp.
References ICON_SIZE_OFFSET, and KisIconUtils::loadIcon().
| KisSelectionActionsPanelButton::~KisSelectionActionsPanelButton | ( | ) |
Definition at line 26 of file kis_selection_actions_panel_button.cpp.
| void KisSelectionActionsPanelButton::draw | ( | QPainter & | painter | ) |
Definition at line 31 of file kis_selection_actions_panel_button.cpp.
References ICON_SIZE_OFFSET, and iconSize().
|
overrideprotected |
Definition at line 57 of file kis_selection_actions_panel_button.cpp.