]> Shamusworld >> Repos - architektonas/blob - src/forms/printpreviewoptions.ui
Fixed problem with MDI activation.
[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 resource="res/architektonas.qrc">
70        <normaloff>:/res/qg_printbw.xpm</normaloff>:/res/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 resource="res/architektonas.qrc">
93        <normaloff>:/res/qg_printcenter.xpm</normaloff>:/res/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 resource="res/architektonas.qrc">
113        <normaloff>:/res/qg_printfit.xpm</normaloff>:/res/qg_printfit.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   <include location="res/architektonas.qrc"/>
138  </resources>
139  <connections>
140   <connection>
141    <sender>bCenter</sender>
142    <signal>clicked()</signal>
143    <receiver>PrintPreviewOptions</receiver>
144    <slot>center()</slot>
145    <hints>
146     <hint type="sourcelabel">
147      <x>156</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   <connection>
157    <sender>bBlackWhite</sender>
158    <signal>toggled(bool)</signal>
159    <receiver>PrintPreviewOptions</receiver>
160    <slot>setBlackWhite(bool)</slot>
161    <hints>
162     <hint type="sourcelabel">
163      <x>126</x>
164      <y>20</y>
165     </hint>
166     <hint type="destinationlabel">
167      <x>20</x>
168      <y>20</y>
169     </hint>
170    </hints>
171   </connection>
172   <connection>
173    <sender>cbScale</sender>
174    <signal>textChanged(QString)</signal>
175    <receiver>PrintPreviewOptions</receiver>
176    <slot>scale(QString)</slot>
177    <hints>
178     <hint type="sourcelabel">
179      <x>20</x>
180      <y>20</y>
181     </hint>
182     <hint type="destinationlabel">
183      <x>20</x>
184      <y>20</y>
185     </hint>
186    </hints>
187   </connection>
188   <connection>
189    <sender>cbScale</sender>
190    <signal>activated(QString)</signal>
191    <receiver>PrintPreviewOptions</receiver>
192    <slot>scale(QString)</slot>
193    <hints>
194     <hint type="sourcelabel">
195      <x>20</x>
196      <y>20</y>
197     </hint>
198     <hint type="destinationlabel">
199      <x>20</x>
200      <y>20</y>
201     </hint>
202    </hints>
203   </connection>
204   <connection>
205    <sender>bFit</sender>
206    <signal>clicked()</signal>
207    <receiver>PrintPreviewOptions</receiver>
208    <slot>fit()</slot>
209    <hints>
210     <hint type="sourcelabel">
211      <x>186</x>
212      <y>20</y>
213     </hint>
214     <hint type="destinationlabel">
215      <x>20</x>
216      <y>20</y>
217     </hint>
218    </hints>
219   </connection>
220  </connections>
221 </ui>