OpenMS
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:
[legend]
Collaboration diagram for TOPPASOutputFilesDialog:
[legend]

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 () override
 
QString getDirectory () const
 Returns the name of the directory. More...
 
int getNumJobs () const
 Returns the maximum number of jobs in the spinbox. 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()

~TOPPASOutputFilesDialog ( )
override

Member Function Documentation

◆ checkValidity_

void checkValidity_ ( )
protectedslot

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

◆ getDirectory()

QString getDirectory ( ) const

Returns the name of the directory.

◆ getNumJobs()

int getNumJobs ( ) const

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