Fix manual.tex qmake configuration settings (thanks to Thomas K.!)
[qanava.git] / tests / qtmodel / canMainWindow.h
blob6cb70e9367c5267417a05e5f4abf615886fc1407
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/qanNode.h"
17 #include "../../src/qanGraphItemView.h"
18 #include "ui_canMainWindow.h"
21 // QT headers
22 #include <QMainWindow>
25 //-----------------------------------------------------------------------------
26 //!
27 /*!
28 \nosubgrouping
30 class MainWindow : public QMainWindow, public Ui::MainWindow
32 Q_OBJECT
34 public:
36 MainWindow( QApplication* application, QWidget* parent = 0 );
38 virtual ~MainWindow( ) { }
40 private:
42 MainWindow( const MainWindow& );
44 MainWindow& operator=( const MainWindow& );
46 qan::GraphItemView* _dirItemView;
48 QApplication* _application;
50 protected slots:
52 void layoutGraph( );
54 void expandNode( qan::Node* node );
56 //-----------------------------------------------------------------------------
59 #endif //