1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2014-2016 Jan BOON (Kaetemi) <jan.boon@kaetemi.be>
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.
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>
24 #include <QMainWindow>
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>
42 class CCommandLogDisplayer
;
46 class CPanoplyPreview
;
51 * \date 2014-09-19 09:38GMT
52 * \author Jan BOON (jan.boon@kaetemi.be)
54 class CMainWindow
: public QMainWindow
59 CMainWindow(const QMap
<QString
, QSize
> &customSizeHints
, QWidget
*parent
= 0, Qt::WindowFlags flags
= 0);
60 virtual ~CMainWindow();
62 inline QMenu
*widgetsMenu() { return m_WidgetsMenu
; }
70 void createToolBars();
71 void createStatusBar();
72 void createDockWindows();
75 CMainWindow(const CMainWindow
&);
76 CMainWindow
&operator=(const CMainWindow
&);
79 CPanoplyPreview
*m_PanoplyPreview
;
81 NLQT::CCommandLogDisplayer
*m_CommandLog
;
82 QDockWidget
*m_CommandLogDock
;
89 }; /* class CMainWindow */
91 } /* namespace NLTOOLS */
93 #endif /* #ifndef NLTOOLS_MAIN_WINDOW_H */