Dialog for saving to file.
More...
#include <gui/gui.hh>
|
virtual void | showEvent (QShowEvent *_event) |
| Qt event emitted showing the dialog. More...
|
|
Dialog for saving to file.
gazebo::gui::SaveDialog::SaveDialog |
( |
QWidget * |
_parent = 0 | ) |
|
Constructor.
- Parameters
-
[in] | _parent | Parent QWidget. |
gazebo::gui::SaveDialog::~SaveDialog |
( |
| ) |
|
std::string gazebo::gui::SaveDialog::GetSaveLocation |
( |
| ) |
const |
Get the save location.
- Returns
- Path of the save location.
std::string gazebo::gui::SaveDialog::GetSaveName |
( |
| ) |
const |
Get name of file.
- Returns
- The name of file.
void gazebo::gui::SaveDialog::SetFileExtension |
( |
const std::string & |
_extension | ) |
|
Set the file extension.
- Parameters
-
[in] | _extension | File extension. |
void gazebo::gui::SaveDialog::SetMessage |
( |
const std::string & |
_msg | ) |
|
Set the message to be displayed.
- Parameters
-
[in] | _msg | Message to be displayed. |
void gazebo::gui::SaveDialog::SetSaveLocation |
( |
const std::string & |
_location | ) |
|
Set the save location.
- Parameters
-
[in] | _location | Location to save to. |
void gazebo::gui::SaveDialog::SetSaveName |
( |
const std::string & |
_name | ) |
|
Set the name to save as.
- Parameters
-
void gazebo::gui::SaveDialog::SetTitle |
( |
const std::string & |
_title | ) |
|
Set the tile of the dialog.
- Parameters
-
[in] | _title | Title of dialog. |
virtual void gazebo::gui::SaveDialog::showEvent |
( |
QShowEvent * |
_event | ) |
|
|
protectedvirtual |
Qt event emitted showing the dialog.
The documentation for this class was generated from the following file: