OpenMS  2.8.0
Public Member Functions | Protected Slots | Private Attributes | List of all members
TOPPASToolConfigDialog Class Reference

TOPP tool configuration dialog. More...

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

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

Public Member Functions

 TOPPASToolConfigDialog (QWidget *parent, Param &param, const String &default_dir, const String &tool_name, const String &tool_type, const String &tool_desc, const QVector< String > &hidden_entries)
 Constructor. More...
 
 ~TOPPASToolConfigDialog () override
 Destructor. More...
 

Protected Slots

void ok_ ()
 Slot for OK button. More...
 
void loadINI_ ()
 loads an ini-file into the editor_ More...
 
void storeINI_ ()
 stores an ini-file from the editor_ More...
 

Private Attributes

ParamEditoreditor_
 ParamEditor for reading ini-files. More...
 
Paramparam_
 The param we are editing. More...
 
Param arg_param_
 Param for loading the ini-file. More...
 
String default_dir_
 default-dir of ini-file to open More...
 
QString filename_
 name of ini-file More...
 
String tool_name_
 The name of the tool. More...
 
String tool_type_
 The type of the tool. More...
 
QVector< Stringhidden_entries_
 The parameters already explained by in edges. More...
 

Detailed Description

TOPP tool configuration dialog.

In the dialog, the user can set the parameters for the tool

This information can then be used to execute the tool.

Constructor & Destructor Documentation

◆ TOPPASToolConfigDialog()

TOPPASToolConfigDialog ( QWidget parent,
Param param,
const String default_dir,
const String tool_name,
const String tool_type,
const String tool_desc,
const QVector< String > &  hidden_entries 
)

Constructor.

Parameters
parentQt parent widget
paramThe param we are editing
default_dirThe default directory for loading and storing INI files
tool_nameThe name of the TOPP tool (used to invoke it on the commandline)
tool_typeThe type of the tool ('-type' parameter of TOPP tool on the commandline). Leave empty if no type exists.
tool_descThe tool description
hidden_entriesList of entries that are used already in edges etc and should not be shown

◆ ~TOPPASToolConfigDialog()

~TOPPASToolConfigDialog ( )
override

Destructor.

Member Function Documentation

◆ loadINI_

void loadINI_ ( )
protectedslot

loads an ini-file into the editor_

◆ ok_

void ok_ ( )
protectedslot

Slot for OK button.

◆ storeINI_

void storeINI_ ( )
protectedslot

stores an ini-file from the editor_

Member Data Documentation

◆ arg_param_

Param arg_param_
private

Param for loading the ini-file.

◆ default_dir_

String default_dir_
private

default-dir of ini-file to open

◆ editor_

ParamEditor* editor_
private

ParamEditor for reading ini-files.

◆ filename_

QString filename_
private

name of ini-file

◆ hidden_entries_

QVector<String> hidden_entries_
private

The parameters already explained by in edges.

◆ param_

Param* param_
private

The param we are editing.

◆ tool_name_

String tool_name_
private

The name of the tool.

◆ tool_type_

String tool_type_
private

The type of the tool.