| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<ui version="4.0"> |
| 3 |
<class>ViewerSettingsClass</class> |
| 4 |
<widget class="QDialog" name="ViewerSettingsClass"> |
| 5 |
<property name="geometry"> |
| 6 |
<rect> |
| 7 |
<x>0</x> |
| 8 |
<y>0</y> |
| 9 |
<width>400</width> |
| 10 |
<height>201</height> |
| 11 |
</rect> |
| 12 |
</property> |
| 13 |
<property name="windowTitle"> |
| 14 |
<string>ViewerSettings</string> |
| 15 |
</property> |
| 16 |
<layout class="QVBoxLayout" name="verticalLayout"> |
| 17 |
<item> |
| 18 |
<layout class="QFormLayout" name="formLayout"> |
| 19 |
<property name="fieldGrowthPolicy"> |
| 20 |
<enum>QFormLayout::AllNonFixedFieldsGrow</enum> |
| 21 |
</property> |
| 22 |
<item row="0" column="0"> |
| 23 |
<widget class="QLabel" name="label"> |
| 24 |
<property name="text"> |
| 25 |
<string>Laser type: </string> |
| 26 |
</property> |
| 27 |
<property name="buddy"> |
| 28 |
<cstring>laserType</cstring> |
| 29 |
</property> |
| 30 |
</widget> |
| 31 |
</item> |
| 32 |
<item row="2" column="1"> |
| 33 |
<widget class="QDoubleSpinBox" name="resolution"> |
| 34 |
<property name="decimals"> |
| 35 |
<number>3</number> |
| 36 |
</property> |
| 37 |
<property name="singleStep"> |
| 38 |
<double>0.001000000000000</double> |
| 39 |
</property> |
| 40 |
<property name="value"> |
| 41 |
<double>0.100000000000000</double> |
| 42 |
</property> |
| 43 |
</widget> |
| 44 |
</item> |
| 45 |
<item row="0" column="1"> |
| 46 |
<widget class="QComboBox" name="laserType"> |
| 47 |
<item> |
| 48 |
<property name="text"> |
| 49 |
<string>Hokuyo URG</string> |
| 50 |
</property> |
| 51 |
</item> |
| 52 |
<item> |
| 53 |
<property name="text"> |
| 54 |
<string>Sick LMS</string> |
| 55 |
</property> |
| 56 |
</item> |
| 57 |
</widget> |
| 58 |
</item> |
| 59 |
<item row="2" column="0"> |
| 60 |
<widget class="QLabel" name="label_2"> |
| 61 |
<property name="text"> |
| 62 |
<string>Octree resolution (m)</string> |
| 63 |
</property> |
| 64 |
<property name="buddy"> |
| 65 |
<cstring>resolution</cstring> |
| 66 |
</property> |
| 67 |
</widget> |
| 68 |
</item> |
| 69 |
<item row="1" column="0"> |
| 70 |
<widget class="QLabel" name="label_3"> |
| 71 |
<property name="text"> |
| 72 |
<string>Max. laser range (m) -1: no limit</string> |
| 73 |
</property> |
| 74 |
</widget> |
| 75 |
</item> |
| 76 |
<item row="1" column="1"> |
| 77 |
<widget class="QDoubleSpinBox" name="maxRange"> |
| 78 |
<property name="minimum"> |
| 79 |
<double>-1.0</double> |
| 80 |
</property> |
| 81 |
<property name="maximum"> |
| 82 |
<double>1000.0</double> |
| 83 |
</property> |
| 84 |
<property name="singleStep"> |
| 85 |
<double>0.1</double> |
| 86 |
</property> |
| 87 |
<property name="value"> |
| 88 |
<double>-1.0</double> |
| 89 |
</property> |
| 90 |
</widget> |
| 91 |
</item> |
| 92 |
</layout> |
| 93 |
</item> |
| 94 |
<item> |
| 95 |
<widget class="QDialogButtonBox" name="buttonBox"> |
| 96 |
<property name="standardButtons"> |
| 97 |
<set>QDialogButtonBox::Cancel|QDialogButtonBox::Ok</set> |
| 98 |
</property> |
| 99 |
</widget> |
| 100 |
</item> |
| 101 |
</layout> |
| 102 |
</widget> |
| 103 |
<layoutdefault spacing="6" margin="11"/> |
| 104 |
<resources/> |
| 105 |
<connections> |
| 106 |
<connection> |
| 107 |
<sender>buttonBox</sender> |
| 108 |
<signal>accepted()</signal> |
| 109 |
<receiver>ViewerSettingsClass</receiver> |
| 110 |
<slot>accept()</slot> |
| 111 |
<hints> |
| 112 |
<hint type="sourcelabel"> |
| 113 |
<x>199</x> |
| 114 |
<y>177</y> |
| 115 |
</hint> |
| 116 |
<hint type="destinationlabel"> |
| 117 |
<x>199</x> |
| 118 |
<y>100</y> |
| 119 |
</hint> |
| 120 |
</hints> |
| 121 |
</connection> |
| 122 |
<connection> |
| 123 |
<sender>buttonBox</sender> |
| 124 |
<signal>rejected()</signal> |
| 125 |
<receiver>ViewerSettingsClass</receiver> |
| 126 |
<slot>reject()</slot> |
| 127 |
<hints> |
| 128 |
<hint type="sourcelabel"> |
| 129 |
<x>199</x> |
| 130 |
<y>177</y> |
| 131 |
</hint> |
| 132 |
<hint type="destinationlabel"> |
| 133 |
<x>199</x> |
| 134 |
<y>100</y> |
| 135 |
</hint> |
| 136 |
</hints> |
| 137 |
</connection> |
| 138 |
</connections> |
| 139 |
</ui> |