1 //-----------------------------------------------------------------------------
2 // This file is a part of the Qanava software.
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
15 #include "./qanGraph.h"
16 #include "../../src/qanGraphView.h"
19 #include "ui_canMainWindow.h"
23 #include <QMainWindow>
27 //-----------------------------------------------------------------------------
32 class MainWindow
: public QMainWindow
, public Ui::MainWindow
38 MainWindow( QWidget
* parent
= 0 );
40 virtual ~MainWindow( ) { }
44 MainWindow( const MainWindow
& );
46 MainWindow
& operator=( const MainWindow
& );
48 QComboBox
* _cbGridType
;
50 qan::GraphView
* _graphView
;
54 void gridChanged( int index
);
56 void selectNode( qan::Node
* node
, QPoint p
);
58 void showNodeTooltip( qan::Node
* node
, QPoint p
);
64 QComboBox
* _cbLayoutType
;
66 //-----------------------------------------------------------------------------