Plasma
appletmovespacer.h
Go to the documentation of this file.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020 #ifndef APPLETMOVESPACER_H
00021 #define APPLETMOVESPACER_H
00022
00023 #include <QGraphicsWidget>
00024
00025 namespace Plasma {
00026 class FrameSvg;
00027 }
00028
00029 class AppletMoveSpacer : public QGraphicsWidget
00030 {
00031 Q_OBJECT
00032
00033 public:
00034 AppletMoveSpacer(QGraphicsWidget *parent);
00035 ~AppletMoveSpacer();
00036
00037 protected:
00038 void resizeEvent(QGraphicsSceneResizeEvent *event);
00039 void dropEvent(QGraphicsSceneDragDropEvent *event);
00040
00041 void paint(QPainter *painter, const QStyleOptionGraphicsItem *option, QWidget *widget = 0);
00042
00043 Q_SIGNALS:
00044 void dropRequested(QGraphicsSceneDragDropEvent *event);
00045
00046 private:
00047 Plasma::FrameSvg *m_background;
00048 };
00049
00050 #endif