AlbumShaper
1.0a3
|
Displays group icon and text, also contains pointer to widget for setting group settings. More...
#include <groupIcon.h>
Public Member Functions | |
GroupIcon (Q3IconView *parent, QPixmap icon, QString text, QWidget *settingsWidget) | |
void | paintItem (QPainter *p, const QColorGroup &cg) |
void | paintFocus (QPainter *p, const QColorGroup &cg) |
void | setMousedOver (bool val) |
QWidget * | getSettingsWidget () |
Private Member Functions | |
void | initializeItemRect () |
Private Attributes | |
Q3IconView * | parent |
QWidget * | settingsWidget |
bool | mousedOver |
Displays group icon and text, also contains pointer to widget for setting group settings.
Definition at line 30 of file groupIcon.h.
GroupIcon::GroupIcon | ( | Q3IconView * | parent, |
QPixmap | icon, | ||
QString | text, | ||
QWidget * | settingsWidget | ||
) |
Definition at line 22 of file groupIcon.cpp.
References initializeItemRect(), mousedOver, parent, and settingsWidget.
QWidget * GroupIcon::getSettingsWidget | ( | ) |
|
private |
Definition at line 74 of file groupIcon.cpp.
References parent.
Referenced by GroupIcon().
void GroupIcon::paintFocus | ( | QPainter * | p, |
const QColorGroup & | cg | ||
) |
Definition at line 68 of file groupIcon.cpp.
void GroupIcon::paintItem | ( | QPainter * | p, |
const QColorGroup & | cg | ||
) |
void GroupIcon::setMousedOver | ( | bool | val | ) |
Definition at line 72 of file groupIcon.cpp.
References mousedOver.
Referenced by ConfigurationWidget::clearPseudoSelection(), and ConfigurationWidget::repaintGroup().
|
private |
Definition at line 55 of file groupIcon.h.
Referenced by GroupIcon(), paintItem(), and setMousedOver().
|
private |
Definition at line 53 of file groupIcon.h.
Referenced by GroupIcon(), and initializeItemRect().
|
private |
Definition at line 54 of file groupIcon.h.
Referenced by getSettingsWidget(), and GroupIcon().