OpenMS
TOPPASInputFilesDialog.h
Go to the documentation of this file.
1 // Copyright (c) 2002-2023, The OpenMS Team -- 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 TOPPASInputFilesDialogTemplate;
19 }
20 
21 namespace OpenMS
22 {
23  namespace Internal
24  {
25  class InputFileList;
26  }
27 
34  class OPENMS_GUI_DLLAPI TOPPASInputFilesDialog :
35  public QDialog
36  {
37  Q_OBJECT
38 
39 public:
42  : TOPPASInputFilesDialog(QStringList(), "", parent) {}
43  TOPPASInputFilesDialog(const QStringList& list, const QString& cwd, QWidget* parent = 0);
45 
46  void getFilenames(QStringList& files) const;
47 
48  const QString& getCWD() const;
49 
50 
51 private:
52  Ui::TOPPASInputFilesDialogTemplate* ui_;
54  };
55 
56 }
57 
58 // this is required to allow Ui_SwathTabWidget (auto UIC'd from .ui) to have a TOPPASInputFilesDialog member
60 
OpenMS::TOPPASInputFilesDialog TOPPASInputFilesDialog
Definition: TOPPASInputFilesDialog.h:59
A widget shows a list of input files (i.e. existing files on a mounted drive), which allows adding/re...
Definition: InputFileList.h:31
Dialog which allows to specify a list of input files.
Definition: TOPPASInputFilesDialog.h:36
Ui::TOPPASInputFilesDialogTemplate * ui_
Definition: TOPPASInputFilesDialog.h:52
void getFilenames(QStringList &files) const
const QString & getCWD() const
TOPPASInputFilesDialog(const QStringList &list, const QString &cwd, QWidget *parent=0)
TOPPASInputFilesDialog(QWidget *parent)
Constructor.
Definition: TOPPASInputFilesDialog.h:41
Internal::InputFileList * ifl_
Definition: TOPPASInputFilesDialog.h:53
Main OpenMS namespace.
Definition: FeatureDeconvolution.h:22
Definition: FLASHDeconvWizardBase.h:37