KMCompressView.xib 24 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
  6. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  7. </dependencies>
  8. <objects>
  9. <customObject id="-2" userLabel="File's Owner" customClass="KMCompressView" customModule="PDF_Master" customModuleProvider="target">
  10. <connections>
  11. <outlet property="batchButton" destination="oK4-qZ-nsZ" id="qs0-gu-74l"/>
  12. <outlet property="cancelButton" destination="M8m-46-Uhb" id="K0C-2I-WOj"/>
  13. <outlet property="compressButton" destination="IHF-en-Dqi" id="PwN-g7-RFb"/>
  14. <outlet property="fileImageView" destination="got-mA-Esq" id="Zls-7k-XND"/>
  15. <outlet property="finalSizeLabel" destination="AVp-B0-LcQ" id="syN-mv-nSW"/>
  16. <outlet property="hightLabel" destination="QQd-Ip-P83" id="dPU-qd-naS"/>
  17. <outlet property="lowLabel" destination="vym-ui-oBO" id="Dqb-89-6Ky"/>
  18. <outlet property="previewBox" destination="JoQ-Bg-A7A" id="IFH-92-kmH"/>
  19. <outlet property="progress" destination="rI6-3z-z33" id="EnV-KA-efW"/>
  20. <outlet property="progressSizeLabel" destination="qSB-Az-aee" id="nUn-C4-CiF"/>
  21. <outlet property="qualitySlider" destination="eL4-zP-lte" id="wPt-6Y-4YT"/>
  22. <outlet property="qulityMatrix" destination="pD4-qc-WIt" id="CAg-ZN-HuB"/>
  23. <outlet property="selectLabel" destination="7pF-2n-frE" id="C6e-zX-bqL"/>
  24. <outlet property="sizeLabel" destination="JF7-f4-ihM" id="03Y-DG-toK"/>
  25. <outlet property="titleLabel" destination="feZ-ij-cjM" id="4xr-Ws-a8c"/>
  26. </connections>
  27. </customObject>
  28. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  29. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  30. <customView id="c22-O7-iKe">
  31. <rect key="frame" x="0.0" y="0.0" width="531" height="424"/>
  32. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  33. <subviews>
  34. <view translatesAutoresizingMaskIntoConstraints="NO" id="7D3-FA-RtT">
  35. <rect key="frame" x="0.0" y="0.0" width="531" height="424"/>
  36. <subviews>
  37. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="M8m-46-Uhb">
  38. <rect key="frame" x="332" y="11" width="76" height="32"/>
  39. <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="jGJ-6V-t57">
  40. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  41. <font key="font" metaFont="system"/>
  42. <string key="keyEquivalent" base64-UTF8="YES">
  43. Gw
  44. </string>
  45. </buttonCell>
  46. <connections>
  47. <action selector="cancelButtonAction:" target="-2" id="gNl-ks-fY8"/>
  48. </connections>
  49. </button>
  50. <button horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="IHF-en-Dqi">
  51. <rect key="frame" x="409" y="11" width="96" height="32"/>
  52. <buttonCell key="cell" type="push" title="Compress" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ZKC-Ne-tUY">
  53. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  54. <font key="font" metaFont="system"/>
  55. <string key="keyEquivalent" base64-UTF8="YES">
  56. DQ
  57. </string>
  58. </buttonCell>
  59. <connections>
  60. <action selector="compressButtonAction:" target="-2" id="5LC-ea-MLd"/>
  61. </connections>
  62. </button>
  63. <matrix verticalHuggingPriority="750" allowsEmptySelection="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pD4-qc-WIt">
  64. <rect key="frame" x="61" y="90" width="357" height="123"/>
  65. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  66. <size key="cellSize" width="357" height="23"/>
  67. <size key="intercellSpacing" width="4" height="2"/>
  68. <buttonCell key="prototype" type="bevel" title="Radio" imagePosition="left" alignment="left" inset="2" id="ZoF-so-Qrp">
  69. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  70. <font key="font" metaFont="system"/>
  71. </buttonCell>
  72. <cells>
  73. <column>
  74. <buttonCell type="radio" title="Large File Size(High Quality)" bezelStyle="regularSquare" imagePosition="left" alignment="left" state="on" tag="1" inset="2" id="a8s-8G-jq2">
  75. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  76. <font key="font" metaFont="system"/>
  77. </buttonCell>
  78. <buttonCell type="radio" title="Medium File Size(Medium Quality)" imagePosition="left" alignment="left" inset="2" id="Tdw-Os-Nhn">
  79. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  80. <font key="font" metaFont="system"/>
  81. </buttonCell>
  82. <buttonCell type="radio" title="Small File Size(Recommended Quality)" imagePosition="left" alignment="left" inset="2" id="c7y-5G-qtA">
  83. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  84. <font key="font" metaFont="system"/>
  85. </buttonCell>
  86. <buttonCell type="radio" title="Minimum File Size(Low Quality)" imagePosition="left" alignment="left" inset="2" id="LRe-1E-d0e">
  87. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  88. <font key="font" metaFont="system"/>
  89. </buttonCell>
  90. <buttonCell type="radio" title="Other" bezelStyle="regularSquare" imagePosition="left" alignment="left" inset="2" id="IHz-jB-tSr">
  91. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  92. <font key="font" metaFont="system"/>
  93. </buttonCell>
  94. </column>
  95. </cells>
  96. <connections>
  97. <action selector="qulityMatrixAction:" target="-2" id="tA2-1h-dxN"/>
  98. </connections>
  99. </matrix>
  100. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="7pF-2n-frE">
  101. <rect key="frame" x="59" y="223" width="154" height="16"/>
  102. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Select Compress Format" id="unA-fp-iyW">
  103. <font key="font" metaFont="system"/>
  104. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  105. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  106. </textFieldCell>
  107. </textField>
  108. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oK4-qZ-nsZ">
  109. <rect key="frame" x="8" y="11" width="69" height="32"/>
  110. <buttonCell key="cell" type="push" title="Batch" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="d4I-h4-20k">
  111. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  112. <font key="font" metaFont="system"/>
  113. </buttonCell>
  114. <connections>
  115. <action selector="batchButtonAction:" target="-2" id="WsW-uG-03w"/>
  116. </connections>
  117. </button>
  118. <box autoresizesSubviews="NO" borderType="line" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="JoQ-Bg-A7A" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
  119. <rect key="frame" x="37" y="260" width="457" height="146"/>
  120. <view key="contentView" id="qgD-bf-gnS">
  121. <rect key="frame" x="4" y="5" width="449" height="138"/>
  122. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  123. <subviews>
  124. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JF7-f4-ihM">
  125. <rect key="frame" x="128" y="81" width="4" height="16"/>
  126. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="whk-Hu-7q8">
  127. <font key="font" metaFont="system"/>
  128. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  129. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  130. </textFieldCell>
  131. </textField>
  132. <progressIndicator wantsLayer="YES" maxValue="100" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="rI6-3z-z33">
  133. <rect key="frame" x="130" y="47" width="240" height="20"/>
  134. <constraints>
  135. <constraint firstAttribute="width" constant="240" id="r9M-rs-3WM"/>
  136. </constraints>
  137. </progressIndicator>
  138. <textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="feZ-ij-cjM">
  139. <rect key="frame" x="128" y="102" width="303" height="16"/>
  140. <textFieldCell key="cell" truncatesLastVisibleLine="YES" sendsActionOnEndEditing="YES" id="He2-H0-3Up">
  141. <font key="font" metaFont="system"/>
  142. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  143. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  144. </textFieldCell>
  145. </textField>
  146. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="got-mA-Esq">
  147. <rect key="frame" x="10" y="14" width="110" height="110"/>
  148. <constraints>
  149. <constraint firstAttribute="height" constant="110" id="Guy-Ta-rMV"/>
  150. <constraint firstAttribute="width" constant="110" id="TbS-1n-M8o"/>
  151. </constraints>
  152. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="Uy4-7y-Qeb"/>
  153. </imageView>
  154. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="AVp-B0-LcQ">
  155. <rect key="frame" x="143" y="81" width="4" height="16"/>
  156. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="XEA-VF-Y0d">
  157. <font key="font" metaFont="system"/>
  158. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  159. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  160. </textFieldCell>
  161. </textField>
  162. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qSB-Az-aee">
  163. <rect key="frame" x="383" y="49" width="4" height="16"/>
  164. <textFieldCell key="cell" lineBreakMode="clipping" id="jbV-Qh-AnI">
  165. <font key="font" metaFont="system"/>
  166. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  167. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  168. </textFieldCell>
  169. </textField>
  170. </subviews>
  171. <constraints>
  172. <constraint firstItem="JF7-f4-ihM" firstAttribute="top" secondItem="feZ-ij-cjM" secondAttribute="bottom" constant="5" id="0Te-Rh-Zal"/>
  173. <constraint firstItem="rI6-3z-z33" firstAttribute="leading" secondItem="JF7-f4-ihM" secondAttribute="leading" id="0fG-ad-ixq"/>
  174. <constraint firstItem="got-mA-Esq" firstAttribute="leading" secondItem="qgD-bf-gnS" secondAttribute="leading" constant="10" id="8el-Fe-esX"/>
  175. <constraint firstItem="feZ-ij-cjM" firstAttribute="top" secondItem="qgD-bf-gnS" secondAttribute="top" constant="20" id="Iog-kr-jgF"/>
  176. <constraint firstItem="qSB-Az-aee" firstAttribute="centerY" secondItem="rI6-3z-z33" secondAttribute="centerY" id="L6b-vM-oZp"/>
  177. <constraint firstItem="JF7-f4-ihM" firstAttribute="leading" secondItem="feZ-ij-cjM" secondAttribute="leading" id="RT3-Xi-ANr"/>
  178. <constraint firstItem="feZ-ij-cjM" firstAttribute="leading" secondItem="got-mA-Esq" secondAttribute="trailing" constant="10" id="ToQ-y4-mKG"/>
  179. <constraint firstItem="qSB-Az-aee" firstAttribute="leading" secondItem="rI6-3z-z33" secondAttribute="trailing" constant="15" id="YGm-Im-bDy"/>
  180. <constraint firstItem="rI6-3z-z33" firstAttribute="top" secondItem="JF7-f4-ihM" secondAttribute="bottom" constant="15" id="Ysp-bX-Tau"/>
  181. <constraint firstItem="AVp-B0-LcQ" firstAttribute="centerY" secondItem="JF7-f4-ihM" secondAttribute="centerY" id="cHu-mi-1qN"/>
  182. <constraint firstAttribute="trailing" secondItem="feZ-ij-cjM" secondAttribute="trailing" constant="20" id="fGv-MR-AoV"/>
  183. <constraint firstItem="AVp-B0-LcQ" firstAttribute="leading" secondItem="JF7-f4-ihM" secondAttribute="trailing" constant="15" id="gDW-WJ-ROl"/>
  184. <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="qSB-Az-aee" secondAttribute="trailing" constant="10" id="gX9-xj-gEb"/>
  185. <constraint firstItem="got-mA-Esq" firstAttribute="centerY" secondItem="qgD-bf-gnS" secondAttribute="centerY" id="nkG-Zb-rLY"/>
  186. </constraints>
  187. </view>
  188. <constraints>
  189. <constraint firstAttribute="height" constant="140" id="HWO-1j-I4e"/>
  190. </constraints>
  191. </box>
  192. <slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="eL4-zP-lte" customClass="KMSlider" customModule="PDF_Master" customModuleProvider="target">
  193. <rect key="frame" x="127" y="56" width="204" height="28"/>
  194. <constraints>
  195. <constraint firstAttribute="width" constant="200" id="PSU-qN-bMS"/>
  196. </constraints>
  197. <sliderCell key="cell" state="on" alignment="left" minValue="1" maxValue="120" doubleValue="60" tickMarkPosition="above" sliderType="linear" id="mi1-5s-sLY"/>
  198. </slider>
  199. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="vym-ui-oBO">
  200. <rect key="frame" x="84" y="64" width="37" height="16"/>
  201. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="i3j-GV-aUO">
  202. <font key="font" metaFont="system"/>
  203. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  204. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  205. </textFieldCell>
  206. </textField>
  207. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="QQd-Ip-P83">
  208. <rect key="frame" x="337" y="64" width="37" height="16"/>
  209. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="XHK-Rr-DPO">
  210. <font key="font" metaFont="system"/>
  211. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  212. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  213. </textFieldCell>
  214. </textField>
  215. </subviews>
  216. <constraints>
  217. <constraint firstAttribute="trailing" secondItem="JoQ-Bg-A7A" secondAttribute="trailing" constant="40" id="0BD-V6-QH5"/>
  218. <constraint firstItem="vym-ui-oBO" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" constant="86" id="0dc-Pw-Dha"/>
  219. <constraint firstItem="7pF-2n-frE" firstAttribute="top" secondItem="JoQ-Bg-A7A" secondAttribute="bottom" constant="25" id="Aab-bv-j0P"/>
  220. <constraint firstItem="M8m-46-Uhb" firstAttribute="centerY" secondItem="oK4-qZ-nsZ" secondAttribute="centerY" id="BNo-z7-3aF"/>
  221. <constraint firstItem="oK4-qZ-nsZ" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" constant="15" id="Cpb-jC-cBb"/>
  222. <constraint firstItem="pD4-qc-WIt" firstAttribute="leading" secondItem="7pF-2n-frE" secondAttribute="leading" id="Dkp-ae-eMC"/>
  223. <constraint firstItem="QQd-Ip-P83" firstAttribute="centerY" secondItem="eL4-zP-lte" secondAttribute="centerY" id="GVR-gW-8qX"/>
  224. <constraint firstItem="IHF-en-Dqi" firstAttribute="centerY" secondItem="oK4-qZ-nsZ" secondAttribute="centerY" id="Hd6-wV-p14"/>
  225. <constraint firstItem="QQd-Ip-P83" firstAttribute="leading" secondItem="eL4-zP-lte" secondAttribute="trailing" constant="10" id="Liz-u2-Dsv"/>
  226. <constraint firstAttribute="trailing" secondItem="IHF-en-Dqi" secondAttribute="trailing" constant="33" id="PnY-ds-mE9"/>
  227. <constraint firstItem="eL4-zP-lte" firstAttribute="leading" secondItem="vym-ui-oBO" secondAttribute="trailing" constant="10" id="Q5a-kG-TbE"/>
  228. <constraint firstAttribute="bottom" secondItem="oK4-qZ-nsZ" secondAttribute="bottom" constant="18" id="S50-eb-Jw5"/>
  229. <constraint firstItem="JoQ-Bg-A7A" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" constant="40" id="SIf-DG-vtq"/>
  230. <constraint firstItem="eL4-zP-lte" firstAttribute="centerY" secondItem="vym-ui-oBO" secondAttribute="centerY" id="c1J-bd-Hr2"/>
  231. <constraint firstItem="JoQ-Bg-A7A" firstAttribute="top" secondItem="7D3-FA-RtT" secondAttribute="top" constant="20" id="cN3-Xc-cuz"/>
  232. <constraint firstItem="7pF-2n-frE" firstAttribute="leading" secondItem="qgD-bf-gnS" secondAttribute="leading" constant="20" id="hrr-AP-NWs"/>
  233. <constraint firstItem="vym-ui-oBO" firstAttribute="top" secondItem="pD4-qc-WIt" secondAttribute="bottom" constant="10" id="iMw-Ts-ws1"/>
  234. <constraint firstItem="pD4-qc-WIt" firstAttribute="top" secondItem="7pF-2n-frE" secondAttribute="bottom" constant="10" id="nj6-Bo-0W9"/>
  235. <constraint firstItem="IHF-en-Dqi" firstAttribute="leading" secondItem="M8m-46-Uhb" secondAttribute="trailing" constant="15" id="qhx-jh-Biu"/>
  236. </constraints>
  237. </view>
  238. </subviews>
  239. <constraints>
  240. <constraint firstItem="7D3-FA-RtT" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="FfU-B7-Lu5"/>
  241. <constraint firstItem="7D3-FA-RtT" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" id="Mw2-f6-U8P"/>
  242. <constraint firstAttribute="trailing" secondItem="7D3-FA-RtT" secondAttribute="trailing" id="QvG-p4-qhW"/>
  243. <constraint firstAttribute="bottom" secondItem="7D3-FA-RtT" secondAttribute="bottom" id="rPf-Hv-ogo"/>
  244. </constraints>
  245. <point key="canvasLocation" x="45" y="146"/>
  246. </customView>
  247. </objects>
  248. </document>