WSF
CreateNewFile.hpp
Go to the documentation of this file.
1// ****************************************************************************
2// CUI
3//
4// The Advanced Framework for Simulation, Integration, and Modeling (AFSIM)
5//
6// Copyright 2003-2015 The Boeing Company. All rights reserved.
7//
8// The use, dissemination or disclosure of data in this file is subject to
9// limitation or restriction. See accompanying README and LICENSE for details.
10// ****************************************************************************
11
12#ifndef CREATENEWFILE_HPP
13#define CREATENEWFILE_HPP
14
15#include <QDialog>
16#include <QMainWindow>
17
18#include "ui_CreateNewFile.h"
19
20class UtPath;
21
22namespace wizard
23{
24class Project;
25
26class CreateNewFile : public QDialog
27{
28public:
29 CreateNewFile(QMainWindow* aMainWindowPtr, const std::string& aApplicationName);
30 ~CreateNewFile() override = default;
31 void Open(Project* aProjectPtr, const UtPath& aInitialDirectory);
32
33 void OkClick();
34 void CancelClick();
35 void BrowseClick();
37
38private:
39 Ui::CreateNewFile mUI;
40 std::string mApplicationName;
41};
42} // namespace wizard
43
44#endif
Project * mProjectPtr
Definition CreateNewFile.hpp:36
~CreateNewFile() override=default
CreateNewFile(QMainWindow *aMainWindowPtr, const std::string &aApplicationName)
Definition CreateNewFile.cpp:26
void CancelClick()
Definition CreateNewFile.cpp:72
void OkClick()
Definition CreateNewFile.cpp:38
void BrowseClick()
Definition CreateNewFile.cpp:77
void Open(Project *aProjectPtr, const UtPath &aInitialDirectory)
Definition CreateNewFile.cpp:86
A WSF 'project'. Manages WSF sources files in a WSF project.
Definition Project.hpp:66
Definition Runner.hpp:22
Copyrights Multiple, All Rights Reserved