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()

ImportDialog ( QWidget *  _parent = 0)
explicit

Constructor.

Parameters
[in]_parentParent QWidget.

◆ ~ImportDialog()

Destructor.

Member Function Documentation

◆ GetImportPath()

std::string GetImportPath ( ) const

Get the import path of the custom link.

Returns
Path of the custom location.

◆ GetLinkName()

std::string GetLinkName ( ) const

Get name of file.

Returns
The name of file.

◆ SetImportPath()

void SetImportPath ( const std::string &  _path)

Set the import path of the custom link.

Parameters
[in]_pathPath to import the custom link.

◆ SetLinkName()

void SetLinkName ( const std::string &  _name)

Set the name of the custom link.

Parameters
[in]_nameName of file.

◆ SetMessage()

void SetMessage ( const std::string &  _msg)

Set the message to be displayed.

Parameters
[in]_msgMessage to be displayed.

◆ SetTitle()

void SetTitle ( const std::string &  _title)

Set the tile of the dialog.

Parameters
[in]_titleTitle of dialog.

◆ showEvent()

virtual void showEvent ( QShowEvent *  event)
protectedvirtual

Qt event emitted showing the dialog.


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