summaryrefslogtreecommitdiff
path: root/src/GudhUI/gui/Menu_persistence.h
diff options
context:
space:
mode:
authorsalinasd <salinasd@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-01-27 10:20:13 +0000
committersalinasd <salinasd@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-01-27 10:20:13 +0000
commitf527cde6342c5b8109a20f0a6b483327c6569844 (patch)
tree1c0464b56b21ef7767f814b9a35a6e5c68aa7613 /src/GudhUI/gui/Menu_persistence.h
parentdf6c26bdcb28805e8949d08dad5acd012e91ecb8 (diff)
Merge GudhUI, a UI for gudhi based on Qt
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@427 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 17fedd974f14a8225b27d94361e835964eeb5cba
Diffstat (limited to 'src/GudhUI/gui/Menu_persistence.h')
-rw-r--r--src/GudhUI/gui/Menu_persistence.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/src/GudhUI/gui/Menu_persistence.h b/src/GudhUI/gui/Menu_persistence.h
new file mode 100644
index 00000000..67b64afa
--- /dev/null
+++ b/src/GudhUI/gui/Menu_persistence.h
@@ -0,0 +1,59 @@
+/*
+ * Menu_persistence.h
+ * Created on: Jan 27, 2015
+ * This file is part of the Gudhi Library. The Gudhi library
+ * (Geometric Understanding in Higher Dimensions) is a generic C++
+ * library for computational topology.
+ *
+ * Author(s): David Salinas
+ *
+ * Copyright (C) 2014 INRIA Sophia Antipolis-Méditerranée (France)
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <http://www.gnu.org/licenses/>.
+ *
+ */
+
+
+#ifndef MENU_PERSISTENCE_H_
+#define MENU_PERSISTENCE_H_
+
+
+#include <QMainWindow>
+#include "gui/ui_PersistenceMenu.h"
+
+class QWidget;
+
+
+class Menu_persistence : public QDialog,public Ui::PersistenceMenu{
+ Q_OBJECT
+private:
+ QMainWindow* parent;
+
+public:
+
+ Menu_persistence(QMainWindow* parent_);
+
+ void connectActions(QMainWindow* parent);
+
+ public slots:
+ void send_compute_persistence();
+ void accept();
+ signals:
+ void compute_persistence(int p_fied,double threshold,int dim_max,double min_persistence);
+
+};
+
+
+
+#endif /* MENU_PERSISTENCE_H_ */