OpenMS  2.5.0
Public Slots | Public Member Functions | Static Public Member Functions | Protected Slots | Protected Attributes | Private Attributes | List of all members
TOPPASInputFileDialog Class Reference

Dialog which allows to specify an input file. More...

#include <OpenMS/VISUAL/DIALOGS/TOPPASInputFileDialog.h>

Inheritance diagram for TOPPASInputFileDialog:
QDialog

Public Slots

void showFileDialog ()
 Lets the user select the file via a file dialog. More...
 

Public Member Functions

 TOPPASInputFileDialog (const QString &file_name)
 Constructor. More...
 
 ~TOPPASInputFileDialog ()
 
QString getFilename ()
 Returns the filename. More...
 

Static Public Member Functions

static bool fileNameValid (const QString &file_name)
 Returns if the file name is valid (exists, is readable, and is not a directory) More...
 

Protected Slots

void checkValidity_ ()
 Called when OK is pressed; checks if the selected file is valid. More...
 

Protected Attributes

QObjectparent_
 The parent. More...
 

Private Attributes

Ui::TOPPASInputFileDialogTemplate * ui_
 

Detailed Description

Dialog which allows to specify an input file.

Constructor & Destructor Documentation

◆ TOPPASInputFileDialog()

TOPPASInputFileDialog ( const QString &  file_name)

Constructor.

◆ ~TOPPASInputFileDialog()

Member Function Documentation

◆ checkValidity_

void checkValidity_ ( )
protectedslot

Called when OK is pressed; checks if the selected file is valid.

◆ fileNameValid()

static bool fileNameValid ( const QString &  file_name)
static

Returns if the file name is valid (exists, is readable, and is not a directory)

◆ getFilename()

QString getFilename ( )

Returns the filename.

◆ showFileDialog

void showFileDialog ( )
slot

Lets the user select the file via a file dialog.

Member Data Documentation

◆ parent_

QObject* parent_
protected

The parent.

◆ ui_

Ui::TOPPASInputFileDialogTemplate* ui_
private