1
0
Fork 0
mirror of https://github.com/OpenMW/openmw.git synced 2025-01-23 02:53:55 +00:00
openmw/apps/opencs/view/doc/newgame.hpp

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
932 B
C++
Raw Normal View History

#ifndef CSV_DOC_NEWGAME_H
#define CSV_DOC_NEWGAME_H
#include <filesystem>
2013-09-10 14:45:01 +00:00
#include <QDialog>
2013-09-10 14:45:01 +00:00
#include <QMetaType>
#ifndef CS_QT_BOOST_FILESYSTEM_PATH_DECLARED
#define CS_QT_BOOST_FILESYSTEM_PATH_DECLARED
Q_DECLARE_METATYPE (std::filesystem::path)
#endif
class QPushButton;
namespace CSVDoc
{
class FileWidget;
2013-09-10 14:45:01 +00:00
class AdjusterWidget;
class NewGameDialogue : public QDialog
{
Q_OBJECT
QPushButton *mCreate;
FileWidget *mFileWidget;
2013-09-10 14:45:01 +00:00
AdjusterWidget *mAdjusterWidget;
public:
NewGameDialogue();
void setLocalData (const std::filesystem::path& localData);
2013-09-10 14:45:01 +00:00
signals:
void createRequest (const std::filesystem::path& file);
void cancelCreateGame ();
private slots:
void stateChanged (bool valid);
void create();
void reject() override;
};
}
#endif