Plasma
Go to the documentation of this file.
20 #ifndef PLASMA_POPUPAPPLET_H
21 #define PLASMA_POPUPAPPLET_H
28 class QGraphicsLinearLayout;
35 class PopupAppletPrivate;
55 Q_PROPERTY(Qt::AlignmentFlag popupAlignment READ popupAlignment WRITE setPopupAlignment)
67 void setPopupIcon(
const QIcon &icon);
78 void setPopupIcon(
const QString &iconName);
83 QIcon popupIcon()
const;
91 void setWidget(
QWidget * widget);
113 void setPopupAlignment(Qt::AlignmentFlag alignment);
119 Qt::AlignmentFlag popupAlignment()
const;
127 void setPassivePopup(
bool passive);
132 bool isPassivePopup()
const;
137 bool isPopupShowing()
const;
143 bool isIconified()
const;
157 void showPopup(uint displayTime = 0);
172 virtual void popupEvent(
bool show);
177 QSizeF sizeHint(Qt::SizeHint which,
const QSizeF & constraint = QSizeF())
const;
182 void mousePressEvent(QGraphicsSceneMouseEvent *event);
187 void mouseReleaseEvent(QGraphicsSceneMouseEvent *event);
192 bool eventFilter(
QObject *watched, QEvent *event);
197 void dragEnterEvent(QGraphicsSceneDragDropEvent *event);
202 void dragLeaveEvent(QGraphicsSceneDragDropEvent *event);
207 void dropEvent(QGraphicsSceneDragDropEvent *event);
212 void timerEvent(QTimerEvent *event);
223 PopupApplet(
const QString &packagePath, uint appletId,
const QVariantList &args);
225 Q_PRIVATE_SLOT(d,
void internalTogglePopup())
226 Q_PRIVATE_SLOT(d,
void hideTimedPopup())
227 Q_PRIVATE_SLOT(d,
void clearPopupLostFocus())
228 Q_PRIVATE_SLOT(d,
void dialogSizeChanged())
229 Q_PRIVATE_SLOT(d,
void dialogStatusChanged(
bool))
230 Q_PRIVATE_SLOT(d,
void updateDialogPosition())
231 Q_PRIVATE_SLOT(d,
void appletActivated())
232 Q_PRIVATE_SLOT(d,
void iconSizeChanged(
int))
233 Q_PRIVATE_SLOT(d,
void statusChangeWhileShown(Plasma::
ItemStatus status))
236 friend class AppletPrivate;
238 friend class PopupAppletPrivate;
239 PopupAppletPrivate * const d;
This file is part of the KDE documentation.
Documentation copyright © 1996-2014 The KDE developers.
Generated on Thu Sep 25 2014 04:19:20 by
doxygen 1.8.3.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.