]> git.lyx.org Git - lyx.git/blob - src/frontends/qt4/ui/ListingsUi.ui
InsetListings: use Edwin's dialog, which is much nice
[lyx.git] / src / frontends / qt4 / ui / ListingsUi.ui
1 <ui version="4.0" >
2  <class>QListingsUi</class>
3  <widget class="QDialog" name="QListingsUi" >
4   <property name="windowModality" >
5    <enum>Qt::ApplicationModal</enum>
6   </property>
7   <property name="geometry" >
8    <rect>
9     <x>0</x>
10     <y>0</y>
11     <width>499</width>
12     <height>355</height>
13    </rect>
14   </property>
15   <property name="windowTitle" >
16    <string>Listing</string>
17   </property>
18   <property name="sizeGripEnabled" >
19    <bool>true</bool>
20   </property>
21   <layout class="QGridLayout" >
22    <property name="margin" >
23     <number>9</number>
24    </property>
25    <property name="spacing" >
26     <number>6</number>
27    </property>
28    <item row="0" column="0" >
29     <widget class="QTabWidget" name="listingsTW" >
30      <property name="currentIndex" >
31       <number>0</number>
32      </property>
33      <widget class="QWidget" name="tab" >
34       <attribute name="title" >
35        <string>Main Settings</string>
36       </attribute>
37       <layout class="QGridLayout" >
38        <property name="margin" >
39         <number>9</number>
40        </property>
41        <property name="spacing" >
42         <number>6</number>
43        </property>
44        <item rowspan="2" row="0" column="2" >
45         <widget class="QGroupBox" name="basicstyleGB" >
46          <property name="title" >
47           <string>Style</string>
48          </property>
49          <layout class="QGridLayout" >
50           <property name="margin" >
51            <number>9</number>
52           </property>
53           <property name="spacing" >
54            <number>6</number>
55           </property>
56           <item row="2" column="0" colspan="2" >
57            <widget class="QCheckBox" name="breaklinesCB" >
58             <property name="toolTip" >
59              <string>Breaking lines longer than the linewidth</string>
60             </property>
61             <property name="text" >
62              <string>&amp;Break long lines</string>
63             </property>
64             <property name="shortcut" >
65              <number>276824130</number>
66             </property>
67            </widget>
68           </item>
69           <item row="3" column="0" colspan="2" >
70            <widget class="QCheckBox" name="spaceCB" >
71             <property name="toolTip" >
72              <string>Insert a special symbol for a space</string>
73             </property>
74             <property name="text" >
75              <string>&amp;Space as Symbol</string>
76             </property>
77             <property name="shortcut" >
78              <number>276824147</number>
79             </property>
80            </widget>
81           </item>
82           <item row="4" column="0" colspan="2" >
83            <widget class="QCheckBox" name="extendedcharsCB" >
84             <property name="enabled" >
85              <bool>true</bool>
86             </property>
87             <property name="toolTip" >
88              <string>Use extended character table</string>
89             </property>
90             <property name="text" >
91              <string>&amp;Extended Chars</string>
92             </property>
93             <property name="shortcut" >
94              <number>276824133</number>
95             </property>
96            </widget>
97           </item>
98           <item row="1" column="0" >
99            <widget class="QLabel" name="fontstyle_label_3" >
100             <property name="text" >
101              <string>Font style:</string>
102             </property>
103             <property name="wordWrap" >
104              <bool>false</bool>
105             </property>
106             <property name="buddy" >
107              <cstring>fontstyleCO</cstring>
108             </property>
109            </widget>
110           </item>
111           <item row="1" column="1" >
112            <widget class="QComboBox" name="fontstyleCO" >
113             <property name="sizePolicy" >
114              <sizepolicy>
115               <hsizetype>7</hsizetype>
116               <vsizetype>0</vsizetype>
117               <horstretch>0</horstretch>
118               <verstretch>0</verstretch>
119              </sizepolicy>
120             </property>
121             <property name="toolTip" >
122              <string>Choose the Font Style</string>
123             </property>
124             <property name="editable" >
125              <bool>true</bool>
126             </property>
127             <property name="autoCompletion" >
128              <bool>true</bool>
129             </property>
130             <property name="duplicatesEnabled" >
131              <bool>false</bool>
132             </property>
133            </widget>
134           </item>
135           <item row="0" column="0" >
136            <widget class="QLabel" name="fontsize_label_3" >
137             <property name="text" >
138              <string>Font size:</string>
139             </property>
140             <property name="wordWrap" >
141              <bool>false</bool>
142             </property>
143             <property name="buddy" >
144              <cstring>fontsizeCO</cstring>
145             </property>
146            </widget>
147           </item>
148           <item row="0" column="1" >
149            <widget class="QComboBox" name="fontsizeCO" >
150             <property name="sizePolicy" >
151              <sizepolicy>
152               <hsizetype>7</hsizetype>
153               <vsizetype>0</vsizetype>
154               <horstretch>0</horstretch>
155               <verstretch>0</verstretch>
156              </sizepolicy>
157             </property>
158             <property name="toolTip" >
159              <string>Choose the Font Size</string>
160             </property>
161             <property name="editable" >
162              <bool>true</bool>
163             </property>
164             <property name="autoCompletion" >
165              <bool>true</bool>
166             </property>
167             <property name="duplicatesEnabled" >
168              <bool>false</bool>
169             </property>
170            </widget>
171           </item>
172          </layout>
173         </widget>
174        </item>
175        <item row="1" column="0" >
176         <widget class="QGroupBox" name="groupBox" >
177          <property name="title" >
178           <string>Language</string>
179          </property>
180          <layout class="QGridLayout" >
181           <property name="margin" >
182            <number>9</number>
183           </property>
184           <property name="spacing" >
185            <number>6</number>
186           </property>
187           <item row="0" column="0" >
188            <widget class="QComboBox" name="languageCO" />
189           </item>
190          </layout>
191         </widget>
192        </item>
193        <item row="0" column="0" >
194         <widget class="QGroupBox" name="groupBox_2" >
195          <property name="title" >
196           <string>Placement</string>
197          </property>
198          <layout class="QGridLayout" >
199           <property name="margin" >
200            <number>9</number>
201           </property>
202           <property name="spacing" >
203            <number>6</number>
204           </property>
205           <item row="2" column="1" >
206            <widget class="QLineEdit" name="placementLE" />
207           </item>
208           <item row="2" column="0" >
209            <widget class="QLabel" name="captionL_5" >
210             <property name="text" >
211              <string>Placement:</string>
212             </property>
213             <property name="wordWrap" >
214              <bool>false</bool>
215             </property>
216             <property name="buddy" >
217              <cstring>captionLE</cstring>
218             </property>
219            </widget>
220           </item>
221           <item row="1" column="0" colspan="2" >
222            <widget class="QCheckBox" name="floatCB" >
223             <property name="text" >
224              <string>Float</string>
225             </property>
226            </widget>
227           </item>
228           <item row="0" column="0" colspan="2" >
229            <widget class="QCheckBox" name="inlineCB" >
230             <property name="text" >
231              <string>Inline listing</string>
232             </property>
233            </widget>
234           </item>
235          </layout>
236         </widget>
237        </item>
238        <item rowspan="2" row="0" column="1" >
239         <widget class="QGroupBox" name="numberstyleGB" >
240          <property name="title" >
241           <string>Number style</string>
242          </property>
243          <layout class="QGridLayout" >
244           <property name="margin" >
245            <number>9</number>
246           </property>
247           <property name="spacing" >
248            <number>6</number>
249           </property>
250           <item row="4" column="0" >
251            <widget class="QLabel" name="numberfontsizeL_2" >
252             <property name="text" >
253              <string>Last line:</string>
254             </property>
255             <property name="wordWrap" >
256              <bool>false</bool>
257             </property>
258             <property name="buddy" >
259              <cstring>numberFontSizeCO</cstring>
260             </property>
261            </widget>
262           </item>
263           <item row="3" column="0" >
264            <widget class="QLabel" name="numberfontsizeL_3" >
265             <property name="text" >
266              <string>First line:</string>
267             </property>
268             <property name="wordWrap" >
269              <bool>false</bool>
270             </property>
271             <property name="buddy" >
272              <cstring>numberFontSizeCO</cstring>
273             </property>
274            </widget>
275           </item>
276           <item row="0" column="0" colspan="2" >
277            <layout class="QHBoxLayout" >
278             <property name="margin" >
279              <number>0</number>
280             </property>
281             <property name="spacing" >
282              <number>6</number>
283             </property>
284             <item>
285              <widget class="QCheckBox" name="numberLeftCB" >
286               <property name="toolTip" >
287                <string>enable for numbers on the leftside</string>
288               </property>
289               <property name="text" >
290                <string>&amp;Left</string>
291               </property>
292               <property name="checked" >
293                <bool>false</bool>
294               </property>
295               <property name="autoRepeat" >
296                <bool>false</bool>
297               </property>
298              </widget>
299             </item>
300             <item>
301              <widget class="QCheckBox" name="numberRightCB" >
302               <property name="toolTip" >
303                <string>enable for numbers on the right side</string>
304               </property>
305               <property name="text" >
306                <string>&amp;Right</string>
307               </property>
308              </widget>
309             </item>
310            </layout>
311           </item>
312           <item row="2" column="1" >
313            <widget class="QComboBox" name="numberFontSizeCO" >
314             <property name="sizePolicy" >
315              <sizepolicy>
316               <hsizetype>7</hsizetype>
317               <vsizetype>0</vsizetype>
318               <horstretch>0</horstretch>
319               <verstretch>0</verstretch>
320              </sizepolicy>
321             </property>
322             <property name="toolTip" >
323              <string>Choose the Font Size</string>
324             </property>
325             <property name="editable" >
326              <bool>true</bool>
327             </property>
328             <property name="autoCompletion" >
329              <bool>true</bool>
330             </property>
331             <property name="duplicatesEnabled" >
332              <bool>false</bool>
333             </property>
334            </widget>
335           </item>
336           <item row="2" column="0" >
337            <widget class="QLabel" name="numberfontsizeL" >
338             <property name="text" >
339              <string>Font size:</string>
340             </property>
341             <property name="wordWrap" >
342              <bool>false</bool>
343             </property>
344             <property name="buddy" >
345              <cstring>numberFontSizeCO</cstring>
346             </property>
347            </widget>
348           </item>
349           <item row="1" column="0" >
350            <widget class="QLabel" name="stepnumberL" >
351             <property name="toolTip" >
352              <string>File name of image</string>
353             </property>
354             <property name="text" >
355              <string>Step:</string>
356             </property>
357             <property name="wordWrap" >
358              <bool>false</bool>
359             </property>
360             <property name="buddy" >
361              <cstring>numberStepLE</cstring>
362             </property>
363            </widget>
364           </item>
365           <item row="1" column="1" >
366            <widget class="QLineEdit" name="numberStepLE" >
367             <property name="toolTip" >
368              <string>Differenz between two numbered lines</string>
369             </property>
370             <property name="text" >
371              <string/>
372             </property>
373             <property name="alignment" >
374              <set>Qt::AlignLeading</set>
375             </property>
376            </widget>
377           </item>
378           <item row="3" column="1" >
379            <widget class="QLineEdit" name="firstlineLE" >
380             <property name="toolTip" >
381              <string>Differenz between two numbered lines</string>
382             </property>
383             <property name="text" >
384              <string/>
385             </property>
386             <property name="alignment" >
387              <set>Qt::AlignLeading</set>
388             </property>
389            </widget>
390           </item>
391           <item row="4" column="1" >
392            <widget class="QLineEdit" name="lastlineLE" >
393             <property name="toolTip" >
394              <string>Differenz between two numbered lines</string>
395             </property>
396             <property name="text" >
397              <string/>
398             </property>
399             <property name="alignment" >
400              <set>Qt::AlignLeading</set>
401             </property>
402            </widget>
403           </item>
404          </layout>
405         </widget>
406        </item>
407        <item row="2" column="0" colspan="3" >
408         <widget class="QGroupBox" name="captionGB_3" >
409          <property name="title" >
410           <string>Display</string>
411          </property>
412          <layout class="QGridLayout" >
413           <property name="margin" >
414            <number>9</number>
415           </property>
416           <property name="spacing" >
417            <number>6</number>
418           </property>
419           <item row="1" column="0" >
420            <widget class="QLabel" name="labelL_4" >
421             <property name="text" >
422              <string>&amp;Label:</string>
423             </property>
424             <property name="wordWrap" >
425              <bool>false</bool>
426             </property>
427             <property name="buddy" >
428              <cstring>labelLE</cstring>
429             </property>
430            </widget>
431           </item>
432           <item row="0" column="0" >
433            <widget class="QLabel" name="captionL_4" >
434             <property name="text" >
435              <string>&amp;Caption:</string>
436             </property>
437             <property name="wordWrap" >
438              <bool>false</bool>
439             </property>
440             <property name="buddy" >
441              <cstring>captionLE</cstring>
442             </property>
443            </widget>
444           </item>
445           <item row="0" column="1" >
446            <widget class="QLineEdit" name="captionLE" >
447             <property name="minimumSize" >
448              <size>
449               <width>150</width>
450               <height>0</height>
451              </size>
452             </property>
453             <property name="toolTip" >
454              <string>A caption for the List of Listings</string>
455             </property>
456             <property name="text" >
457              <string/>
458             </property>
459            </widget>
460           </item>
461           <item row="1" column="1" >
462            <widget class="QLineEdit" name="labelLE" >
463             <property name="minimumSize" >
464              <size>
465               <width>150</width>
466               <height>0</height>
467              </size>
468             </property>
469             <property name="toolTip" >
470              <string>A Label for the caption</string>
471             </property>
472             <property name="text" >
473              <string/>
474             </property>
475            </widget>
476           </item>
477          </layout>
478         </widget>
479        </item>
480       </layout>
481      </widget>
482      <widget class="QWidget" name="tab_2" >
483       <attribute name="title" >
484        <string>Advanced</string>
485       </attribute>
486       <layout class="QGridLayout" >
487        <property name="margin" >
488         <number>9</number>
489        </property>
490        <property name="spacing" >
491         <number>6</number>
492        </property>
493        <item row="0" column="0" >
494         <widget class="QGroupBox" name="listingsGB" >
495          <property name="sizePolicy" >
496           <sizepolicy>
497            <hsizetype>7</hsizetype>
498            <vsizetype>7</vsizetype>
499            <horstretch>0</horstretch>
500            <verstretch>0</verstretch>
501           </sizepolicy>
502          </property>
503          <property name="title" >
504           <string>More Parameters</string>
505          </property>
506          <layout class="QVBoxLayout" >
507           <property name="margin" >
508            <number>9</number>
509           </property>
510           <property name="spacing" >
511            <number>6</number>
512           </property>
513           <item>
514            <widget class="QSplitter" name="splitter" >
515             <property name="orientation" >
516              <enum>Qt::Horizontal</enum>
517             </property>
518             <widget class="QTextBrowser" name="listingsTB" >
519              <property name="maximumSize" >
520               <size>
521                <width>16777215</width>
522                <height>16777215</height>
523               </size>
524              </property>
525              <property name="cursor" >
526               <cursor>0</cursor>
527              </property>
528              <property name="acceptDrops" >
529               <bool>false</bool>
530              </property>
531              <property name="frameShape" >
532               <enum>QFrame::NoFrame</enum>
533              </property>
534              <property name="frameShadow" >
535               <enum>QFrame::Plain</enum>
536              </property>
537              <property name="lineWidth" >
538               <number>0</number>
539              </property>
540              <property name="acceptRichText" >
541               <bool>false</bool>
542              </property>
543             </widget>
544             <widget class="QTextEdit" name="listingsED" />
545            </widget>
546           </item>
547          </layout>
548         </widget>
549        </item>
550       </layout>
551      </widget>
552     </widget>
553    </item>
554    <item row="1" column="0" >
555     <layout class="QHBoxLayout" >
556      <property name="margin" >
557       <number>0</number>
558      </property>
559      <property name="spacing" >
560       <number>6</number>
561      </property>
562      <item>
563       <spacer>
564        <property name="orientation" >
565         <enum>Qt::Horizontal</enum>
566        </property>
567        <property name="sizeType" >
568         <enum>QSizePolicy::Expanding</enum>
569        </property>
570        <property name="sizeHint" >
571         <size>
572          <width>101</width>
573          <height>27</height>
574         </size>
575        </property>
576       </spacer>
577      </item>
578      <item>
579       <widget class="QPushButton" name="okPB" >
580        <property name="text" >
581         <string>OK</string>
582        </property>
583        <property name="default" >
584         <bool>true</bool>
585        </property>
586       </widget>
587      </item>
588      <item>
589       <widget class="QPushButton" name="closePB" >
590        <property name="text" >
591         <string>Cancel</string>
592        </property>
593       </widget>
594      </item>
595     </layout>
596    </item>
597   </layout>
598  </widget>
599  <tabstops>
600   <tabstop>okPB</tabstop>
601   <tabstop>closePB</tabstop>
602   <tabstop>languageCO</tabstop>
603   <tabstop>inlineCB</tabstop>
604   <tabstop>floatCB</tabstop>
605   <tabstop>placementLE</tabstop>
606   <tabstop>numberLeftCB</tabstop>
607   <tabstop>numberRightCB</tabstop>
608   <tabstop>numberStepLE</tabstop>
609   <tabstop>numberFontSizeCO</tabstop>
610   <tabstop>firstlineLE</tabstop>
611   <tabstop>lastlineLE</tabstop>
612   <tabstop>fontsizeCO</tabstop>
613   <tabstop>fontstyleCO</tabstop>
614   <tabstop>breaklinesCB</tabstop>
615   <tabstop>spaceCB</tabstop>
616   <tabstop>extendedcharsCB</tabstop>
617   <tabstop>captionLE</tabstop>
618   <tabstop>labelLE</tabstop>
619   <tabstop>listingsTB</tabstop>
620   <tabstop>listingsED</tabstop>
621  </tabstops>
622  <includes>
623   <include location="local" >qt_helpers.h</include>
624  </includes>
625  <resources/>
626  <connections/>
627 </ui>