Loading [MathJax]/extensions/tex2jax.js
Antares Simulator
Power System Simulator
All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Modules Pages Concepts
Antares::Window::SaveAs Class Referencefinal

Save As Dialog More...

#include <saveas.h>

Inheritance diagram for Antares::Window::SaveAs:

Public Types

enum  { mnIDCollapsePanel = wxID_HIGHEST + 1 , mnIDEditStudyName , mnIDEditStudyFolderName , mnIDBrowse }
 

Public Member Functions

 SaveAs (wxFrame *parent)
 Constructor with a parent window and a study.
 
 SaveAs (wxFrame *parent, Data::Study::Ptr study)
 Constructor with a parent window and a study.
 
virtual ~SaveAs ()
 Destructor.
 

Static Public Member Functions

static SaveResult Execute (wxFrame *parent, Data::Study::Ptr study)
 Execute the SaveAs dialog and save the given study accordingly.
 

Study

Data::Study::Ptr study ()
 Get the attached study.
 
const Data::Study::Ptr study () const
 Get the attached study.
 
SaveResult result () const
 Get if the study has been saved.
 

Detailed Description

Save As Dialog

Member Function Documentation

◆ Execute()

SaveResult Antares::Window::SaveAs::Execute ( wxFrame * parent,
Data::Study::Ptr study )
static

Execute the SaveAs dialog and save the given study accordingly.

Parameters
parentThe parent window
studyThe study
Returns
True if the study has been saved, false otherwise (cancelled for example)

The documentation for this class was generated from the following files: