mirror of
https://github.com/lucaspalomodevelop/meshlab.git
synced 2026-03-13 00:07:24 +00:00
Remove detacher and refine dialog
This commit is contained in:
parent
a570efa255
commit
e17f06d835
@ -1,108 +0,0 @@
|
||||
#ifndef DETACHER_DIALOG_H
|
||||
#define DETACHER_DIALOG_H
|
||||
|
||||
// for options on decimator
|
||||
#include <QDialog>
|
||||
#include "ui_detacherDialog.h"
|
||||
#include <vcg/math/histogram.h>
|
||||
|
||||
class DetacherDialog : public QDialog, Ui::DetacherDialog {
|
||||
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
DetacherDialog() : QDialog()
|
||||
{
|
||||
setupUi( this );
|
||||
threshold = 0.00;
|
||||
diagonal_percentual = 0.00;
|
||||
diagonale= 0.00;
|
||||
perc = 0.0f;
|
||||
selected=false;
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
inline float getThreshold()
|
||||
{
|
||||
return threshold;
|
||||
}
|
||||
|
||||
inline bool getSelected()
|
||||
{
|
||||
return selected;
|
||||
}
|
||||
|
||||
void setDiagonale(float diag)
|
||||
{
|
||||
diagonale = diag;
|
||||
thresholdSB->setMaximum(diag);
|
||||
}
|
||||
|
||||
void setHistogram(vcg::Histogram<float> *hi)
|
||||
{
|
||||
histo = hi;
|
||||
}
|
||||
|
||||
void aggiornaPercentualeDiagonale()
|
||||
{
|
||||
diagonal_percentual = (threshold / diagonale) * 100;
|
||||
percdiag->setValue(diagonal_percentual);
|
||||
}
|
||||
|
||||
void aggiornaTrashold()
|
||||
{
|
||||
threshold = (diagonal_percentual * diagonale) /100;
|
||||
thresholdSB->setValue(threshold);
|
||||
}
|
||||
|
||||
void aggiornaPercentile()
|
||||
{
|
||||
threshold = histo->Percentile(perc);
|
||||
thresholdSB->setValue(threshold);
|
||||
diagonal_percentual = (threshold / diagonale) * 100;
|
||||
percdiag->setValue(diagonal_percentual);
|
||||
}
|
||||
|
||||
public slots:
|
||||
|
||||
void on_thresholdSB_valueChanged(double threshold)
|
||||
{
|
||||
if(threshold <= this->diagonale)
|
||||
{
|
||||
this->threshold = threshold;
|
||||
aggiornaPercentualeDiagonale();
|
||||
}
|
||||
}
|
||||
|
||||
void on_percdiag_valueChanged(double pd)
|
||||
{
|
||||
diagonal_percentual = pd;
|
||||
aggiornaTrashold();
|
||||
}
|
||||
|
||||
|
||||
void on_percentileSB_valueChanged(int pd)
|
||||
{
|
||||
perc = 1.0f - (pd * 0.01);
|
||||
aggiornaPercentile();
|
||||
}
|
||||
|
||||
void on_selctedCB_stateChanged(int pd) {
|
||||
|
||||
if (pd == Qt::Checked)
|
||||
selected= true;
|
||||
else
|
||||
selected = false;
|
||||
}
|
||||
|
||||
private:
|
||||
double threshold;
|
||||
double diagonal_percentual;
|
||||
double diagonale;
|
||||
vcg::Histogram<float> *histo;
|
||||
float perc;
|
||||
bool selected;
|
||||
};
|
||||
|
||||
#endif
|
||||
@ -1,88 +0,0 @@
|
||||
/****************************************************************************
|
||||
* VCGLib o o *
|
||||
* Visual and Computer Graphics Library o o *
|
||||
* _ O _ *
|
||||
* Copyright(C) 2004 \/)\/ *
|
||||
* Visual Computing Lab /\/| *
|
||||
* ISTI - Italian National Research Council | *
|
||||
* \ *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* 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 2 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 (http://www.gnu.org/licenses/gpl.txt) *
|
||||
* for more details. *
|
||||
* *
|
||||
****************************************************************************/
|
||||
/****************************************************************************
|
||||
History
|
||||
|
||||
$Log$
|
||||
Revision 1.2 2006/01/31 14:46:39 mariolatronico
|
||||
added license and log variable
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
|
||||
#ifndef REFINE_DIALOG_H
|
||||
#define REFINE_DIALOG_H
|
||||
|
||||
// for options on refine and decimator
|
||||
#include <QDialog>
|
||||
#include "ui_refineDialog.h"
|
||||
|
||||
class RefineDialog : public QDialog, Ui::Dialog {
|
||||
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
RefineDialog() : QDialog()
|
||||
{
|
||||
setupUi( this );
|
||||
threshold = 0.00;
|
||||
selected = false;
|
||||
}
|
||||
public slots:
|
||||
|
||||
void on_refineSelectedCB_stateChanged(int selected) {
|
||||
|
||||
if (selected == Qt::Checked)
|
||||
this->selected = true;
|
||||
else
|
||||
this->selected = false;
|
||||
|
||||
|
||||
}
|
||||
|
||||
void on_thresholdSB_valueChanged(double threshold) {
|
||||
this->threshold = threshold;
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
inline double getThreshold() {
|
||||
return threshold;
|
||||
}
|
||||
|
||||
inline bool isSelected() {
|
||||
return selected;
|
||||
}
|
||||
|
||||
|
||||
private:
|
||||
// affect only selected vertices ?
|
||||
bool selected;
|
||||
// threshold value for refine
|
||||
double threshold;
|
||||
|
||||
};
|
||||
|
||||
#endif //REFINE_DIALOG_H
|
||||
@ -1,87 +0,0 @@
|
||||
/****************************************************************************
|
||||
* VCGLib o o *
|
||||
* Visual and Computer Graphics Library o o *
|
||||
* _ O _ *
|
||||
* Copyright(C) 2004 \/)\/ *
|
||||
* Visual Computing Lab /\/| *
|
||||
* ISTI - Italian National Research Council | *
|
||||
* \ *
|
||||
* All rights reserved. *
|
||||
* *
|
||||
* 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 2 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 (http://www.gnu.org/licenses/gpl.txt) *
|
||||
* for more details. *
|
||||
* *
|
||||
****************************************************************************/
|
||||
/****************************************************************************
|
||||
History
|
||||
|
||||
$Log$
|
||||
Revision 1.1 2006/02/05 11:22:01 mariolatronico
|
||||
different implementation of refine dialog, includes QEdgeLength widget
|
||||
|
||||
Revision 1.2 2006/01/31 14:46:39 mariolatronico
|
||||
added license and log variable
|
||||
|
||||
|
||||
*/
|
||||
|
||||
|
||||
#ifndef REFINE_DIALOG2_H
|
||||
#define REFINE_DIALOG2_H
|
||||
|
||||
// for options on refine and decimator
|
||||
#include <QDialog>
|
||||
#include "ui_refineDialog2.h"
|
||||
|
||||
class RefineDialog : public QDialog, Ui::Dialog {
|
||||
|
||||
Q_OBJECT
|
||||
|
||||
public:
|
||||
RefineDialog() : QDialog()
|
||||
{
|
||||
setupUi( this );
|
||||
threshold = 0.00;
|
||||
selected = false;
|
||||
}
|
||||
public slots:
|
||||
|
||||
void on_refineSelectedCB_stateChanged(int selected) {
|
||||
|
||||
if (selected == Qt::Checked)
|
||||
this->selected = true;
|
||||
else
|
||||
this->selected = false;
|
||||
|
||||
}
|
||||
|
||||
public:
|
||||
|
||||
inline double getThreshold() {
|
||||
return edgeLength->getAbsoluteValue();
|
||||
}
|
||||
|
||||
inline bool isSelected() {
|
||||
return selected;
|
||||
}
|
||||
|
||||
inline void setDiagonal(float diag) {
|
||||
edgeLength->setDiagonal( diag );
|
||||
}
|
||||
private:
|
||||
// affect only selected vertices ?
|
||||
bool selected;
|
||||
// threshold value for refine
|
||||
double threshold;
|
||||
|
||||
};
|
||||
|
||||
#endif //REFINE_DIALOG_H
|
||||
@ -1,226 +0,0 @@
|
||||
<ui version="4.0" >
|
||||
<author></author>
|
||||
<comment></comment>
|
||||
<exportmacro></exportmacro>
|
||||
<class>DetacherDialog</class>
|
||||
<widget class="QDialog" name="DetacherDialog" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>205</width>
|
||||
<height>178</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="sizePolicy" >
|
||||
<sizepolicy>
|
||||
<hsizetype>0</hsizetype>
|
||||
<vsizetype>0</vsizetype>
|
||||
<horstretch>0</horstretch>
|
||||
<verstretch>0</verstretch>
|
||||
</sizepolicy>
|
||||
</property>
|
||||
<property name="minimumSize" >
|
||||
<size>
|
||||
<width>16</width>
|
||||
<height>16</height>
|
||||
</size>
|
||||
</property>
|
||||
<property name="windowTitle" >
|
||||
<string>Detacher</string>
|
||||
</property>
|
||||
<property name="windowIcon" >
|
||||
<iconset>..\..\..\meshlab\images\eye128.png</iconset>
|
||||
</property>
|
||||
<layout class="QGridLayout" >
|
||||
<property name="margin" >
|
||||
<number>8</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="3" column="0" >
|
||||
<widget class="QCheckBox" name="selctedCB" >
|
||||
<property name="text" >
|
||||
<string>affect only selected faces</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="2" column="0" >
|
||||
<layout class="QHBoxLayout" >
|
||||
<property name="margin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label_2" >
|
||||
<property name="text" >
|
||||
<string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-weight:400; font-style:normal; text-decoration:none;"><pre style=" margin-top:12px; margin-bottom:12px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" font-family:Courier New,courier;">Percentile</span></pre></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>21</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QSpinBox" name="percentileSB" >
|
||||
<property name="maximum" >
|
||||
<number>100</number>
|
||||
</property>
|
||||
<property name="minimum" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="1" column="0" >
|
||||
<layout class="QHBoxLayout" >
|
||||
<property name="margin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="label" >
|
||||
<property name="text" >
|
||||
<string><html><head><meta name="qrichtext" content="1" /></head><body style=" white-space: pre-wrap; font-family:MS Shell Dlg; font-weight:400; font-style:normal; text-decoration:none;"><p style=" margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px;"><span style=" color:#000000;">Diagonal percentage</span></p></body></html></string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>31</width>
|
||||
<height>20</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QDoubleSpinBox" name="percdiag" >
|
||||
<property name="maximum" >
|
||||
<double>100</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="0" column="0" >
|
||||
<layout class="QHBoxLayout" >
|
||||
<property name="margin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="thresholdLBL" >
|
||||
<property name="text" >
|
||||
<string>Threshold</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>thresholdSB</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QDoubleSpinBox" name="thresholdSB" >
|
||||
<property name="decimals" >
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="maximum" >
|
||||
<double>99.999</double>
|
||||
</property>
|
||||
<property name="singleStep" >
|
||||
<double>0.001</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="4" column="0" >
|
||||
<layout class="QHBoxLayout" >
|
||||
<property name="margin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QPushButton" name="okButton" >
|
||||
<property name="text" >
|
||||
<string>OK</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="cancelButton" >
|
||||
<property name="text" >
|
||||
<string>Cancel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<pixmapfunction></pixmapfunction>
|
||||
<tabstops>
|
||||
<tabstop>thresholdSB</tabstop>
|
||||
<tabstop>okButton</tabstop>
|
||||
<tabstop>cancelButton</tabstop>
|
||||
</tabstops>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>okButton</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>DetacherDialog</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>87</x>
|
||||
<y>57</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>170</x>
|
||||
<y>67</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>cancelButton</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>DetacherDialog</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>165</x>
|
||||
<y>57</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>175</x>
|
||||
<y>67</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
@ -1,166 +0,0 @@
|
||||
<ui version="4.0" >
|
||||
<author></author>
|
||||
<comment></comment>
|
||||
<exportmacro></exportmacro>
|
||||
<class>Dialog</class>
|
||||
<widget class="QDialog" name="Dialog" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>275</width>
|
||||
<height>147</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle" >
|
||||
<string>Refine</string>
|
||||
</property>
|
||||
<property name="windowIcon" >
|
||||
<iconset>..\..\..\meshlab\images\eye128.png</iconset>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" >
|
||||
<property name="margin" >
|
||||
<number>9</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<layout class="QGridLayout" >
|
||||
<property name="margin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="0" column="0" >
|
||||
<layout class="QHBoxLayout" >
|
||||
<property name="margin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QLabel" name="thresholdLBL" >
|
||||
<property name="text" >
|
||||
<string>Threshold</string>
|
||||
</property>
|
||||
<property name="buddy" >
|
||||
<cstring>thresholdSB</cstring>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QDoubleSpinBox" name="thresholdSB" >
|
||||
<property name="decimals" >
|
||||
<number>3</number>
|
||||
</property>
|
||||
<property name="maximum" >
|
||||
<double>99.999</double>
|
||||
</property>
|
||||
<property name="singleStep" >
|
||||
<double>0.001</double>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item row="1" column="0" >
|
||||
<widget class="QCheckBox" name="refineSelectedCB" >
|
||||
<property name="text" >
|
||||
<string>Affect Only selected vertices</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Vertical</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>20</width>
|
||||
<height>121</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" >
|
||||
<property name="margin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>131</width>
|
||||
<height>31</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="okButton" >
|
||||
<property name="text" >
|
||||
<string>OK</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="cancelButton" >
|
||||
<property name="text" >
|
||||
<string>Cancel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<pixmapfunction></pixmapfunction>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>okButton</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>Dialog</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>278</x>
|
||||
<y>253</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>96</x>
|
||||
<y>254</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>cancelButton</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>Dialog</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>369</x>
|
||||
<y>253</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>179</x>
|
||||
<y>282</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
@ -1,144 +0,0 @@
|
||||
<ui version="4.0" >
|
||||
<author></author>
|
||||
<comment></comment>
|
||||
<exportmacro></exportmacro>
|
||||
<class>Dialog</class>
|
||||
<widget class="QDialog" name="Dialog" >
|
||||
<property name="geometry" >
|
||||
<rect>
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>299</width>
|
||||
<height>221</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle" >
|
||||
<string>Refine</string>
|
||||
</property>
|
||||
<property name="windowIcon" >
|
||||
<iconset>..\..\..\meshlab\images\eye128.png</iconset>
|
||||
</property>
|
||||
<layout class="QVBoxLayout" >
|
||||
<property name="margin" >
|
||||
<number>9</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<widget class="QGroupBox" name="thresholdGB" >
|
||||
<property name="title" >
|
||||
<string>Threshold</string>
|
||||
</property>
|
||||
<layout class="QGridLayout" >
|
||||
<property name="margin" >
|
||||
<number>9</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item row="1" column="0" >
|
||||
<widget class="QCheckBox" name="refineSelectedCB" >
|
||||
<property name="text" >
|
||||
<string>Affect Only selected vertices</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item row="0" column="0" >
|
||||
<widget class="QEdgeLength" name="edgeLength" >
|
||||
<property name="toolTip" >
|
||||
<string>Edge Length widget</string>
|
||||
</property>
|
||||
<property name="whatsThis" >
|
||||
<string>Edge Length widget set a length based on diagonal values.</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<layout class="QHBoxLayout" >
|
||||
<property name="margin" >
|
||||
<number>0</number>
|
||||
</property>
|
||||
<property name="spacing" >
|
||||
<number>6</number>
|
||||
</property>
|
||||
<item>
|
||||
<spacer>
|
||||
<property name="orientation" >
|
||||
<enum>Qt::Horizontal</enum>
|
||||
</property>
|
||||
<property name="sizeHint" >
|
||||
<size>
|
||||
<width>131</width>
|
||||
<height>31</height>
|
||||
</size>
|
||||
</property>
|
||||
</spacer>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="okButton" >
|
||||
<property name="text" >
|
||||
<string>OK</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
<item>
|
||||
<widget class="QPushButton" name="cancelButton" >
|
||||
<property name="text" >
|
||||
<string>Cancel</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
</item>
|
||||
</layout>
|
||||
</widget>
|
||||
<pixmapfunction></pixmapfunction>
|
||||
<customwidgets>
|
||||
<customwidget>
|
||||
<class>QEdgeLength</class>
|
||||
<extends></extends>
|
||||
<header>QEdgeLength.h</header>
|
||||
<container>0</container>
|
||||
<pixmap></pixmap>
|
||||
</customwidget>
|
||||
</customwidgets>
|
||||
<resources/>
|
||||
<connections>
|
||||
<connection>
|
||||
<sender>okButton</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>Dialog</receiver>
|
||||
<slot>accept()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>278</x>
|
||||
<y>253</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>96</x>
|
||||
<y>254</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
<connection>
|
||||
<sender>cancelButton</sender>
|
||||
<signal>clicked()</signal>
|
||||
<receiver>Dialog</receiver>
|
||||
<slot>reject()</slot>
|
||||
<hints>
|
||||
<hint type="sourcelabel" >
|
||||
<x>369</x>
|
||||
<y>253</y>
|
||||
</hint>
|
||||
<hint type="destinationlabel" >
|
||||
<x>179</x>
|
||||
<y>282</y>
|
||||
</hint>
|
||||
</hints>
|
||||
</connection>
|
||||
</connections>
|
||||
</ui>
|
||||
Loading…
x
Reference in New Issue
Block a user