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"
18 #include "ui_canMainWindow.h"
22 #include <QMainWindow>
26 //-----------------------------------------------------------------------------
31 class MainWindow
: public QMainWindow
, public Ui::MainWindow
37 MainWindow( QWidget
* parent
= 0 );
39 virtual ~MainWindow( ) { }
43 MainWindow( const MainWindow
& );
45 MainWindow
& operator=( const MainWindow
& );
47 QComboBox
* _cbGridType
;
49 qan::GraphView
* _graphView
;
53 void gridChanged( int index
);
55 void selectNode( qan::Node
* node
, QPoint p
);
57 void showNodeTooltip( qan::Node
* node
, QPoint p
);
61 //-----------------------------------------------------------------------------