KMCompressView.xib 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
  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_Reader_Pro" 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="modelsLabel" destination="lrq-Ko-3OF" id="FOP-Gc-0DC"/>
  17. <outlet property="previewBox" destination="JoQ-Bg-A7A" id="IFH-92-kmH"/>
  18. <outlet property="progress" destination="rI6-3z-z33" id="EnV-KA-efW"/>
  19. <outlet property="progressSizeLabel" destination="qSB-Az-aee" id="nUn-C4-CiF"/>
  20. <outlet property="sizeLabel" destination="JF7-f4-ihM" id="03Y-DG-toK"/>
  21. <outlet property="titleLabel" destination="feZ-ij-cjM" id="4xr-Ws-a8c"/>
  22. </connections>
  23. </customObject>
  24. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  25. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  26. <customView id="c22-O7-iKe">
  27. <rect key="frame" x="0.0" y="0.0" width="530" height="451"/>
  28. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  29. <subviews>
  30. <view translatesAutoresizingMaskIntoConstraints="NO" id="7D3-FA-RtT">
  31. <rect key="frame" x="0.0" y="0.0" width="530" height="451"/>
  32. <subviews>
  33. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="M8m-46-Uhb">
  34. <rect key="frame" x="351" y="13" width="76" height="32"/>
  35. <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="jGJ-6V-t57">
  36. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  37. <font key="font" metaFont="system"/>
  38. <string key="keyEquivalent" base64-UTF8="YES">
  39. Gw
  40. </string>
  41. </buttonCell>
  42. <constraints>
  43. <constraint firstAttribute="height" constant="20" id="Xoi-SM-BgZ"/>
  44. </constraints>
  45. <connections>
  46. <action selector="cancelButtonAction:" target="-2" id="gNl-ks-fY8"/>
  47. </connections>
  48. </button>
  49. <button horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="IHF-en-Dqi">
  50. <rect key="frame" x="421" y="13" width="96" height="32"/>
  51. <buttonCell key="cell" type="push" title="Compress" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ZKC-Ne-tUY">
  52. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  53. <font key="font" metaFont="system"/>
  54. <string key="keyEquivalent" base64-UTF8="YES">
  55. DQ
  56. </string>
  57. </buttonCell>
  58. <connections>
  59. <action selector="compressButtonAction:" target="-2" id="5LC-ea-MLd"/>
  60. </connections>
  61. </button>
  62. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oK4-qZ-nsZ">
  63. <rect key="frame" x="13" y="13" width="69" height="32"/>
  64. <buttonCell key="cell" type="push" title="Batch" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="d4I-h4-20k">
  65. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  66. <font key="font" metaFont="system"/>
  67. </buttonCell>
  68. <connections>
  69. <action selector="batchButtonAction:" target="-2" id="WsW-uG-03w"/>
  70. </connections>
  71. </button>
  72. <box autoresizesSubviews="NO" borderType="line" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="JoQ-Bg-A7A" customClass="KMBox" customModule="PDF_Reader_Pro" customModuleProvider="target">
  73. <rect key="frame" x="17" y="287" width="496" height="146"/>
  74. <view key="contentView" id="qgD-bf-gnS">
  75. <rect key="frame" x="4" y="5" width="488" height="138"/>
  76. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  77. <subviews>
  78. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JF7-f4-ihM">
  79. <rect key="frame" x="126" y="72" width="4" height="16"/>
  80. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="whk-Hu-7q8">
  81. <font key="font" metaFont="system"/>
  82. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  83. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  84. </textFieldCell>
  85. </textField>
  86. <progressIndicator wantsLayer="YES" maxValue="100" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="rI6-3z-z33">
  87. <rect key="frame" x="128" y="38" width="240" height="20"/>
  88. <constraints>
  89. <constraint firstAttribute="width" constant="240" id="r9M-rs-3WM"/>
  90. </constraints>
  91. </progressIndicator>
  92. <textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="feZ-ij-cjM">
  93. <rect key="frame" x="126" y="96" width="344" height="16"/>
  94. <textFieldCell key="cell" truncatesLastVisibleLine="YES" sendsActionOnEndEditing="YES" id="He2-H0-3Up">
  95. <font key="font" metaFont="system"/>
  96. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  97. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  98. </textFieldCell>
  99. </textField>
  100. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="got-mA-Esq">
  101. <rect key="frame" x="20" y="13" width="88" height="112"/>
  102. <constraints>
  103. <constraint firstAttribute="height" constant="112" id="Guy-Ta-rMV"/>
  104. <constraint firstAttribute="width" constant="88" id="TbS-1n-M8o"/>
  105. </constraints>
  106. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="Uy4-7y-Qeb"/>
  107. </imageView>
  108. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="AVp-B0-LcQ">
  109. <rect key="frame" x="141" y="72" width="4" height="16"/>
  110. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="XEA-VF-Y0d">
  111. <font key="font" metaFont="system"/>
  112. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  113. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  114. </textFieldCell>
  115. </textField>
  116. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qSB-Az-aee">
  117. <rect key="frame" x="381" y="40" width="4" height="16"/>
  118. <textFieldCell key="cell" lineBreakMode="clipping" id="jbV-Qh-AnI">
  119. <font key="font" metaFont="system"/>
  120. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  121. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  122. </textFieldCell>
  123. </textField>
  124. </subviews>
  125. <constraints>
  126. <constraint firstItem="JF7-f4-ihM" firstAttribute="top" secondItem="feZ-ij-cjM" secondAttribute="bottom" constant="8" id="0Te-Rh-Zal"/>
  127. <constraint firstItem="rI6-3z-z33" firstAttribute="leading" secondItem="JF7-f4-ihM" secondAttribute="leading" id="0fG-ad-ixq"/>
  128. <constraint firstItem="got-mA-Esq" firstAttribute="leading" secondItem="qgD-bf-gnS" secondAttribute="leading" constant="20" id="8el-Fe-esX"/>
  129. <constraint firstItem="feZ-ij-cjM" firstAttribute="top" secondItem="qgD-bf-gnS" secondAttribute="top" constant="26" id="Iog-kr-jgF"/>
  130. <constraint firstItem="qSB-Az-aee" firstAttribute="centerY" secondItem="rI6-3z-z33" secondAttribute="centerY" id="L6b-vM-oZp"/>
  131. <constraint firstItem="JF7-f4-ihM" firstAttribute="leading" secondItem="feZ-ij-cjM" secondAttribute="leading" id="RT3-Xi-ANr"/>
  132. <constraint firstItem="feZ-ij-cjM" firstAttribute="leading" secondItem="got-mA-Esq" secondAttribute="trailing" constant="20" id="ToQ-y4-mKG"/>
  133. <constraint firstItem="qSB-Az-aee" firstAttribute="leading" secondItem="rI6-3z-z33" secondAttribute="trailing" constant="15" id="YGm-Im-bDy"/>
  134. <constraint firstItem="rI6-3z-z33" firstAttribute="top" secondItem="JF7-f4-ihM" secondAttribute="bottom" constant="15" id="Ysp-bX-Tau"/>
  135. <constraint firstItem="AVp-B0-LcQ" firstAttribute="centerY" secondItem="JF7-f4-ihM" secondAttribute="centerY" id="cHu-mi-1qN"/>
  136. <constraint firstAttribute="trailing" secondItem="feZ-ij-cjM" secondAttribute="trailing" constant="20" id="fGv-MR-AoV"/>
  137. <constraint firstItem="AVp-B0-LcQ" firstAttribute="leading" secondItem="JF7-f4-ihM" secondAttribute="trailing" constant="15" id="gDW-WJ-ROl"/>
  138. <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="qSB-Az-aee" secondAttribute="trailing" constant="10" id="gX9-xj-gEb"/>
  139. <constraint firstItem="got-mA-Esq" firstAttribute="centerY" secondItem="qgD-bf-gnS" secondAttribute="centerY" id="nkG-Zb-rLY"/>
  140. </constraints>
  141. </view>
  142. <constraints>
  143. <constraint firstAttribute="height" constant="140" id="HWO-1j-I4e"/>
  144. </constraints>
  145. </box>
  146. <customView translatesAutoresizingMaskIntoConstraints="NO" id="SgF-oL-wWE">
  147. <rect key="frame" x="20" y="60" width="490" height="211"/>
  148. <subviews>
  149. <customView translatesAutoresizingMaskIntoConstraints="NO" id="plO-in-6i0" customClass="KMBatchOperateCompressView" customModule="PDF_Reader_Pro" customModuleProvider="target">
  150. <rect key="frame" x="0.0" y="0.0" width="490" height="185"/>
  151. </customView>
  152. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lrq-Ko-3OF">
  153. <rect key="frame" x="-2" y="191" width="49" height="16"/>
  154. <textFieldCell key="cell" lineBreakMode="clipping" title="Models" id="Sy1-Df-BRB">
  155. <font key="font" usesAppearanceFont="YES"/>
  156. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  157. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  158. </textFieldCell>
  159. </textField>
  160. </subviews>
  161. <constraints>
  162. <constraint firstItem="lrq-Ko-3OF" firstAttribute="top" secondItem="SgF-oL-wWE" secondAttribute="top" constant="4" id="4rE-jd-yaN"/>
  163. <constraint firstAttribute="bottom" secondItem="plO-in-6i0" secondAttribute="bottom" id="Hll-Xh-jjI"/>
  164. <constraint firstItem="plO-in-6i0" firstAttribute="leading" secondItem="SgF-oL-wWE" secondAttribute="leading" id="RfT-jd-wf1"/>
  165. <constraint firstAttribute="trailing" secondItem="plO-in-6i0" secondAttribute="trailing" id="fbA-hs-ezY"/>
  166. <constraint firstItem="plO-in-6i0" firstAttribute="top" secondItem="SgF-oL-wWE" secondAttribute="top" constant="26" id="sl7-ce-Ak2"/>
  167. <constraint firstItem="lrq-Ko-3OF" firstAttribute="leading" secondItem="SgF-oL-wWE" secondAttribute="leading" id="vld-gi-Xrs"/>
  168. </constraints>
  169. </customView>
  170. </subviews>
  171. <constraints>
  172. <constraint firstAttribute="trailing" secondItem="JoQ-Bg-A7A" secondAttribute="trailing" constant="20" id="0BD-V6-QH5"/>
  173. <constraint firstItem="SgF-oL-wWE" firstAttribute="top" secondItem="JoQ-Bg-A7A" secondAttribute="bottom" constant="20" id="9NG-mB-ztG"/>
  174. <constraint firstItem="SgF-oL-wWE" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" constant="20" id="9a9-39-bSK"/>
  175. <constraint firstItem="M8m-46-Uhb" firstAttribute="centerY" secondItem="oK4-qZ-nsZ" secondAttribute="centerY" id="BNo-z7-3aF"/>
  176. <constraint firstItem="oK4-qZ-nsZ" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" constant="20" id="Cpb-jC-cBb"/>
  177. <constraint firstItem="IHF-en-Dqi" firstAttribute="centerY" secondItem="oK4-qZ-nsZ" secondAttribute="centerY" id="Hd6-wV-p14"/>
  178. <constraint firstAttribute="trailing" secondItem="IHF-en-Dqi" secondAttribute="trailing" constant="20" id="PnY-ds-mE9"/>
  179. <constraint firstAttribute="bottom" secondItem="oK4-qZ-nsZ" secondAttribute="bottom" constant="20" id="S50-eb-Jw5"/>
  180. <constraint firstItem="JoQ-Bg-A7A" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" constant="20" id="SIf-DG-vtq"/>
  181. <constraint firstAttribute="bottom" secondItem="SgF-oL-wWE" secondAttribute="bottom" constant="60" id="UUd-Wo-FET"/>
  182. <constraint firstItem="JoQ-Bg-A7A" firstAttribute="top" secondItem="7D3-FA-RtT" secondAttribute="top" constant="20" id="cN3-Xc-cuz"/>
  183. <constraint firstItem="IHF-en-Dqi" firstAttribute="leading" secondItem="M8m-46-Uhb" secondAttribute="trailing" constant="8" id="qhx-jh-Biu"/>
  184. <constraint firstAttribute="trailing" secondItem="SgF-oL-wWE" secondAttribute="trailing" constant="20" id="wK4-ew-dnc"/>
  185. </constraints>
  186. </view>
  187. </subviews>
  188. <constraints>
  189. <constraint firstItem="7D3-FA-RtT" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="FfU-B7-Lu5"/>
  190. <constraint firstItem="7D3-FA-RtT" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" id="Mw2-f6-U8P"/>
  191. <constraint firstAttribute="trailing" secondItem="7D3-FA-RtT" secondAttribute="trailing" id="QvG-p4-qhW"/>
  192. <constraint firstAttribute="bottom" secondItem="7D3-FA-RtT" secondAttribute="bottom" id="rPf-Hv-ogo"/>
  193. </constraints>
  194. <point key="canvasLocation" x="44.5" y="146"/>
  195. </customView>
  196. </objects>
  197. </document>