Linux multi-monitor fullscreen support
[ryzomcore.git] / nel / samples / 3d / qtnel / qnelwindow.h
blob7f47a702267dfb5d31d042d396511716c7b6cc3f
1 // NeL - MMORPG Framework <http://dev.ryzom.com/projects/nel/>
2 // Copyright (C) 2010 Winch Gate Property Limited
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 NL_QNELWINDOW_H
18 #define NL_QNELWINDOW_H
20 ///-----------------------------------------------------------------------------
21 /// C++ includes
22 #include <iostream>
23 #include <string>
24 #include <map>
25 #include <cstdlib>
26 #include <cmath>
28 ///-----------------------------------------------------------------------------
29 /// Windowing Toolkit includes.
30 #include <QMainWindow>
32 ///-----------------------------------------------------------------------------
33 /// The CameraTrack class which holds the objects and information to render
34 /// the terrain.
35 class QNelWindow : public QMainWindow {
36 Q_OBJECT
37 public:
38 //explicit QNelWindow (QWidget *parent=0, Qt::WFlags f=0) : QMainWindow (parent, f) { initWindow(); }
39 explicit QNelWindow (QWidget *parent=0, Qt::WFlags f=0);
40 virtual ~QNelWindow() { }
44 public slots:
46 protected:
47 void initWindow();
49 //CameraTrackWidget *myWidget;
50 //CameraTrackWidget *myWidget2;
53 #endif // NL_QNELWINDOW_H