]> Shamusworld >> Repos - architektonas/blob - src/forms/printpreviewoptions.ui
Initial import
[architektonas] / src / forms / printpreviewoptions.ui
1 <?xml version="1.0" encoding="UTF-8"?>
2 <ui version="4.0">
3  <class>PrintPreviewOptions</class>
4  <widget class="QWidget" name="PrintPreviewOptions">
5   <property name="geometry">
6    <rect>
7     <x>0</x>
8     <y>0</y>
9     <width>200</width>
10     <height>22</height>
11    </rect>
12   </property>
13   <property name="sizePolicy">
14    <sizepolicy hsizetype="Minimum" vsizetype="Fixed">
15     <horstretch>0</horstretch>
16     <verstretch>0</verstretch>
17    </sizepolicy>
18   </property>
19   <property name="minimumSize">
20    <size>
21     <width>200</width>
22     <height>22</height>
23    </size>
24   </property>
25   <property name="windowTitle">
26    <string>Print Preview Options</string>
27   </property>
28   <property name="toolTip">
29    <string/>
30   </property>
31   <layout class="QHBoxLayout">
32    <property name="margin">
33     <number>1</number>
34    </property>
35    <item>
36     <widget class="QComboBox" name="cbScale">
37      <property name="sizePolicy">
38       <sizepolicy hsizetype="Preferred" vsizetype="Fixed">
39        <horstretch>0</horstretch>
40        <verstretch>0</verstretch>
41       </sizepolicy>
42      </property>
43      <property name="minimumSize">
44       <size>
45        <width>110</width>
46        <height>0</height>
47       </size>
48      </property>
49      <property name="editable">
50       <bool>true</bool>
51      </property>
52     </widget>
53    </item>
54    <item>
55     <widget class="QToolButton" name="bBlackWhite">
56      <property name="sizePolicy">
57       <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
58        <horstretch>0</horstretch>
59        <verstretch>0</verstretch>
60       </sizepolicy>
61      </property>
62      <property name="toolTip">
63       <string>Toggle Black / White mode</string>
64      </property>
65      <property name="text">
66       <string/>
67      </property>
68      <property name="icon">
69       <iconset>
70        <normaloff>xpm/qg_printbw.xpm</normaloff>xpm/qg_printbw.xpm</iconset>
71      </property>
72      <property name="checkable">
73       <bool>true</bool>
74      </property>
75     </widget>
76    </item>
77    <item>
78     <widget class="QToolButton" name="bCenter">
79      <property name="sizePolicy">
80       <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
81        <horstretch>0</horstretch>
82        <verstretch>0</verstretch>
83       </sizepolicy>
84      </property>
85      <property name="toolTip">
86       <string>Center to page</string>
87      </property>
88      <property name="text">
89       <string/>
90      </property>
91      <property name="icon">
92       <iconset>
93        <normaloff>xpm/qg_printcenter.xpm</normaloff>xpm/qg_printcenter.xpm</iconset>
94      </property>
95     </widget>
96    </item>
97    <item>
98     <widget class="QToolButton" name="bFit">
99      <property name="sizePolicy">
100       <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
101        <horstretch>0</horstretch>
102        <verstretch>0</verstretch>
103       </sizepolicy>
104      </property>
105      <property name="toolTip">
106       <string>Fit to page</string>
107      </property>
108      <property name="text">
109       <string/>
110      </property>
111      <property name="icon">
112       <iconset>
113        <normaloff>xpm/qg_printscale.xpm</normaloff>xpm/qg_printscale.xpm</iconset>
114      </property>
115     </widget>
116    </item>
117    <item>
118     <widget class="Line" name="sep1_2">
119      <property name="sizePolicy">
120       <sizepolicy hsizetype="Fixed" vsizetype="Minimum">
121        <horstretch>0</horstretch>
122        <verstretch>0</verstretch>
123       </sizepolicy>
124      </property>
125      <property name="frameShape">
126       <enum>QFrame::VLine</enum>
127      </property>
128      <property name="frameShadow">
129       <enum>QFrame::Sunken</enum>
130      </property>
131     </widget>
132    </item>
133   </layout>
134  </widget>
135  <layoutdefault spacing="6" margin="11"/>
136  <resources/>
137  <connections>
138   <connection>
139    <sender>bCenter</sender>
140    <signal>clicked()</signal>
141    <receiver>PrintPreviewOptions</receiver>
142    <slot>center()</slot>
143    <hints>
144     <hint type="sourcelabel">
145      <x>20</x>
146      <y>20</y>
147     </hint>
148     <hint type="destinationlabel">
149      <x>20</x>
150      <y>20</y>
151     </hint>
152    </hints>
153   </connection>
154   <connection>
155    <sender>bBlackWhite</sender>
156    <signal>toggled(bool)</signal>
157    <receiver>PrintPreviewOptions</receiver>
158    <slot>setBlackWhite(bool)</slot>
159    <hints>
160     <hint type="sourcelabel">
161      <x>20</x>
162      <y>20</y>
163     </hint>
164     <hint type="destinationlabel">
165      <x>20</x>
166      <y>20</y>
167     </hint>
168    </hints>
169   </connection>
170   <connection>
171    <sender>cbScale</sender>
172    <signal>textChanged(QString)</signal>
173    <receiver>PrintPreviewOptions</receiver>
174    <slot>scale(QString)</slot>
175    <hints>
176     <hint type="sourcelabel">
177      <x>20</x>
178      <y>20</y>
179     </hint>
180     <hint type="destinationlabel">
181      <x>20</x>
182      <y>20</y>
183     </hint>
184    </hints>
185   </connection>
186   <connection>
187    <sender>cbScale</sender>
188    <signal>activated(QString)</signal>
189    <receiver>PrintPreviewOptions</receiver>
190    <slot>scale(QString)</slot>
191    <hints>
192     <hint type="sourcelabel">
193      <x>20</x>
194      <y>20</y>
195     </hint>
196     <hint type="destinationlabel">
197      <x>20</x>
198      <y>20</y>
199     </hint>
200    </hints>
201   </connection>
202   <connection>
203    <sender>bFit</sender>
204    <signal>clicked()</signal>
205    <receiver>PrintPreviewOptions</receiver>
206    <slot>fit()</slot>
207    <hints>
208     <hint type="sourcelabel">
209      <x>20</x>
210      <y>20</y>
211     </hint>
212     <hint type="destinationlabel">
213      <x>20</x>
214      <y>20</y>
215     </hint>
216    </hints>
217   </connection>
218  </connections>
219 </ui>