Public Member Functions | Protected Member Functions | List of all members
gazebo::gui::ImportDialog Class Reference

Dialog for saving to file. More...

#include <ImportDialog.hh>

Inheritance diagram for gazebo::gui::ImportDialog:
Inheritance graph
[legend]

Public Member Functions

 ImportDialog (QWidget *_parent=0)
 Constructor. More...
 
 ~ImportDialog ()
 Destructor. More...
 
std::string GetImportPath () const
 Get the import path of the custom link. More...
 
std::string GetLinkName () const
 Get name of file. More...
 
void SetImportPath (const std::string &_path)
 Set the import path of the custom link. More...
 
void SetLinkName (const std::string &_name)
 Set the name of the custom link. More...
 
void SetMessage (const std::string &_msg)
 Set the message to be displayed. More...
 
void SetTitle (const std::string &_title)
 Set the tile of the dialog. More...
 

Protected Member Functions

virtual void showEvent (QShowEvent *event)
 Qt event emitted showing the dialog. More...
 

Detailed Description

Dialog for saving to file.

Constructor & Destructor Documentation

gazebo::gui::ImportDialog::ImportDialog ( QWidget *  _parent = 0)

Constructor.

Parameters
[in]_parentParent QWidget.
gazebo::gui::ImportDialog::~ImportDialog ( )

Destructor.

Member Function Documentation

std::string gazebo::gui::ImportDialog::GetImportPath ( ) const

Get the import path of the custom link.

Returns
Path of the custom location.
std::string gazebo::gui::ImportDialog::GetLinkName ( ) const

Get name of file.

Returns
The name of file.
void gazebo::gui::ImportDialog::SetImportPath ( const std::string &  _path)

Set the import path of the custom link.

Parameters
[in]_pathPath to import the custom link.
void gazebo::gui::ImportDialog::SetLinkName ( const std::string &  _name)

Set the name of the custom link.

Parameters
[in]_nameName of file.
void gazebo::gui::ImportDialog::SetMessage ( const std::string &  _msg)

Set the message to be displayed.

Parameters
[in]_msgMessage to be displayed.
void gazebo::gui::ImportDialog::SetTitle ( const std::string &  _title)

Set the tile of the dialog.

Parameters
[in]_titleTitle of dialog.
virtual void gazebo::gui::ImportDialog::showEvent ( QShowEvent *  event)
protectedvirtual

Qt event emitted showing the dialog.


The documentation for this class was generated from the following file: