itom  3.0.0
dialogPipManagerInstall.h
1 /* ********************************************************************
2  itom software
3  URL: http://www.uni-stuttgart.de/ito
4  Copyright (C) 2016, 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 DIALOGPIPMANAGERINSTALL_H
24 #define DIALOGPIPMANAGERINSTALL_H
25 
26 #include "../../common/addInInterface.h"
27 #include "../../common/sharedStructures.h"
28 
29 #include <qdialog.h>
30 #include <qvector.h>
31 #include <qevent.h>
32 
33 #include "ui_dialogPipManagerInstall.h"
34 
35 namespace ito {
36 
37 class DialogPipManagerInstall : public QDialog
38 {
39  Q_OBJECT
40 
41 public:
42  enum Type { typeWhl = 0, typeTarGz = 1, typeSearchIndex = 2};
43  DialogPipManagerInstall(QWidget *parent = NULL, QString package = "");
45 
46  void getResult(int &type, QString &packageName, bool &upgrade, bool &installDeps, QString &findLinks, bool &ignoreIndex, bool &runAsSudo);
47 
48 private:
49  Ui::DialogPipManagerInstall ui;
50  Type m_selectedType;
51 
52 protected:
53 
54 private slots:
55  void on_btnPackage_clicked();
56  void on_btnFindLinks_clicked();
57  void on_radioWhl_clicked(bool checked);
58  void on_radioTarGz_clicked(bool checked);
59  void on_radioSearchIndex_clicked(bool checked);
60  void on_buttonBox_accepted();
61 
62 };
63 
64 } //end namespace ito
65 
66 #endif
Definition: apiFunctionsGraph.cpp:39
Definition: dialogPipManagerInstall.h:37