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;
gui
Definition KeyEventHandler.hh:29
Dialog for saving to file.
Definition ImportDialog.hh:34
void SetMessage(const std::string &_msg)
Set the message to be displayed.
~ImportDialog()
Destructor.
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.
void SetImportPath(const std::string &_path)
Set the import path of the custom link.
std::string GetImportPath() const
Get the import path of the custom link.
virtual void showEvent(QShowEvent *event)
Qt event emitted showing the dialog.
ImportDialog(QWidget *_parent=0)
Constructor.
Forward declarations for the common classes.
Definition Animation.hh:27