| OpenMS 2.5.0

Public Member Functions | Protected Slots | Private Attributes | List of all members
TOPPASToolConfigDialog Class Reference
Visual » TOPPAS Visual » | Dialogs

TOPP tool configuration dialog. More...

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

Inheritance diagram for TOPPASToolConfigDialog:

## 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

ParamEditor * | editor_
| ParamEditor for reading ini-files. More...
Param * | param_
| 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< String > | hidden_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

  parent | Qt parent widget
  param | The param we are editing
  default_dir | The default directory for loading and storing INI files
  tool_name | The name of the tool
  tool_type | The type of the tool
  hidden_entries | List of entries that are used already in edges etc and should not be shown

## ◆ ~TOPPASToolConfigDialog()

~TOPPASToolConfigDialog | ( |  | ) |

override

Destructor.

## Member Function Documentation

## ◆ loadINI_

void loadINI_ | ( |  | ) |

protected slot

loads an ini-file into the editor_

## ◆ ok_

void ok_ | ( |  | ) |

protected slot

Slot for OK button.

## ◆ storeINI_

void storeINI_ | ( |  | ) |

protected slot

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.