UniversalIndentGUI 1.2.0
|
00001 /*************************************************************************** 00002 * Copyright (C) 2006-2012 by Thomas Schweitzer * 00003 * thomas-schweitzer(at)arcor.de * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License version 2.0 as * 00007 * published by the Free Software Foundation. * 00008 * * 00009 * This program is distributed in the hope that it will be useful, * 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * 00012 * GNU General Public License for more details. * 00013 * * 00014 * You should have received a copy of the GNU General Public License * 00015 * along with this program in the file LICENSE.GPL; if not, write to the * 00016 * Free Software Foundation, Inc., * 00017 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * 00018 ***************************************************************************/ 00019 #ifndef ABOUTDIALOGGRAPHICSVIEW_H 00020 #define ABOUTDIALOGGRAPHICSVIEW_H 00021 00022 #include <QGraphicsView> 00023 00024 class AboutDialog; 00025 00026 class QTimeLine; 00027 class QSplashScreen; 00028 00029 00030 class AboutDialogGraphicsView : public QGraphicsView 00031 { 00032 Q_OBJECT 00033 public: 00034 AboutDialogGraphicsView(AboutDialog *aboutDialog, QWidget *parentWindow = NULL); 00035 ~AboutDialogGraphicsView(void); 00036 00037 public slots: 00038 void show(); 00039 void hide(); 00040 00041 private slots: 00042 void updateStep(int step); 00043 void showAboutDialog(); 00044 void hideReally(); 00045 00046 private: 00047 AboutDialog *_aboutDialog; 00048 QGraphicsProxyWidget *_graphicsProxyWidget; 00049 QWidget *_parentWindow; 00050 QTimeLine *_timeLine; 00051 QSplashScreen *_aboutDialogAsSplashScreen; 00052 int _windowTitleBarWidth; 00053 int _windowPosOffset; 00054 }; 00055 00056 #endif // ABOUTDIALOGGRAPHICSVIEW_H