~librecad-dev/librecad/librecad

« back to all changes in this revision

Viewing changes to librecad/src/ui/forms/qg_trimamountoptions.ui

  • Committer: Scott Howard
  • Date: 2014-02-21 19:07:55 UTC
  • Revision ID: showard@debian.org-20140221190755-csjax9wb146hgdq4
first commit

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<?xml version="1.0" encoding="UTF-8"?>
 
2
<ui version="4.0">
 
3
 <class>QG_TrimAmountOptions</class>
 
4
 <widget class="QWidget" name="QG_TrimAmountOptions">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>110</width>
 
10
    <height>24</height>
 
11
   </rect>
 
12
  </property>
 
13
  <property name="sizePolicy">
 
14
   <sizepolicy hsizetype="Maximum" vsizetype="Expanding">
 
15
    <horstretch>0</horstretch>
 
16
    <verstretch>0</verstretch>
 
17
   </sizepolicy>
 
18
  </property>
 
19
  <property name="minimumSize">
 
20
   <size>
 
21
    <width>110</width>
 
22
    <height>22</height>
 
23
   </size>
 
24
  </property>
 
25
  <property name="maximumSize">
 
26
   <size>
 
27
    <width>150</width>
 
28
    <height>24</height>
 
29
   </size>
 
30
  </property>
 
31
  <property name="windowTitle">
 
32
   <string>Trim Amount Options</string>
 
33
  </property>
 
34
  <property name="toolTip">
 
35
   <string>Distance. Negative values for trimming, positive values for extending.</string>
 
36
  </property>
 
37
  <layout class="QHBoxLayout">
 
38
   <property name="spacing">
 
39
    <number>1</number>
 
40
   </property>
 
41
   <property name="margin">
 
42
    <number>1</number>
 
43
   </property>
 
44
   <item>
 
45
    <widget class="QLabel" name="lDist">
 
46
     <property name="minimumSize">
 
47
      <size>
 
48
       <width>51</width>
 
49
       <height>0</height>
 
50
      </size>
 
51
     </property>
 
52
     <property name="text">
 
53
      <string>Length:</string>
 
54
     </property>
 
55
     <property name="wordWrap">
 
56
      <bool>false</bool>
 
57
     </property>
 
58
    </widget>
 
59
   </item>
 
60
   <item>
 
61
    <widget class="QLineEdit" name="leDist">
 
62
     <property name="sizePolicy">
 
63
      <sizepolicy hsizetype="MinimumExpanding" vsizetype="Fixed">
 
64
       <horstretch>40</horstretch>
 
65
       <verstretch>22</verstretch>
 
66
      </sizepolicy>
 
67
     </property>
 
68
     <property name="minimumSize">
 
69
      <size>
 
70
       <width>40</width>
 
71
       <height>22</height>
 
72
      </size>
 
73
     </property>
 
74
     <property name="maximumSize">
 
75
      <size>
 
76
       <width>40</width>
 
77
       <height>22</height>
 
78
      </size>
 
79
     </property>
 
80
     <property name="toolTip">
 
81
      <string>Distance. Negative values for trimming, positive values for extending. Negative sign is ignored when trimming to final total length.</string>
 
82
     </property>
 
83
    </widget>
 
84
   </item>
 
85
   <item>
 
86
    <widget class="QCheckBox" name="cbTotalLength">
 
87
     <property name="minimumSize">
 
88
      <size>
 
89
       <width>8</width>
 
90
       <height>0</height>
 
91
      </size>
 
92
     </property>
 
93
     <property name="maximumSize">
 
94
      <size>
 
95
       <width>16</width>
 
96
       <height>16777215</height>
 
97
      </size>
 
98
     </property>
 
99
     <property name="toolTip">
 
100
      <string>The input length is used as total length after trimming, instead of length increase</string>
 
101
     </property>
 
102
     <property name="text">
 
103
      <string/>
 
104
     </property>
 
105
    </widget>
 
106
   </item>
 
107
   <item>
 
108
    <widget class="Line" name="sep1">
 
109
     <property name="sizePolicy">
 
110
      <sizepolicy hsizetype="Fixed" vsizetype="Expanding">
 
111
       <horstretch>0</horstretch>
 
112
       <verstretch>0</verstretch>
 
113
      </sizepolicy>
 
114
     </property>
 
115
     <property name="minimumSize">
 
116
      <size>
 
117
       <width>2</width>
 
118
       <height>0</height>
 
119
      </size>
 
120
     </property>
 
121
     <property name="maximumSize">
 
122
      <size>
 
123
       <width>2</width>
 
124
       <height>16777215</height>
 
125
      </size>
 
126
     </property>
 
127
     <property name="frameShape">
 
128
      <enum>QFrame::VLine</enum>
 
129
     </property>
 
130
     <property name="frameShadow">
 
131
      <enum>QFrame::Sunken</enum>
 
132
     </property>
 
133
    </widget>
 
134
   </item>
 
135
  </layout>
 
136
 </widget>
 
137
 <layoutdefault spacing="6" margin="11"/>
 
138
 <resources/>
 
139
 <connections>
 
140
  <connection>
 
141
   <sender>leDist</sender>
 
142
   <signal>textChanged(QString)</signal>
 
143
   <receiver>QG_TrimAmountOptions</receiver>
 
144
   <slot>updateDist(QString)</slot>
 
145
   <hints>
 
146
    <hint type="sourcelabel">
 
147
     <x>20</x>
 
148
     <y>20</y>
 
149
    </hint>
 
150
    <hint type="destinationlabel">
 
151
     <x>20</x>
 
152
     <y>20</y>
 
153
    </hint>
 
154
   </hints>
 
155
  </connection>
 
156
 </connections>
 
157
</ui>