0.3.1
[qanava.git] / tests / layout / canMainWindow.h
blob4665923808582435b0f129313a20b7c572d9e356
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 "./qanGraph.h"
16 #include "../../src/qanGraphView.h"
17 #include "ui_canMainWindow.h"
20 // QT headers
21 #include <QMainWindow>
22 #include <QComboBox>
23 #include <QApplication>
26 //-----------------------------------------------------------------------------
27 //!
28 /*!
29 \nosubgrouping
31 class MainWindow : public QMainWindow, public Ui::MainWindow
33 Q_OBJECT
35 public:
37 MainWindow( QApplication* application, QWidget* parent = 0 );
39 virtual ~MainWindow( ) { }
41 private:
43 MainWindow( const MainWindow& );
45 MainWindow& operator=( const MainWindow& );
47 protected slots:
49 void layoutGraph( );
51 protected:
53 QApplication* _application;
54 qan::GraphView* _graphView;
55 QComboBox* _cbLayoutType;
56 qan::Layout* _layout;
58 //-----------------------------------------------------------------------------
61 #endif //