Added aqua_speed for rite geo 50 tryker
[ryzomcore.git] / nel / tools / 3d / panoply_preview / main_window.h
blob681fba57e31be30307c8f6f09609d558564e2d65
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2014-2016 Jan BOON (Kaetemi) <jan.boon@kaetemi.be>
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #ifndef NLTOOLS_MAIN_WINDOW_H
18 #define NLTOOLS_MAIN_WINDOW_H
19 #include <nel/misc/types_nl.h>
21 // STL includes
23 // Qt includes
24 #include <QMainWindow>
26 // NeL includes
27 #include <nel/misc/rgba.h>
28 #include <nel/misc/ucstring.h>
29 #include <nel/misc/time_nl.h>
30 #include <nel/3d/animation_time.h>
31 #include <nel/net/login_cookie.h>
33 // Project includes
34 // ...
36 class QTreeView;
37 class QDirModel;
38 class QUndoStack;
39 class QScrollArea;
41 namespace NLQT {
42 class CCommandLogDisplayer;
45 namespace NLTOOLS {
46 class CPanoplyPreview;
48 /**
49 * CMainWindow
50 * \brief CMainWindow
51 * \date 2014-09-19 09:38GMT
52 * \author Jan BOON (jan.boon@kaetemi.be)
54 class CMainWindow : public QMainWindow
56 Q_OBJECT
58 public:
59 CMainWindow(const QMap<QString, QSize> &customSizeHints, QWidget *parent = 0, Qt::WindowFlags flags = 0);
60 virtual ~CMainWindow();
62 inline QMenu *widgetsMenu() { return m_WidgetsMenu; }
64 private slots:
65 void about();
67 private:
68 void createActions();
69 void createMenus();
70 void createToolBars();
71 void createStatusBar();
72 void createDockWindows();
74 private:
75 CMainWindow(const CMainWindow &);
76 CMainWindow &operator=(const CMainWindow &);
78 private:
79 CPanoplyPreview *m_PanoplyPreview;
81 NLQT::CCommandLogDisplayer *m_CommandLog;
82 QDockWidget *m_CommandLogDock;
84 QMenu *m_WidgetsMenu;
85 QMenu *m_HelpMenu;
87 QAction *m_AboutAct;
89 }; /* class CMainWindow */
91 } /* namespace NLTOOLS */
93 #endif /* #ifndef NLTOOLS_MAIN_WINDOW_H */
95 /* end of file */