summaryrefslogtreecommitdiff
path: root/src/GudhUI/gui/Menu_edge_contraction.h
diff options
context:
space:
mode:
authorvrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-10-08 21:15:51 +0000
committervrouvrea <vrouvrea@636b058d-ea47-450e-bf9e-a15bfbe3eedb>2015-10-08 21:15:51 +0000
commitcd2e83819689afd2cd1bc76810282111cf5cd59d (patch)
tree8cf97b1f5a8589fa160d03248ca3f429b436b814 /src/GudhUI/gui/Menu_edge_contraction.h
parent58e633f51ffa06aa219231cd1c08eab59457a12f (diff)
cpplint fixes on GudhUI
git-svn-id: svn+ssh://scm.gforge.inria.fr/svnroot/gudhi/trunk@844 636b058d-ea47-450e-bf9e-a15bfbe3eedb Former-commit-id: 3acf1e789f3e4bded974f324ce3161bc1d1d2433
Diffstat (limited to 'src/GudhUI/gui/Menu_edge_contraction.h')
-rw-r--r--src/GudhUI/gui/Menu_edge_contraction.h73
1 files changed, 41 insertions, 32 deletions
diff --git a/src/GudhUI/gui/Menu_edge_contraction.h b/src/GudhUI/gui/Menu_edge_contraction.h
index 81d37bd8..08f0bf67 100644
--- a/src/GudhUI/gui/Menu_edge_contraction.h
+++ b/src/GudhUI/gui/Menu_edge_contraction.h
@@ -1,12 +1,27 @@
-/*
- * Menu_edge_contraction.h
+/* This file is part of the Gudhi Library. The Gudhi library
+ * (Geometric Understanding in Higher Dimensions) is a generic C++
+ * library for computational topology.
*
- * Created on: Sep 11, 2014
- * Author: dsalinas
+ * Author(s): David Salinas
+ *
+ * Copyright (C) 2014 INRIA Sophia Antipolis-Mediterranee (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_EDGE_CONTRACTION_H_
-#define MENU_EDGE_CONTRACTION_H_
+#ifndef GUI_MENU_EDGE_CONTRACTION_H_
+#define GUI_MENU_EDGE_CONTRACTION_H_
// Workaround for moc-qt4 not parsing boost headers
#include <CGAL/config.h>
@@ -16,39 +31,33 @@
#include "model/Model.h"
+class Menu_edge_contraction : public QDialog, public Ui::MenuEdgeContraction {
+ Q_OBJECT
-class Menu_edge_contraction : public QDialog,public Ui::MenuEdgeContraction{
- Q_OBJECT
-private:
- MainWindow* parent_;
- const Model& model_;
-
+ private:
+ MainWindow* parent_;
+ const Model& model_;
- void update_slider_value();
-public:
+ void update_slider_value();
- Menu_edge_contraction(MainWindow* parent,const Model& model);
+ public:
+ Menu_edge_contraction(MainWindow* parent, const Model& model);
- void connectActions(MainWindow* parent);
+ void connectActions(MainWindow* parent);
+ private:
+ unsigned num_vertices();
+ unsigned num_collapses();
-private:
- unsigned num_vertices();
- unsigned num_collapses();
+ public slots:
+ void slider_value_changed(int new_slider_value);
+ void update_gui_numbers();
+ void update_gui_numbers(int gui_numbers);
- public slots:
-
- void slider_value_changed(int new_slider_value);
- void update_gui_numbers();
- void update_gui_numbers(int);
-
- void send_contract_edges();
- signals:
-
- void contract_edges(unsigned num_collapses);
+ void send_contract_edges();
+ signals:
+ void contract_edges(unsigned num_collapses);
};
-
-
-#endif /* MENU_EDGE_CONTRACTION_H_ */
+#endif // GUI_MENU_EDGE_CONTRACTION_H_