~librecad-dev/librecad/librecad

« back to all changes in this revision

Viewing changes to librecad/src/ui/forms/qg_lineparalleloptions.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" stdsetdef="1">
 
3
  <resources><include location="../../../res/extui/extui.qrc"/></resources><author></author>
 
4
  <comment></comment>
 
5
  <exportmacro></exportmacro>
 
6
  <class>QG_LineParallelOptions</class>
 
7
  <widget class="QWidget" name="QG_LineParallelOptions">
 
8
    <property name="geometry">
 
9
      <rect>
 
10
        <x>0</x>
 
11
        <y>1</y>
 
12
        <width>252</width>
 
13
        <height>22</height>
 
14
      </rect>
 
15
    </property>
 
16
    <property name="sizePolicy">
 
17
      <sizepolicy>
 
18
        <hsizetype>4</hsizetype>
 
19
        <vsizetype>5</vsizetype>
 
20
        <horstretch>0</horstretch>
 
21
        <verstretch>0</verstretch>
 
22
      </sizepolicy>
 
23
    </property>
 
24
    <property name="minimumSize">
 
25
      <size>
 
26
        <width>200</width>
 
27
        <height>22</height>
 
28
      </size>
 
29
    </property>
 
30
    <property name="maximumSize">
 
31
      <size>
 
32
        <width>280</width>
 
33
        <height>22</height>
 
34
      </size>
 
35
    </property>
 
36
    <property name="windowTitle">
 
37
      <string>Line Parallel Options</string>
 
38
    </property>
 
39
    <layout class="QHBoxLayout">
 
40
      <property name="margin">
 
41
        <number>1</number>
 
42
      </property>
 
43
      <item>
 
44
        <widget class="QLabel" name="lDist">
 
45
          <property name="sizePolicy">
 
46
            <sizepolicy>
 
47
              <hsizetype>1</hsizetype>
 
48
              <vsizetype>0</vsizetype>
 
49
              <horstretch>0</horstretch>
 
50
              <verstretch>0</verstretch>
 
51
            </sizepolicy>
 
52
          </property>
 
53
          <property name="text">
 
54
            <string>Distance:</string>
 
55
          </property>
 
56
          <property name="wordWrap">
 
57
            <bool>false</bool>
 
58
          </property>
 
59
        </widget>
 
60
      </item>
 
61
      <item>
 
62
        <widget class="QLineEdit" name="leDist">
 
63
          <property name="sizePolicy">
 
64
            <sizepolicy>
 
65
              <hsizetype>5</hsizetype>
 
66
              <vsizetype>0</vsizetype>
 
67
              <horstretch>0</horstretch>
 
68
              <verstretch>0</verstretch>
 
69
            </sizepolicy>
 
70
          </property>
 
71
          <property name="toolTip" stdset="0">
 
72
            <string>Distance to original entity</string>
 
73
          </property>
 
74
        </widget>
 
75
      </item>
 
76
      <item>
 
77
        <widget class="QLabel" name="lNumber">
 
78
          <property name="sizePolicy">
 
79
            <sizepolicy>
 
80
              <hsizetype>1</hsizetype>
 
81
              <vsizetype>0</vsizetype>
 
82
              <horstretch>0</horstretch>
 
83
              <verstretch>0</verstretch>
 
84
            </sizepolicy>
 
85
          </property>
 
86
          <property name="text">
 
87
            <string>Number:</string>
 
88
          </property>
 
89
          <property name="wordWrap">
 
90
            <bool>false</bool>
 
91
          </property>
 
92
        </widget>
 
93
      </item>
 
94
      <item>
 
95
        <widget class="QSpinBox" name="sbNumber">
 
96
          <property name="minimum">
 
97
            <number>1</number>
 
98
          </property>
 
99
          <property name="toolTip" stdset="0">
 
100
            <string>Number of parallels to create</string>
 
101
          </property>
 
102
        </widget>
 
103
      </item>
 
104
      <item>
 
105
        <widget class="Line" name="sep1">
 
106
          <property name="sizePolicy">
 
107
            <sizepolicy>
 
108
              <hsizetype>0</hsizetype>
 
109
              <vsizetype>1</vsizetype>
 
110
              <horstretch>0</horstretch>
 
111
              <verstretch>0</verstretch>
 
112
            </sizepolicy>
 
113
          </property>
 
114
          <property name="frameShape">
 
115
            <enum>QFrame::VLine</enum>
 
116
          </property>
 
117
          <property name="frameShadow">
 
118
            <enum>QFrame::Sunken</enum>
 
119
          </property>
 
120
        </widget>
 
121
      </item>
 
122
    </layout>
 
123
  </widget>
 
124
  <layoutdefault spacing="6" margin="11"/>
 
125
  <connections>
 
126
    <connection>
 
127
      <sender>leDist</sender>
 
128
      <signal>textChanged(QString)</signal>
 
129
      <receiver>QG_LineParallelOptions</receiver>
 
130
      <slot>updateDist(QString)</slot>
 
131
    </connection>
 
132
    <connection>
 
133
      <sender>sbNumber</sender>
 
134
      <signal>valueChanged(int)</signal>
 
135
      <receiver>QG_LineParallelOptions</receiver>
 
136
      <slot>updateNumber(int)</slot>
 
137
    </connection>
 
138
  </connections>
 
139
</ui>