diff --git a/src/meshlabplugins/meshfilter/detacher.ui b/src/meshlabplugins/meshfilter/detacher.ui
new file mode 100644
index 000000000..5a2f5622c
--- /dev/null
+++ b/src/meshlabplugins/meshfilter/detacher.ui
@@ -0,0 +1,142 @@
+
+
+
+
+ DetacherDialog
+
+
+
+ 0
+ 0
+ 204
+ 80
+
+
+
+
+ 0
+ 0
+ 0
+ 0
+
+
+
+
+ 200
+ 80
+
+
+
+ Dialog
+
+
+ ..\..\meshlab\images\eye16.png
+
+
+
+ 8
+
+
+ 6
+
+ -
+
+
+ 0
+
+
+ 6
+
+
-
+
+
+ OK
+
+
+
+ -
+
+
+ Cancel
+
+
+
+
+
+ -
+
+
+ 0
+
+
+ 6
+
+
-
+
+
+ Threshold
+
+
+ thresholdSB
+
+
+
+ -
+
+
+ 3
+
+
+ 99.999
+
+
+ 0.001
+
+
+
+
+
+
+
+
+
+ thresholdSB
+ okButton
+ cancelButton
+
+
+
+
+ okButton
+ clicked()
+ DetacherDialog
+ accept()
+
+
+ 87
+ 57
+
+
+ 170
+ 67
+
+
+
+
+ cancelButton
+ clicked()
+ DetacherDialog
+ reject()
+
+
+ 165
+ 57
+
+
+ 175
+ 67
+
+
+
+
+
diff --git a/src/meshlabplugins/meshfilter/detacherdialog.h b/src/meshlabplugins/meshfilter/detacherdialog.h
new file mode 100644
index 000000000..98b2d6505
--- /dev/null
+++ b/src/meshlabplugins/meshfilter/detacherdialog.h
@@ -0,0 +1,33 @@
+#ifndef DETACHER_DIALOG_H
+#define DETACHER_DIALOG_H
+
+// for options on decimator
+#include
+#include "ui_detacher.h"
+
+class DetacherDialog : public QDialog, Ui::DetacherDialog {
+
+Q_OBJECT
+
+public:
+ DetacherDialog() : QDialog()
+ {
+ setupUi( this );
+ threshold = 0.00;
+ }
+public slots:
+ void on_thresholdSB_valueChanged(double threshold) {
+ this->threshold = threshold;
+ }
+public:
+
+ inline double getThreshold() {
+ return threshold;
+ }
+
+private:
+ // threshold value for refine
+ double threshold;
+};
+
+#endif