OpenMS
Loading...
Searching...
No Matches
TOPPASToolConfigDialog.h
Go to the documentation of this file.
1// Copyright (c) 2002-present, OpenMS Inc. -- EKU Tuebingen, ETH Zurich, and FU Berlin
2// SPDX-License-Identifier: BSD-3-Clause
3//
4// --------------------------------------------------------------------------
5// $Maintainer: Johannes Veit $
6// $Authors: Johannes Junker $
7// --------------------------------------------------------------------------
8
9#pragma once
10
11// OpenMS_GUI config
12#include <OpenMS/VISUAL/OpenMS_GUIConfig.h>
13
16
17class QComboBox;
18class QPushButton;
19class QRadioButton;
20class QString;
21
22#include <QtWidgets/QDialog>
23
24namespace OpenMS
25{
26 class ParamEditor;
27
38 class OPENMS_GUI_DLLAPI TOPPASToolConfigDialog :
39 public QDialog
40 {
41 Q_OBJECT
42
43public:
55 TOPPASToolConfigDialog(QWidget * parent, Param & param, const std::string& default_dir, const std::string& tool_name, const std::string& tool_type, const std::string& tool_desc, const QVector<std::string>& hidden_entries);
58
59private:
67 std::string default_dir_;
69 QString filename_;
71 std::string tool_name_;
73 std::string tool_type_;
75 QVector<std::string> hidden_entries_;
76
77protected slots:
79 void ok_();
81 void loadINI_();
83 void storeINI_();
84 };
85
86}
const char * tool_name
Definition TOPPAS.cpp:69
A GUI for editing or viewing a Param object.
Definition ParamEditor.h:152
Management and storage of parameters / INI files.
Definition Param.h:46
TOPP tool configuration dialog.
Definition TOPPASToolConfigDialog.h:40
Param arg_param_
Param for loading the ini-file.
Definition TOPPASToolConfigDialog.h:65
std::string tool_name_
The name of the tool.
Definition TOPPASToolConfigDialog.h:71
TOPPASToolConfigDialog(QWidget *parent, Param &param, const std::string &default_dir, const std::string &tool_name, const std::string &tool_type, const std::string &tool_desc, const QVector< std::string > &hidden_entries)
Constructor.
void storeINI_()
stores an ini-file from the editor_
QString filename_
name of ini-file
Definition TOPPASToolConfigDialog.h:69
void ok_()
Slot for OK button.
QVector< std::string > hidden_entries_
The parameters already explained by in edges.
Definition TOPPASToolConfigDialog.h:75
~TOPPASToolConfigDialog() override
Destructor.
Param * param_
The param we are editing.
Definition TOPPASToolConfigDialog.h:63
void loadINI_()
loads an ini-file into the editor_
std::string default_dir_
default-dir of ini-file to open
Definition TOPPASToolConfigDialog.h:67
std::string tool_type_
The type of the tool.
Definition TOPPASToolConfigDialog.h:73
ParamEditor * editor_
ParamEditor for reading ini-files.
Definition TOPPASToolConfigDialog.h:61
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19