OpenMS
Loading...
Searching...
No Matches
TOPPASInputFileDialog.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 TOPPASInputFileDialogTemplate;
19}
20
21namespace OpenMS
22{
23 class InputFile;
30 class OPENMS_GUI_DLLAPI TOPPASInputFileDialog :
31 public QDialog
32 {
33 Q_OBJECT
34 public:
36 TOPPASInputFileDialog(const QString& file_name);
38
40 void setFileFormatFilter(const QString& fff);
41
43 QString getFilename() const;
44
45protected slots:
46
49
50private:
51 Ui::TOPPASInputFileDialogTemplate* ui_;
52 };
53
54
55} // ns OpenMS
56
57// this is required to allow Ui_TOPPASInputFileDialog (auto UIC'd from .ui) to have a InputFile member
59
A simple widget with a line-edit and a browse button to choose filenames.
Definition gui/include/OpenMS/VISUAL/InputFile.h:31
Dialog which allows to specify an input file.
Definition TOPPASInputFileDialog.h:32
TOPPASInputFileDialog(const QString &file_name)
Constructor.
void setFileFormatFilter(const QString &fff)
users can only choose certain filetypes
Ui::TOPPASInputFileDialogTemplate * ui_
Definition TOPPASInputFileDialog.h:51
void checkValidity_()
Called when OK is pressed; checks if the selected file is valid.
QString getFilename() const
Returns the filename.
Main OpenMS namespace.
Definition openswathalgo/include/OpenMS/OPENSWATHALGO/DATAACCESS/ISpectrumAccess.h:19
Definition FLASHDeconvWizardBase.h:37