#ifndef PWESTARTWINDOW_H #define PWESTARTWINDOW_H #include #include #include #include "CModelEditorWindow.h" #include "CWorldEditor.h" namespace Ui { class CStartWindow; } class CStartWindow : public QMainWindow { Q_OBJECT Ui::CStartWindow *ui; TResPtr mpWorld; u32 mSelectedAreaIndex; CWorldEditor *mpWorldEditor; CModelEditorWindow *mpModelEditor; public: explicit CStartWindow(QWidget *parent = 0); ~CStartWindow(); private slots: void on_actionOpen_MLVL_triggered(); void on_AreaSelectComboBox_currentIndexChanged(int index); void on_AttachedAreasList_doubleClicked(const QModelIndex &index); void on_LaunchWorldEditorButton_clicked(); void on_actionLaunch_model_viewer_triggered(); private: void FillWorldUI(); void FillAreaUI(); }; #endif // PWESTARTWINDOW_H