17 #ifndef GAZEBO_GUI_SAVEENTITYDIALOG_HH_ 18 #define GAZEBO_GUI_SAVEENTITYDIALOG_HH_ 29 class SaveEntityDialogPrivate;
59 public: std::string GetModelName()
const;
63 public: std::string GetSaveLocation()
const;
67 public:
void SetModelName(
const std::string &_name);
71 public:
void SetSaveLocation(
const std::string &_location);
75 public: std::string GetAuthorName()
const;
79 public: std::string GetAuthorEmail()
const;
83 public: std::string GetDescription()
const;
87 public: std::string GetVersion()
const;
94 public:
void AddDirToModelPaths(
const std::string &_path);
100 public: std::string GetFolderNameFromModelName(
const std::string
105 public:
bool OnSaveAs();
108 private slots:
void OnBrowse();
111 private slots:
void OnCancel();
114 private slots:
void OnAcceptSave();
118 private slots:
void ModelNameChangedOnDialog(QString _modelName);
121 private: std::string GetTemplateConfigString();
124 public:
void GenerateConfig();
127 public:
void SaveToConfig();
131 public:
void SaveToSDF(sdf::SDFPtr _modelSDF);
135 private slots:
void ToggleAdvancedOptions(
bool _checked);
139 private: SaveEntityDialogPrivate *dataPtr;
Forward declarations for the common classes.
Definition: Animation.hh:26
Save model.
Definition: SaveEntityDialog.hh:44
Dialog for saving to file.
Definition: SaveEntityDialog.hh:36
SaveMode
Unique identifiers for all dialog modes.
Definition: SaveEntityDialog.hh:42