ImportDialog Class Reference

Dialog for saving to file. More...

#include <ImportDialog.hh>

Inherits QDialog.

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

ImportDialog ( QWidget *  _parent = 0)
explicit

Constructor.

Parameters
[in]_parentParent QWidget.

Destructor.

Member Function Documentation

std::string GetImportPath ( ) const

Get the import path of the custom link.

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

Get name of file.

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

Set the import path of the custom link.

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

Set the name of the custom link.

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

Set the message to be displayed.

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

Set the tile of the dialog.

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

Qt event emitted showing the dialog.


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