OpenMS
2.7.0
|
A simple widget with a line-edit and a browse button to choose filenames. More...
#include <OpenMS/VISUAL/OutputDirectory.h>
Public Slots | |
void | showFileDialog () |
Lets the user select the file via a file dialog. More... | |
Signals | |
void | directoryChanged (const QString &dir) |
emitted whenever the outputdirectory is changed (also when setDirectory() is used) More... | |
Public Member Functions | |
OutputDirectory (QWidget *parent) | |
Constructor. More... | |
~OutputDirectory () | |
Destructor. More... | |
void | setDirectory (const QString &dir) |
Sets the text in the line-edit. More... | |
QString | getDirectory () const |
return the directory currently set (does not need to be valid) More... | |
bool | dirNameValid () const |
check if the current directory exists and is writeable More... | |
Private Slots | |
void | textEditChanged_ (const QString &new_text) |
forward internal textEdit::textChanged to directoryChanged signal More... | |
Private Attributes | |
Ui::OutputDirectoryTemplate * | ui_ |
A simple widget with a line-edit and a browse button to choose filenames.
OutputDirectory | ( | QWidget * | parent | ) |
Constructor.
~OutputDirectory | ( | ) |
Destructor.
|
signal |
emitted whenever the outputdirectory is changed (also when setDirectory() is used)
bool dirNameValid | ( | ) | const |
check if the current directory exists and is writeable
QString getDirectory | ( | ) | const |
return the directory currently set (does not need to be valid)
void setDirectory | ( | const QString & | dir | ) |
Sets the text in the line-edit.
|
slot |
Lets the user select the file via a file dialog.
|
privateslot |
forward internal textEdit::textChanged to directoryChanged signal
|
private |