Go to the documentation of this file.
17 #ifndef GAZEBO_GUI_MODEL_IMPORTDIALOG_HH_
18 #define GAZEBO_GUI_MODEL_IMPORTDIALOG_HH_
66 public:
void SetTitle(
const std::string &_title);
69 protected:
virtual void showEvent(QShowEvent *event);
72 private slots:
void OnBrowse();
75 private slots:
void OnCancel();
78 private slots:
void OnImport();
81 private: QLineEdit *nameLineEdit;
84 private: QLineEdit *pathLineEdit;
87 private: QLabel *messageLabel;
Forward declarations for the common classes.
Definition: Animation.hh:27
void SetImportPath(const std::string &_path)
Set the import path of the custom link.
~ImportDialog()
Destructor.
virtual void showEvent(QShowEvent *event)
Qt event emitted showing the dialog.
void SetMessage(const std::string &_msg)
Set the message to be displayed.
std::string GetLinkName() const
Get name of file.
void SetLinkName(const std::string &_name)
Set the name of the custom link.
void SetTitle(const std::string &_title)
Set the tile of the dialog.
ImportDialog(QWidget *_parent=0)
Constructor.
Dialog for saving to file.
Definition: ImportDialog.hh:34
gui
Definition: KeyEventHandler.hh:29
std::string GetImportPath() const
Get the import path of the custom link.