Fixed crash in iTween network
[yamf.git] / examples / model / mainwindow.h
blobf25e397fbd582e02967e76e9fc565121e9b3a06e
1 /***************************************************************************
2 * Copyright (C) 2007 David Cuadrado *
3 * krawek@gmail.com *
4 * *
5 * This library is free software; you can redistribute it and/or *
6 * modify it under the terms of the GNU Lesser General Public *
7 * License as published by the Free Software Foundation; either *
8 * version 2.1 of the License, or (at your option) any later version. *
9 * *
10 * This library is distributed in the hope that it will be useful, *
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of *
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
13 * Lesser General Public License for more details. *
14 * *
15 * You should have received a copy of the GNU Lesser General Public *
16 * License along with this library; if not, write to the Free Software *
17 * Foundation, Inc., *
18 * 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA *
19 ***************************************************************************/
23 #ifndef MAINWINDOW_H
24 #define MAINWINDOW_H
26 #include <QMainWindow>
28 #include <drawing/view.h>
29 #include <model/project.h>
31 #include "ui_projectexplorer.h"
32 #include "ui_scenes.h"
34 /**
35 * @author David Cuadrado <krawek@gmail.com>
37 class MainWindow : public QMainWindow
39 Q_OBJECT
40 public:
41 MainWindow(QWidget *parent = 0);
42 ~MainWindow();
44 private slots:
45 void addScene();
46 void removeScene();
49 private:
50 Ui::Explorer explorerUi;
51 Ui::Scenes scenesUi;
52 YAMF::Drawing::View *m_view;
55 YAMF::Model::Project *m_project;
58 #endif