annotate src/AboutDialogGraphicsView.h @ 751:ac165b6ae67e

Done some refactoring: - Moved includes into the cpp files where possible and using class pre-declarations if possible - Made class member variable names begin with an underscore - Made by uic created header files be used as class members instead of inherting them - Renamed some variables to reflect their purpose better - Added some NULL initializations and added some comments - Rearranged some include and declaration code parts to be consistent and better readable - Updated for QScintilla 2.4.5 - Made UiGuiSettings be accessed via a shared pointer only git-svn-id: svn://svn.code.sf.net/p/universalindent/code/trunk@1028 59b1889a-e5ac-428c-b0c7-476e01d41282
author thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
date Thu, 14 Oct 2010 19:52:47 +0000
parents b30f03c1a40d
children f3631db17328
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
406
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
1 /***************************************************************************
727
aae5a8d04f70 Updated comment copyright year.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 714
diff changeset
2 * Copyright (C) 2006-2010 by Thomas Schweitzer *
406
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
3 * thomas-schweitzer(at)arcor.de *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
4 * *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
5 * This program is free software; you can redistribute it and/or modify *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
6 * it under the terms of the GNU General Public License version 2.0 as *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
7 * published by the Free Software Foundation. *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
8 * *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
9 * This program is distributed in the hope that it will be useful, *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
12 * GNU General Public License for more details. *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
13 * *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
14 * You should have received a copy of the GNU General Public License *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
15 * along with this program in the file LICENSE.GPL; if not, write to the *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
16 * Free Software Foundation, Inc., *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
17 * 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. *
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
18 ***************************************************************************/
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
19 #ifndef ABOUTDIALOGGRAPHICSVIEW_H
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
20 #define ABOUTDIALOGGRAPHICSVIEW_H
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
21
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
22 #include <QGraphicsView>
751
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
23
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
24 class AboutDialog;
406
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
25
751
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
26 class QTimeLine;
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
27 class QSplashScreen;
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
28
406
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
29
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
30 class AboutDialogGraphicsView : public QGraphicsView
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
31 {
714
3363b7bb0d41 Once more let Uncrustify reformat my code.
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 648
diff changeset
32 Q_OBJECT
406
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
33 public:
751
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
34 AboutDialogGraphicsView(AboutDialog *aboutDialog, QWidget *parentWindow = NULL);
406
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
35 ~AboutDialogGraphicsView(void);
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
36
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
37 public slots:
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
38 void show();
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
39 void hide();
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
40
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
41 private slots:
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
42 void updateStep(int step);
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
43 void showAboutDialog();
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
44 void hideReally();
751
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
45
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
46 private:
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
47 AboutDialog *_aboutDialog;
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
48 QGraphicsProxyWidget *_graphicsProxyWidget;
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
49 QWidget *_parentWindow;
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
50 QTimeLine *_timeLine;
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
51 QSplashScreen *_aboutDialogAsSplashScreen;
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
52 int _windowTitleBarWidth;
ac165b6ae67e Done some refactoring:
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents: 745
diff changeset
53 int _windowPosOffset;
406
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
54 };
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
55
cd5b54430964 Added some preparations for animated about dialog using QGraphicsView. But this needs Qt 4.4 so the code needs to be tested whether it runs on qt 4.3.x
thomas_-_s <thomas_-_s@59b1889a-e5ac-428c-b0c7-476e01d41282>
parents:
diff changeset
56 #endif // ABOUTDIALOGGRAPHICSVIEW_H