OpenMS
FLASHDeconvTabWidget Class Reference

A multi-tabbed widget for the FLASHDeconvWizard offering setting of parameters, input-file specification and running FLASHDeconv and more. More...

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

Inheritance diagram for FLASHDeconvTabWidget:
[legend]
Collaboration diagram for FLASHDeconvTabWidget:
[legend]

Public Member Functions

 FLASHDeconvTabWidget (QWidget *parent=nullptr)
 constructor More...
 
 ~FLASHDeconvTabWidget ()
 Destructor. More...
 
StringList getMzMLInputFiles () const
 get all the input mzML files as a string list More...
 

Private Slots

void on_run_fd_clicked ()
 
void on_edit_advanced_parameters_clicked ()
 
void on_open_output_directory_clicked ()
 
void broadcastNewCWD_ (const QString &new_cwd)
 update the current working directory for all file input fields More...
 

Private Member Functions

void updateFLASHDeconvParamFromWidgets_ ()
 collect all parameters throughout the Wizard's controls and update 'flashdeconv_param_' More...
 
void updateOutputParamFromWidgets_ ()
 collect output format parameters from the Wizard's control and update 'flashdeconv_output_tags_' More...
 
void updateOutputParamFromPerInputFile (const QString &input_file_name)
 update 'flashdeconv_param_outputs' with given input file name More...
 
void setWidgetsfromFDDefaultParam_ ()
 update Widgets given a param object More...
 
QString getCurrentOutDir_ () const
 where to write output More...
 
void writeLog_ (const QString &text, const QColor &color="#000000", bool new_section=false)
 
void writeLog_ (const String &text, const QColor &color="#000000", bool new_section=false)
 convenient overload for String More...
 
bool checkFDInputReady_ ()
 

Private Attributes

Ui::FLASHDeconvTabWidget * ui
 
Param flashdeconv_param_
 the global FLASHDeconv parameters which will be passed to FLASHDeconv.exe, once updated with parameters the Wizard holds separately More...
 
Param flashdeconv_param_outputs_
 Parameter set for different output formats. More...
 
StringList flashdeconv_output_tags_
 list of output parameter names checked by the user More...
 
ExternalProcessMBox ep_
 to run external programs and pipe their output into our log More...
 

Friends

template<typename >
class WizardGUILock
 

Detailed Description

A multi-tabbed widget for the FLASHDeconvWizard offering setting of parameters, input-file specification and running FLASHDeconv and more.

Constructor & Destructor Documentation

◆ FLASHDeconvTabWidget()

FLASHDeconvTabWidget ( QWidget parent = nullptr)
explicit

constructor

◆ ~FLASHDeconvTabWidget()

Destructor.

Member Function Documentation

◆ broadcastNewCWD_

void broadcastNewCWD_ ( const QString &  new_cwd)
privateslot

update the current working directory for all file input fields

◆ checkFDInputReady_()

bool checkFDInputReady_ ( )
private

Ensure all input widgets are filled with data by the user to run FLASHDeconv If anything is missing: show a Messagebox and return false.

◆ getCurrentOutDir_()

QString getCurrentOutDir_ ( ) const
private

where to write output

◆ getMzMLInputFiles()

StringList getMzMLInputFiles ( ) const

get all the input mzML files as a string list

◆ on_edit_advanced_parameters_clicked

void on_edit_advanced_parameters_clicked ( )
privateslot

◆ on_open_output_directory_clicked

void on_open_output_directory_clicked ( )
privateslot

◆ on_run_fd_clicked

void on_run_fd_clicked ( )
privateslot

◆ setWidgetsfromFDDefaultParam_()

void setWidgetsfromFDDefaultParam_ ( )
private

update Widgets given a param object

◆ updateFLASHDeconvParamFromWidgets_()

void updateFLASHDeconvParamFromWidgets_ ( )
private

collect all parameters throughout the Wizard's controls and update 'flashdeconv_param_'

◆ updateOutputParamFromPerInputFile()

void updateOutputParamFromPerInputFile ( const QString &  input_file_name)
private

update 'flashdeconv_param_outputs' with given input file name

◆ updateOutputParamFromWidgets_()

void updateOutputParamFromWidgets_ ( )
private

collect output format parameters from the Wizard's control and update 'flashdeconv_output_tags_'

◆ writeLog_() [1/2]

void writeLog_ ( const QString &  text,
const QColor &  color = "#000000",
bool  new_section = false 
)
private

append text to the log tab

Parameters
textThe text to write
colorColor for the text
new_sectionStart a new block with a date and time

◆ writeLog_() [2/2]

void writeLog_ ( const String text,
const QColor &  color = "#000000",
bool  new_section = false 
)
private

convenient overload for String

Friends And Related Function Documentation

◆ WizardGUILock

friend class WizardGUILock
friend

Member Data Documentation

◆ ep_

ExternalProcessMBox ep_
private

to run external programs and pipe their output into our log

◆ flashdeconv_output_tags_

StringList flashdeconv_output_tags_
private

list of output parameter names checked by the user

◆ flashdeconv_param_

Param flashdeconv_param_
private

the global FLASHDeconv parameters which will be passed to FLASHDeconv.exe, once updated with parameters the Wizard holds separately

◆ flashdeconv_param_outputs_

Param flashdeconv_param_outputs_
private

Parameter set for different output formats.

◆ ui

Ui::FLASHDeconvTabWidget* ui
private