Dialog for saving the building model. More...
#include <FinishBuildingDialog.hh>
Public Types | |
enum | FinishMode { MODEL_FINISH, MODEL_SAVE } |
Unique identifiers for all dialog modes. More... | |
Public Member Functions | |
FinishBuildingDialog (int _mode=0, QWidget *_parent=0) | |
Constructor. More... | |
~FinishBuildingDialog () | |
Destructor. More... | |
std::string | GetModelName () const |
Get the building model name. More... | |
std::string | GetSaveLocation () const |
Get the save location. More... | |
void | SetModelName (const std::string &_name) |
Set the building model name. More... | |
void | SetSaveLocation (const std::string &_location) |
Set the save location. More... | |
Dialog for saving the building model.
gazebo::gui::FinishBuildingDialog::FinishBuildingDialog | ( | int | _mode = 0 , |
QWidget * | _parent = 0 |
||
) |
Constructor.
[in] | _mode | Mode of the dialog |
[in] | _parent | Parent QWidget. |
gazebo::gui::FinishBuildingDialog::~FinishBuildingDialog | ( | ) |
Destructor.
std::string gazebo::gui::FinishBuildingDialog::GetModelName | ( | ) | const |
Get the building model name.
std::string gazebo::gui::FinishBuildingDialog::GetSaveLocation | ( | ) | const |
Get the save location.
void gazebo::gui::FinishBuildingDialog::SetModelName | ( | const std::string & | _name | ) |
Set the building model name.
[in] | _name | Name to set the model to. |
void gazebo::gui::FinishBuildingDialog::SetSaveLocation | ( | const std::string & | _location | ) |
Set the save location.
[in] | _location | Location to save to. |