46 lines
899 B
C++
46 lines
899 B
C++
#ifndef PWESTARTWINDOW_H
|
|
#define PWESTARTWINDOW_H
|
|
|
|
#include <QMainWindow>
|
|
#include <Resource/CWorld.h>
|
|
#include <Core/CResCache.h>
|
|
#include "CModelEditorWindow.h"
|
|
#include "CWorldEditor.h"
|
|
|
|
namespace Ui {
|
|
class CStartWindow;
|
|
}
|
|
|
|
class CStartWindow : public QMainWindow
|
|
{
|
|
Q_OBJECT
|
|
Ui::CStartWindow *ui;
|
|
|
|
TResPtr<CWorld> 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
|