itom  4.1.0
dialogSaveFileWithFilter.h
1 /* ********************************************************************
2  itom software
3  URL: http://www.uni-stuttgart.de/ito
4  Copyright (C) 2020, Institut fuer Technische Optik (ITO),
5  Universitaet Stuttgart, Germany
6 
7  This file is part of itom.
8 
9  itom is free software; you can redistribute it and/or modify it
10  under the terms of the GNU Library General Public Licence as published by
11  the Free Software Foundation; either version 2 of the Licence, or (at
12  your option) any later version.
13 
14  itom is distributed in the hope that it will be useful, but
15  WITHOUT ANY WARRANTY; without even the implied warranty of
16  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Library
17  General Public Licence for more details.
18 
19  You should have received a copy of the GNU Library General Public License
20  along with itom. If not, see <http://www.gnu.org/licenses/>.
21 *********************************************************************** */
22 
23 #ifndef DIALOGLOADFILEWITHFILTER_H
24 
25 #include "../global.h"
26 
27 #include "../../common/addInInterface.h"
28 #include "abstractFilterDialog.h"
29 
30 #include "paramInputParser.h"
31 
32 #include "ui_dialogSaveFileWithFilter.h"
33 
34 namespace ito {
35 
37 {
38  Q_OBJECT
39 
40 public:
41  DialogSaveFileWithFilter(const QString &filename, const ito::AddInAlgo::FilterDef *filter, QVector<ito::ParamBase> &autoMand, QVector<ito::ParamBase> &autoOut, QVector<ito::Param> &userMand, QVector<ito::Param> &userOpt, const bool showFilename, QWidget *parent = NULL);
43 
44  void getParameters(QVector<ito::ParamBase> &paramsMand, QVector<ito::ParamBase> &paramsOpt)
45  {
46  m_pMandParser->getParameters( paramsMand );
47  m_pOptParser->getParameters( paramsOpt );
48  }
49 
50 
51 protected:
52 
53  ParamInputParser *m_pMandParser;
54  ParamInputParser *m_pOptParser;
55  const ito::AddInAlgo::FilterDef *m_filter;
56 
57 
58 private:
59 
60  Ui::DialogSaveFileWithFilter ui;
61 
62 private slots:
63  void on_buttonBox_accepted();
64 
65 };
66 
67 } //end namespace ito
68 
69 #endif
Definition: apiFunctionsGraph.cpp:39
Definition: dialogSaveFileWithFilter.h:36
Definition: abstractFilterDialog.h:33
Definition: paramInputParser.h:38
container for publishing filters provided by any plugin
Definition: addInInterface.h:973