OpenMS
TOPPASIOMappingDialog Class Reference

Dialog which allows to configure the input/output parameter mapping of an edge. More...

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

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

Public Slots

int firstExec ()
 Called instead of exec() after edge is constructed (in order to avoid showing the dialog if not necessary) More...
 

Public Member Functions

 TOPPASIOMappingDialog (TOPPASEdge *parent)
 Constructor. More...
 
 ~TOPPASIOMappingDialog () override
 

Protected Slots

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

Protected Member Functions

void fillComboBoxes_ ()
 Fills the table. More...
 

Protected Attributes

TOPPASEdgeedge_
 The edge we are configuring. More...
 
QVector< int > target_input_param_indices_
 Vector storing the mapping of the target input combobox indices to param indices of edges. More...
 

Private Attributes

Ui::TOPPASIOMappingDialogTemplate * ui_
 

Detailed Description

Dialog which allows to configure the input/output parameter mapping of an edge.

This dialog allows to select an output parameter of the source vertex and an input parameter of the target vertex. Only valid selections are allowed, i.e. the type (file or list of files) and at least one valid file type of either vertex must match.

Constructor & Destructor Documentation

◆ TOPPASIOMappingDialog()

Constructor.

◆ ~TOPPASIOMappingDialog()

~TOPPASIOMappingDialog ( )
override

Member Function Documentation

◆ checkValidity_

void checkValidity_ ( )
protectedslot

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

◆ fillComboBoxes_()

void fillComboBoxes_ ( )
protected

Fills the table.

◆ firstExec

int firstExec ( )
slot

Called instead of exec() after edge is constructed (in order to avoid showing the dialog if not necessary)

Member Data Documentation

◆ edge_

TOPPASEdge* edge_
protected

The edge we are configuring.

◆ target_input_param_indices_

QVector<int> target_input_param_indices_
protected

Vector storing the mapping of the target input combobox indices to param indices of edges.

◆ ui_

Ui::TOPPASIOMappingDialogTemplate* ui_
private