FactDev  0.1
Gui::Widgets::Path::ChosePathWidget Class Reference

The ChoseDirectoryWidget class Open a QFileDialog.and display path in textfield. More...

#include <chosepathwidget.h>

Inheritance diagram for Gui::Widgets::Path::ChosePathWidget:
Gui::Widgets::Path::ChoseDirectoryWidget Gui::Widgets::Path::ChoseFileWidget

Public Slots

virtual void fillField ()
 fillField Fill the textfield with path information
 

Signals

void textChanged ()
 textChanged Signal is send when path changed.
 

Public Member Functions

 ChosePathWidget (QWidget *parent=0)
 ChoseFileWidget Construct a choseFileWidget. More...
 
void setField (QString text)
 setField Change the path in textfield More...
 
QString getField ()
 getField The text in field More...
 
virtual QString getDefaultLocation ()
 getDefaultLocation The default location when we open popup. In default case, it's ~/Documents More...
 

Protected Attributes

Ui::ChosePathWidget * ui
 

Detailed Description

The ChoseDirectoryWidget class Open a QFileDialog.and display path in textfield.

Constructor & Destructor Documentation

Gui::Widgets::Path::ChosePathWidget::ChosePathWidget ( QWidget *  parent = 0)
explicit

ChoseFileWidget Construct a choseFileWidget.

Parameters
parentThe parent widget

Member Function Documentation

QString Gui::Widgets::Path::ChosePathWidget::getDefaultLocation ( )
virtual

getDefaultLocation The default location when we open popup. In default case, it's ~/Documents

Returns
The default location
QString Gui::Widgets::Path::ChosePathWidget::getField ( void  )

getField The text in field

Returns
The path text
void Gui::Widgets::Path::ChosePathWidget::setField ( QString  text)

setField Change the path in textfield

Parameters
textThe new text

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