All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
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]
Collaboration diagram for gazebo::gui::ImportDialog:
Collaboration 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 part. More...
 
std::string GetPartName () const
 Get name of file. More...
 
void SetImportPath (const std::string &_path)
 Set the import path of the custom part. More...
 
void SetMessage (const std::string &_msg)
 Set the message to be displayed. More...
 
void SetPartName (const std::string &_name)
 Set the name of the custom part. 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 part.

Returns
Path of the custom location.
std::string gazebo::gui::ImportDialog::GetPartName ( ) 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 part.

Parameters
[in]_pathPath to import the custom part.
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::SetPartName ( const std::string &  _name)

Set the name of the custom part.

Parameters
[in]_nameName of file.
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: