~librecad-dev/librecad/librecad

« back to all changes in this revision

Viewing changes to librecad/src/ui/forms/qg_commandwidget.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_CommandWidget</class>
 
4
 <widget class="QWidget" name="QG_CommandWidget">
 
5
  <property name="geometry">
 
6
   <rect>
 
7
    <x>0</x>
 
8
    <y>0</y>
 
9
    <width>639</width>
 
10
    <height>102</height>
 
11
   </rect>
 
12
  </property>
 
13
  <property name="windowTitle">
 
14
   <string>Command Line</string>
 
15
  </property>
 
16
  <layout class="QVBoxLayout">
 
17
   <property name="spacing">
 
18
    <number>0</number>
 
19
   </property>
 
20
   <property name="margin">
 
21
    <number>0</number>
 
22
   </property>
 
23
   <item>
 
24
    <widget class="QTextEdit" name="teHistory">
 
25
     <property name="minimumSize">
 
26
      <size>
 
27
       <width>0</width>
 
28
       <height>23</height>
 
29
      </size>
 
30
     </property>
 
31
     <property name="focusPolicy">
 
32
      <enum>Qt::NoFocus</enum>
 
33
     </property>
 
34
     <property name="toolTip">
 
35
      <string>Command history and output</string>
 
36
     </property>
 
37
     <property name="lineWidth">
 
38
      <number>0</number>
 
39
     </property>
 
40
     <property name="horizontalScrollBarPolicy">
 
41
      <enum>Qt::ScrollBarAlwaysOff</enum>
 
42
     </property>
 
43
     <property name="documentTitle">
 
44
      <string notr="true"/>
 
45
     </property>
 
46
     <property name="undoRedoEnabled">
 
47
      <bool>false</bool>
 
48
     </property>
 
49
     <property name="readOnly">
 
50
      <bool>true</bool>
 
51
     </property>
 
52
     <property name="html">
 
53
      <string notr="true">&lt;!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0//EN&quot; &quot;http://www.w3.org/TR/REC-html40/strict.dtd&quot;&gt;
 
54
&lt;html&gt;&lt;head&gt;&lt;meta name=&quot;qrichtext&quot; content=&quot;1&quot; /&gt;&lt;style type=&quot;text/css&quot;&gt;
 
55
p, li { white-space: pre-wrap; }
 
56
&lt;/style&gt;&lt;/head&gt;&lt;body style=&quot; font-family:'Sans'; font-size:8pt; font-weight:400; font-style:normal;&quot;&gt;
 
57
&lt;p style=&quot;-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; font-size:10pt;&quot;&gt;&lt;br /&gt;&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
58
     </property>
 
59
     <property name="acceptRichText">
 
60
      <bool>false</bool>
 
61
     </property>
 
62
     <property name="linkUnderline" stdset="0">
 
63
      <bool>false</bool>
 
64
     </property>
 
65
    </widget>
 
66
   </item>
 
67
   <item>
 
68
    <widget class="Line" name="line1">
 
69
     <property name="sizePolicy">
 
70
      <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
 
71
       <horstretch>0</horstretch>
 
72
       <verstretch>0</verstretch>
 
73
      </sizepolicy>
 
74
     </property>
 
75
     <property name="frameShape">
 
76
      <enum>QFrame::HLine</enum>
 
77
     </property>
 
78
     <property name="frameShadow">
 
79
      <enum>QFrame::Sunken</enum>
 
80
     </property>
 
81
    </widget>
 
82
   </item>
 
83
   <item>
 
84
    <layout class="QHBoxLayout">
 
85
     <item>
 
86
      <widget class="QLabel" name="lCommand">
 
87
       <property name="text">
 
88
        <string>Command:</string>
 
89
       </property>
 
90
       <property name="wordWrap">
 
91
        <bool>false</bool>
 
92
       </property>
 
93
      </widget>
 
94
     </item>
 
95
     <item>
 
96
      <widget class="QG_CommandEdit" name="leCommand" native="true">
 
97
       <property name="sizePolicy">
 
98
        <sizepolicy hsizetype="MinimumExpanding" vsizetype="Preferred">
 
99
         <horstretch>0</horstretch>
 
100
         <verstretch>0</verstretch>
 
101
        </sizepolicy>
 
102
       </property>
 
103
       <property name="toolTip">
 
104
        <string>&lt;html&gt;&lt;head/&gt;&lt;body&gt;&lt;p&gt;type in coordinates or commands&lt;/p&gt;&lt;/body&gt;&lt;/html&gt;</string>
 
105
       </property>
 
106
      </widget>
 
107
     </item>
 
108
     <item>
 
109
      <widget class="QPushButton" name="clearButton">
 
110
       <property name="text">
 
111
        <string>Clear</string>
 
112
       </property>
 
113
      </widget>
 
114
     </item>
 
115
    </layout>
 
116
   </item>
 
117
  </layout>
 
118
 </widget>
 
119
 <layoutdefault spacing="6" margin="11"/>
 
120
 <customwidgets>
 
121
  <customwidget>
 
122
   <class>QG_CommandEdit</class>
 
123
   <extends>QWidget</extends>
 
124
   <header>qg_commandedit.h</header>
 
125
   <slots>
 
126
    <signal>clearCommandsHistory()</signal>
 
127
   </slots>
 
128
  </customwidget>
 
129
 </customwidgets>
 
130
 <resources/>
 
131
 <connections>
 
132
  <connection>
 
133
   <sender>leCommand</sender>
 
134
   <signal>returnPressed()</signal>
 
135
   <receiver>QG_CommandWidget</receiver>
 
136
   <slot>trigger()</slot>
 
137
   <hints>
 
138
    <hint type="sourcelabel">
 
139
     <x>100</x>
 
140
     <y>94</y>
 
141
    </hint>
 
142
    <hint type="destinationlabel">
 
143
     <x>20</x>
 
144
     <y>20</y>
 
145
    </hint>
 
146
   </hints>
 
147
  </connection>
 
148
  <connection>
 
149
   <sender>leCommand</sender>
 
150
   <signal>tabPressed()</signal>
 
151
   <receiver>QG_CommandWidget</receiver>
 
152
   <slot>tabPressed()</slot>
 
153
   <hints>
 
154
    <hint type="sourcelabel">
 
155
     <x>100</x>
 
156
     <y>94</y>
 
157
    </hint>
 
158
    <hint type="destinationlabel">
 
159
     <x>20</x>
 
160
     <y>20</y>
 
161
    </hint>
 
162
   </hints>
 
163
  </connection>
 
164
  <connection>
 
165
   <sender>leCommand</sender>
 
166
   <signal>escape()</signal>
 
167
   <receiver>QG_CommandWidget</receiver>
 
168
   <slot>escape()</slot>
 
169
   <hints>
 
170
    <hint type="sourcelabel">
 
171
     <x>100</x>
 
172
     <y>94</y>
 
173
    </hint>
 
174
    <hint type="destinationlabel">
 
175
     <x>20</x>
 
176
     <y>20</y>
 
177
    </hint>
 
178
   </hints>
 
179
  </connection>
 
180
  <connection>
 
181
   <sender>leCommand</sender>
 
182
   <signal>focusIn()</signal>
 
183
   <receiver>QG_CommandWidget</receiver>
 
184
   <slot>setCommandMode()</slot>
 
185
   <hints>
 
186
    <hint type="sourcelabel">
 
187
     <x>100</x>
 
188
     <y>94</y>
 
189
    </hint>
 
190
    <hint type="destinationlabel">
 
191
     <x>20</x>
 
192
     <y>20</y>
 
193
    </hint>
 
194
   </hints>
 
195
  </connection>
 
196
  <connection>
 
197
   <sender>leCommand</sender>
 
198
   <signal>focusOut()</signal>
 
199
   <receiver>QG_CommandWidget</receiver>
 
200
   <slot>setNormalMode()</slot>
 
201
   <hints>
 
202
    <hint type="sourcelabel">
 
203
     <x>100</x>
 
204
     <y>94</y>
 
205
    </hint>
 
206
    <hint type="destinationlabel">
 
207
     <x>20</x>
 
208
     <y>20</y>
 
209
    </hint>
 
210
   </hints>
 
211
  </connection>
 
212
  <connection>
 
213
   <sender>clearButton</sender>
 
214
   <signal>clicked()</signal>
 
215
   <receiver>teHistory</receiver>
 
216
   <slot>clear()</slot>
 
217
   <hints>
 
218
    <hint type="sourcelabel">
 
219
     <x>595</x>
 
220
     <y>87</y>
 
221
    </hint>
 
222
    <hint type="destinationlabel">
 
223
     <x>319</x>
 
224
     <y>34</y>
 
225
    </hint>
 
226
   </hints>
 
227
  </connection>
 
228
  <connection>
 
229
   <sender>leCommand</sender>
 
230
   <signal>clearCommandsHistory()</signal>
 
231
   <receiver>teHistory</receiver>
 
232
   <slot>clear()</slot>
 
233
   <hints>
 
234
    <hint type="sourcelabel">
 
235
     <x>235</x>
 
236
     <y>89</y>
 
237
    </hint>
 
238
    <hint type="destinationlabel">
 
239
     <x>218</x>
 
240
     <y>37</y>
 
241
    </hint>
 
242
   </hints>
 
243
  </connection>
 
244
 </connections>
 
245
</ui>