Track all three paper size search flags in settings.

This commit is contained in:
Jim Evins
2016-03-31 21:41:19 -04:00
parent 1cfd89aeae
commit c2aef0b738
8 changed files with 173 additions and 177 deletions
+3 -58
View File
@@ -6,8 +6,8 @@
<rect>
<x>0</x>
<y>0</y>
<width>299</width>
<height>385</height>
<width>318</width>
<height>295</height>
</rect>
</property>
<property name="windowTitle">
@@ -24,7 +24,7 @@
<string>Locale</string>
</attribute>
<layout class="QGridLayout" name="gridLayout_4">
<item row="3" column="0">
<item row="2" column="0">
<spacer name="verticalSpacer">
<property name="orientation">
<enum>Qt::Vertical</enum>
@@ -88,29 +88,6 @@
</layout>
</widget>
</item>
<item row="2" column="0">
<widget class="QGroupBox" name="groupBox_2">
<property name="title">
<string>Prefered Paper Sizes</string>
</property>
<layout class="QGridLayout" name="gridLayout_3">
<item row="0" column="0">
<widget class="QRadioButton" name="preferedPaperSizesUsRadio">
<property name="text">
<string>US</string>
</property>
</widget>
</item>
<item row="1" column="0">
<widget class="QRadioButton" name="preferedPaperSizesIsoRadio">
<property name="text">
<string>ISO</string>
</property>
</widget>
</item>
</layout>
</widget>
</item>
</layout>
</widget>
</widget>
@@ -193,38 +170,6 @@
</hint>
</hints>
</connection>
<connection>
<sender>preferedPaperSizesUsRadio</sender>
<signal>clicked()</signal>
<receiver>PreferencesDialog</receiver>
<slot>onPreferedPaperSizesRadiosChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>269</x>
<y>276</y>
</hint>
<hint type="destinationlabel">
<x>298</x>
<y>221</y>
</hint>
</hints>
</connection>
<connection>
<sender>preferedPaperSizesIsoRadio</sender>
<signal>clicked()</signal>
<receiver>PreferencesDialog</receiver>
<slot>onPreferedPaperSizesRadiosChanged()</slot>
<hints>
<hint type="sourcelabel">
<x>269</x>
<y>303</y>
</hint>
<hint type="destinationlabel">
<x>298</x>
<y>255</y>
</hint>
</hints>
</connection>
<connection>
<sender>unitsCentimetersRadio</sender>
<signal>clicked(bool)</signal>
+53 -53
View File
@@ -223,54 +223,6 @@
</hint>
</hints>
</connection>
<connection>
<sender>pageSizeIsoCheck</sender>
<signal>toggled(bool)</signal>
<receiver>SelectProductDialog</receiver>
<slot>onPageSizeCheckToggled()</slot>
<hints>
<hint type="sourcelabel">
<x>78</x>
<y>116</y>
</hint>
<hint type="destinationlabel">
<x>3</x>
<y>110</y>
</hint>
</hints>
</connection>
<connection>
<sender>pageSizeUsCheck</sender>
<signal>toggled(bool)</signal>
<receiver>SelectProductDialog</receiver>
<slot>onPageSizeCheckToggled()</slot>
<hints>
<hint type="sourcelabel">
<x>52</x>
<y>145</y>
</hint>
<hint type="destinationlabel">
<x>8</x>
<y>144</y>
</hint>
</hints>
</connection>
<connection>
<sender>pageSizeOtherCheck</sender>
<signal>toggled(bool)</signal>
<receiver>SelectProductDialog</receiver>
<slot>onPageSizeCheckToggled()</slot>
<hints>
<hint type="sourcelabel">
<x>37</x>
<y>170</y>
</hint>
<hint type="destinationlabel">
<x>10</x>
<y>188</y>
</hint>
</hints>
</connection>
<connection>
<sender>templatePicker</sender>
<signal>itemSelectionChanged()</signal>
@@ -294,8 +246,8 @@
<slot>onCancelButtonClicked()</slot>
<hints>
<hint type="sourcelabel">
<x>587</x>
<y>708</y>
<x>864</x>
<y>648</y>
</hint>
<hint type="destinationlabel">
<x>689</x>
@@ -310,8 +262,8 @@
<slot>onSelectButtonClicked()</slot>
<hints>
<hint type="sourcelabel">
<x>660</x>
<y>689</y>
<x>955</x>
<y>648</y>
</hint>
<hint type="destinationlabel">
<x>687</x>
@@ -319,14 +271,62 @@
</hint>
</hints>
</connection>
<connection>
<sender>pageSizeIsoCheck</sender>
<signal>clicked()</signal>
<receiver>SelectProductDialog</receiver>
<slot>onPageSizeCheckClicked()</slot>
<hints>
<hint type="sourcelabel">
<x>40</x>
<y>112</y>
</hint>
<hint type="destinationlabel">
<x>2</x>
<y>116</y>
</hint>
</hints>
</connection>
<connection>
<sender>pageSizeUsCheck</sender>
<signal>clicked()</signal>
<receiver>SelectProductDialog</receiver>
<slot>onPageSizeCheckClicked()</slot>
<hints>
<hint type="sourcelabel">
<x>38</x>
<y>144</y>
</hint>
<hint type="destinationlabel">
<x>4</x>
<y>141</y>
</hint>
</hints>
</connection>
<connection>
<sender>pageSizeOtherCheck</sender>
<signal>clicked()</signal>
<receiver>SelectProductDialog</receiver>
<slot>onPageSizeCheckClicked()</slot>
<hints>
<hint type="sourcelabel">
<x>35</x>
<y>169</y>
</hint>
<hint type="destinationlabel">
<x>8</x>
<y>168</y>
</hint>
</hints>
</connection>
</connections>
<slots>
<slot>onSearchClearButtonClicked()</slot>
<slot>onPageSizeCheckToggled()</slot>
<slot>onTemplatePickerSelectionChanged()</slot>
<slot>onOrientationRadioToggled()</slot>
<slot>onSearchEntryTextChanged()</slot>
<slot>onCancelButtonClicked()</slot>
<slot>onSelectButtonClicked()</slot>
<slot>onPageSizeCheckClicked()</slot>
</slots>
</ui>