18 #ifndef _SAVE_DIALOG_HH_
19 #define _SAVE_DIALOG_HH_
47 public: std::string GetSaveName()
const;
51 public: std::string GetSaveLocation()
const;
55 public:
void SetSaveName(
const std::string &_name);
59 public:
void SetSaveLocation(
const std::string &_location);
63 public:
void SetMessage(
const std::string &_msg);
67 public:
void SetTitle(
const std::string &_title);
71 public:
void SetFileExtension(
const std::string &_extension);
74 protected:
virtual void showEvent(QShowEvent *_event);
77 private slots:
void OnBrowse();
80 private slots:
void OnCancel();
83 private slots:
void OnSave();
86 private: QLineEdit *nameLineEdit;
89 private: QLineEdit *locationLineEdit;
92 private: QLabel *messageLabel;
95 private: std::string fileExtension;
Dialog for saving to file.
Definition: SaveDialog.hh:34
#define GAZEBO_VISIBLE
Use to represent "symbol visible" if supported.
Definition: system.hh:48