GroupingDesktop
groupicon.cpp
Go to the documentation of this file.
100 (event->pos() - event->buttonDownPos(Qt::LeftButton)).toPoint().manhattanLength() > QApplication::startDragDistance()) {
143 void GroupIcon::paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget)
154 QRect iconRect(rect.x() + qMax(0, (width / 2) - (m_iconHeight / 2)), textRect.bottom() + 2, m_iconHeight, m_iconHeight);
void hoverEnterEvent(QGraphicsSceneHoverEvent *event)
Definition: groupicon.cpp:92
void resizeEvent(QGraphicsSceneResizeEvent *event)
Definition: groupicon.cpp:62
QSizeF sizeHint(Qt::SizeHint which, const QSizeF &constraint) const
Definition: groupicon.cpp:70
static GroupInfo groupInfo(const QString &name)
Definition: abstractgroup.cpp:855
void hoverEnter(GroupIcon *icon)
void mousePressEvent(QGraphicsSceneMouseEvent *event)
Definition: groupicon.cpp:129
void mouseMoveEvent(QGraphicsSceneMouseEvent *event)
Definition: groupicon.cpp:97
void mouseReleaseEvent(QGraphicsSceneMouseEvent *event)
Definition: groupicon.cpp:121
void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget=0)
Definition: groupicon.cpp:143
Definition: groupinfo.h:30
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
Documentation copyright © 1996-2014 The KDE developers.
Generated on Mon Oct 13 2014 22:55:03 by doxygen 1.8.7 written by Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.