18 #ifndef BROWSELINEEDIT_H 
   19 #define BROWSELINEEDIT_H 
   23 #include <QFileDialog> 
   24 #include <QPushButton> 
   32   namespace ParameterGui
 
   88         void setText(
const QString &str);
 
void editing_finished()
This slot should be always called, if editing is finished. 
 
void browse()
This function opens a file- or a directory dialog as specified in the constructor. 
 
BrowseLineEdit(const BrowseType type=file, QWidget *parent=0)
Constructor. 
 
QPushButton * browse_button
The browse button. 
Definition: browse_lineedit.h:115
 
QLineEdit * line_editor
The line editor. 
Definition: browse_lineedit.h:111
 
QSize sizeHint() const 
Reimplemented from the QWidget class. 
 
BrowseType
The browse button opens a file or a directory dialog. 
Definition: browse_lineedit.h:58
 
void editingFinished()
This signal will be emitted, if editing is finished. 
 
Definition: browse_lineedit.h:58
 
The BrowseLineEdit class provides a special line editor for the parameterGUI. 
Definition: browse_lineedit.h:48
 
Definition: browse_lineedit.h:58
 
void setText(const QString &str)
A slot to set str as text of the line editor. 
 
BrowseType browse_type
This pattern stores the type of the browse dialog. 
Definition: browse_lineedit.h:82
 
QSize minimumSizeHint() const 
Reimplemented from the QWidget class. 
 
QString text() const 
Returns the text of the line editor.