Important changes in the build configuration (add macx support, app instead of vcapp...
[qanava.git] / tests / large / canMainWindow.h
blob62f7275c91429c87f020b9dc84a54888f9a6acb7
1 //-----------------------------------------------------------------------------
2 // This file is a part of the Qanava software.
3 //
4 // \file canMainWindow.h
5 // \author Benoit Autheman (benoit@libqanava.org)
6 // \date 2005 November 11
7 //-----------------------------------------------------------------------------
10 #ifndef canMainWindow_h
11 #define canMainWindow_h
14 // Qanava headers
15 #include "../../src/la/laGraph.h"
16 #include "../../src/can/canGraphItemModel.h"
17 #include "../../src/can/canGraphItemView.h"
19 #include "ui_canMainWindow.h"
22 // QT headers
23 #include <QMainWindow>
24 #include <QComboBox>
27 //-----------------------------------------------------------------------------
28 //!
29 /*!
30 \nosubgrouping
32 class MainWindow : public QMainWindow, public Ui::MainWindow
34 Q_OBJECT
36 public:
38 MainWindow( QApplication* application, QWidget* parent = 0 );
40 virtual ~MainWindow( ) { }
42 private:
44 MainWindow( const MainWindow& );
46 MainWindow& operator=( const MainWindow& );
48 QComboBox* _cbGridType;
50 qan::can::GraphItemView* _graphItemView;
52 protected slots:
54 void loadGraph( );
56 protected:
58 qan::la::Graph* _graph;
60 QApplication* _application;
62 //-----------------------------------------------------------------------------
65 #endif //