34 lines
567 B
C++
34 lines
567 B
C++
#ifndef MAINWINDOW_H
|
|
#define MAINWINDOW_H
|
|
|
|
#include <boost/filesystem.hpp>
|
|
#include <QMainWindow>
|
|
|
|
#include <business/projectmanager.h>
|
|
|
|
namespace Ember
|
|
{
|
|
|
|
class MainWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
|
|
public:
|
|
explicit MainWindow(ProjectManager* projectManager, QWidget *parent = 0);
|
|
virtual ~MainWindow();
|
|
|
|
private slots:
|
|
void showWelcomeDialog();
|
|
void newProject();
|
|
void openProject(boost::filesystem::path path);
|
|
|
|
private:
|
|
void setupUi();
|
|
void setupActions();
|
|
|
|
ProjectManager* m_projectManager;
|
|
};
|
|
|
|
}
|
|
#endif // MAINWINDOW_H
|