#ifndef MAINWINDOW_H #define MAINWINDOW_H #include #include #include "graphwidget.h" namespace Ui { class MainWindow; } class MainWindow : public QMainWindow { Q_OBJECT public: explicit MainWindow(QWidget *parent = 0); ~MainWindow(); QStatusBar * getStatusBar(); QString getFileName() { return m_fileName; } void setFileName(QString fileName) { m_fileName = fileName; } public slots: void exportScene(); void about(); private: Ui::MainWindow *m_ui; GraphWidget *m_graphicsView; QString m_fileName; }; #endif // MAINWINDOW_H