1 // Copyright 2001-2018 Crytek GmbH / Crytek Group. All rights reserved.
3 #include "Controls/EditorDialog.h"
7 class CSaveLevelDialog
: public CEditorDialog
12 CSaveLevelDialog(const QString
& title
= tr("Save Level As"));
15 // return the levelFile as EnginePath after accept
16 QString
GetAcceptedLevelFile() const;
18 // return the levelFile as UserPath after accept
19 QString
GetAcceptedUserLevelFile() const;
21 // return the levelFile as AbsolutePath after accept
22 QString
GelAcceptedAbsoluteLevelFile() const;
25 // used for the last used file
26 void SelectLevelFile(const QString
& levelFile
);
29 // Triggered after the first paint - used to scroll to the last level in the tree
30 void AfterFirstPaint();
34 virtual void paintEvent(QPaintEvent
* event
) override
;
37 struct Implementation
;
38 std::unique_ptr
<Implementation
> p
;