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);
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;
213Q_DECLARE_OPERATORS_FOR_FLAGS(
Plasma::
Dialog::ResizeCorners)
A dialog that uses the Plasma style.
void dialogResized()
Fires when the dialog automatically resizes.
void dialogVisible(bool status)
Emit a signal when the dialog become visible/invisible.
ResizeCorner
Use these flags to choose the active resize corners.
Namespace for everything in libplasma.
AspectRatioMode
Defines the aspect ratio used when scaling an applet.
Direction
The Direction enumeration describes in which direction, relative to the Applet (and its managing cont...
This file is part of the KDE documentation.
Documentation copyright © 1996-2024 The KDE developers.
Generated on Thu Jul 18 2024 00:00:00 by
doxygen 1.12.0 written
by
Dimitri van Heesch, © 1997-2006
KDE's Doxygen guidelines are available online.