OpenMS
Loading...
Searching...
No Matches
TOPPASOutputFilesDialog.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
14#include <QtWidgets/QDialog>
15
16namespace Ui
17{
18 class TOPPASOutputFilesDialogTemplate;
19}
20
21namespace OpenMS
22{
23 class OutputDirectory;
24
31 class OPENMS_GUI_DLLAPI TOPPASOutputFilesDialog :
32 public QDialog
33 {
34 Q_OBJECT
35
36public:
37
39 TOPPASOutputFilesDialog(const QString& dir_name, int num_jobs);
41
43 QString getDirectory() const;
44
46 int getNumJobs() const;
47
48public slots:
49
52
53protected slots:
54
57private:
58 Ui::TOPPASOutputFilesDialogTemplate* ui_;
59 };
60
61}
62
A simple widget with a line-edit and a browse button to choose filenames.
Definition OutputDirectory.h:31
Dialog which allows to specify the directory for the output files.
Definition TOPPASOutputFilesDialog.h:33
QString getDirectory() const
Returns the name of the directory.
void showFileDialog()
Lets the user select the directory via a file dialog.
TOPPASOutputFilesDialog(const QString &dir_name, int num_jobs)
Constructor.
void checkValidity_()
Called when OK is pressed; checks if the selected file is valid.
int getNumJobs() const
Returns the maximum number of jobs in the spinbox.
Ui::TOPPASOutputFilesDialogTemplate * ui_
Definition TOPPASOutputFilesDialog.h:58
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition FLASHDeconvWizardBase.h:37