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

Dialog which allows to specify the directory for the output files. More...

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

Inheritance diagram for TOPPASOutputFilesDialog:
QDialog

Public Slots

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

Public Member Functions

 TOPPASOutputFilesDialog (const QString &dir_name, int num_jobs)
 Constructor. More...
 
 ~TOPPASOutputFilesDialog ()
 
QString getDirectory ()
 Returns the name of the directory. More...
 
int getNumJobs ()
 Returns the maximum number of jobs in the spinbox. More...
 

Static Public Member Functions

static bool dirNameValid (const QString &dir_name)
 Returns if the directory is valid (is a directory and writable) More...
 

Protected Slots

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

Private Attributes

Ui::TOPPASOutputFilesDialogTemplate * ui_
 

Detailed Description

Dialog which allows to specify the directory for the output files.

Constructor & Destructor Documentation

◆ TOPPASOutputFilesDialog()

TOPPASOutputFilesDialog ( const QString &  dir_name,
int  num_jobs 
)

Constructor.

◆ ~TOPPASOutputFilesDialog()

Member Function Documentation

◆ checkValidity_

void checkValidity_ ( )
protectedslot

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

◆ dirNameValid()

static bool dirNameValid ( const QString &  dir_name)
static

Returns if the directory is valid (is a directory and writable)

◆ getDirectory()

QString getDirectory ( )

Returns the name of the directory.

◆ getNumJobs()

int getNumJobs ( )

Returns the maximum number of jobs in the spinbox.

◆ showFileDialog

void showFileDialog ( )
slot

Lets the user select the directory via a file dialog.

Member Data Documentation

◆ ui_

Ui::TOPPASOutputFilesDialogTemplate* ui_
private