Plasma
Go to the documentation of this file.
23 #ifndef PLASMA_DIALOG_H
24 #define PLASMA_DIALOG_H
26 #include <QtGui/QWidget>
27 #include <QtGui/QGraphicsSceneEvent>
28 #include <QtGui/QGraphicsView>
64 All = NorthEast | SouthEast | NorthWest | SouthWest
66 Q_DECLARE_FLAGS(ResizeCorners, ResizeCorner)
72 explicit
Dialog(
QWidget * parent = 0, Qt::WindowFlags f = Qt::Window);
92 void setResizeHandleCorners(ResizeCorners corners);
98 ResizeCorners resizeCorners() const;
103 bool isUserResizing() const;
113 void setMinimumResizeLimits(
int left,
int top,
int right,
int bottom);
123 void getMinimumResizeLimits(
int *left,
int *top,
int *right,
int *bottom);
130 void animatedHide(Plasma::
Direction direction);
137 void animatedShow(Plasma::
Direction direction);
155 void dialogResized();
160 void dialogVisible(
bool status);
171 void syncToGraphicsWidget();
177 void paintEvent(QPaintEvent *e);
178 bool event(QEvent *event);
179 void resizeEvent(QResizeEvent *e);
180 bool eventFilter(
QObject *watched, QEvent *event);
181 void hideEvent(QHideEvent *event);
182 void showEvent(QShowEvent *event);
183 void focusInEvent(QFocusEvent *event);
184 void mouseMoveEvent(QMouseEvent *event);
185 void mousePressEvent(QMouseEvent *event);
186 void mouseReleaseEvent(QMouseEvent *event);
187 void keyPressEvent(QKeyEvent *event);
188 void moveEvent(QMoveEvent *event);
195 bool inControlArea(const QPoint &point);
198 DialogPrivate *const d;
200 friend class DialogPrivate;
204 Q_PRIVATE_SLOT(d,
void themeChanged())
205 Q_PRIVATE_SLOT(d,
void checkBorders())
206 Q_PRIVATE_SLOT(d,
void delayedAdjustSize())
208 friend class PopupAppletPrivate;
213 Q_DECLARE_OPERATORS_FOR_FLAGS(Plasma::Dialog::ResizeCorners)
This file is part of the KDE documentation.
Documentation copyright © 1996-2013 The KDE developers.
Generated on Tue Jul 16 2013 17:48:40 by
doxygen 1.8.1.1 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.