PrimeWorldEditor/UI/CStartWindow.h

47 lines
915 B
C
Raw Normal View History

#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;
CWorld *mpWorld;
CToken mWorldToken;
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