OpenMS GUI
3.7.0-pre-nightly-2026-11-11
TOPPView, TOPPAS, INIFileEditor and the OpenMS_GUI library
Main Page
Related Pages
Topics
Namespaces
Classes
Files
File List
File Members
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
16
namespace
Ui
17
{
18
class
TOPPASInputFileDialogTemplate;
19
}
20
21
namespace
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);
37
~TOPPASInputFileDialog
();
38
40
void
setFileFormatFilter
(
const
QString& fff);
41
43
QString
getFilename
()
const
;
44
45
protected
slots:
46
48
void
checkValidity_
();
49
50
private
:
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
58
using
InputFile
=
OpenMS::InputFile
;
59
OpenMS::InputFile
A simple widget with a line-edit and a browse button to choose filenames.
Definition
InputFile.h:31
OpenMS::TOPPASInputFileDialog
Dialog which allows to specify an input file.
Definition
TOPPASInputFileDialog.h:32
OpenMS::TOPPASInputFileDialog::TOPPASInputFileDialog
TOPPASInputFileDialog(const QString &file_name)
Constructor.
OpenMS::TOPPASInputFileDialog::~TOPPASInputFileDialog
~TOPPASInputFileDialog()
OpenMS::TOPPASInputFileDialog::setFileFormatFilter
void setFileFormatFilter(const QString &fff)
users can only choose certain filetypes
OpenMS::TOPPASInputFileDialog::ui_
Ui::TOPPASInputFileDialogTemplate * ui_
Definition
TOPPASInputFileDialog.h:51
OpenMS::TOPPASInputFileDialog::checkValidity_
void checkValidity_()
Called when OK is pressed; checks if the selected file is valid.
OpenMS::TOPPASInputFileDialog::getFilename
QString getFilename() const
Returns the filename.
QDialog
OpenMS
Definition
Annotation1DCaret.h:23
Ui
Definition
DataFilterDialog.h:20
OpenMS
VISUAL
DIALOGS
TOPPASInputFileDialog.h
Generated by
1.9.8