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);
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)
AspectRatioMode
Defines the aspect ratio used when scaling an applet.
Namespace for everything in libplasma.
A dialog that uses the Plasma style.
Direction
The Direction enumeration describes in which direction, relative to the Applet (and its managing cont...
ResizeCorner
Use these flags to choose the active resize corners.
This file is part of the KDE documentation.
Documentation copyright © 1996-2020 The KDE developers.
Generated on Sun Jan 19 2020 00:00:00 by
doxygen 1.8.17 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.