• Skip to content
  • Skip to link menu
KDE 4.1 API Reference
  • KDE API Reference
  • API Reference
  • Sitemap
  • Contact Us
 

libplasma

dialog.h

Go to the documentation of this file.
00001 /***************************************************************************
00002  *   Copyright (C) 2007 by Alexis Ménard <darktears31@gmail.com>           *
00003  *   Copyright (C) 2007 Sebastian Kuegler <sebas@kde.org>                  *
00004  *   Copyright (C) 2006 Aaron Seigo <aseigo@kde.org>                       *
00005  *                                                                         *
00006  *   This program is free software; you can redistribute it and/or modify  *
00007  *   it under the terms of the GNU General Public License as published by  *
00008  *   the Free Software Foundation; either version 2 of the License, or     *
00009  *   (at your option) any later version.                                   *
00010  *                                                                         *
00011  *   This program is distributed in the hope that it will be useful,       *
00012  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00013  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00014  *   GNU General Public License for more details.                          *
00015  *                                                                         *
00016  *   You should have received a copy of the GNU General Public License     *
00017  *   along with this program; if not, write to the                         *
00018  *   Free Software Foundation, Inc.,                                       *
00019  *   51 Franklin Street, Fifth Floor, Boston, MA  02110-1301  USA .        *
00020  ***************************************************************************/
00021 
00022 #ifndef PLASMA_DIALOG_H
00023 #define PLASMA_DIALOG_H
00024 
00025 #include <QtGui/QWidget>
00026 #include <QtGui/QGraphicsSceneEvent>
00027 #include <QtGui/QGraphicsView>
00028 
00029 #include <plasma/plasma_export.h>
00030 
00031 namespace Plasma
00032 {
00033 
00034 class DialogPrivate;
00035 
00047 class PLASMA_EXPORT Dialog : public QWidget
00048 {
00049     Q_OBJECT
00050 
00051     public:
00056         explicit Dialog(QWidget * parent = 0, Qt::WindowFlags f =  Qt::Window);
00057         virtual ~Dialog();
00064         void position(QGraphicsSceneEvent *event, const QRectF boundingRect, QPointF scenePos);
00065 
00071         void position(QGraphicsView * view,const QRectF boundingRect,QPointF scenePos);
00072 
00073     protected:
00077         void paintEvent(QPaintEvent *e);
00078         void resizeEvent(QResizeEvent *e);
00079 
00080     private:
00081         DialogPrivate * const d;
00085         Q_PRIVATE_SLOT(d, void themeUpdated())
00086 };
00087 
00088 } // Plasma namespace
00089 
00090 #endif

libplasma

Skip menu "libplasma"
  • Main Page
  • Namespace List
  • Class Hierarchy
  • Alphabetical List
  • Class List
  • File List
  • Namespace Members
  • Class Members
  • Related Pages

API Reference

Skip menu "API Reference"
  • KWin
  •   KWin Libraries
  • Libraries
  •   libkworkspace
  •   libplasma
  •   libsolidcontrol
  •   libtaskmanager
  • Plasma
  •   Animators
  •   Applets
  •   Engines
  • Solid Modules
Generated for API Reference by doxygen 1.5.4
This website is maintained by Adriaan de Groot and Allen Winter.
KDE® and the K Desktop Environment® logo are registered trademarks of KDE e.V. | Legal