KMCompressView.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172
  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="previewBox" destination="JoQ-Bg-A7A" id="IFH-92-kmH"/>
  17. <outlet property="progress" destination="rI6-3z-z33" id="EnV-KA-efW"/>
  18. <outlet property="progressSizeLabel" destination="qSB-Az-aee" id="nUn-C4-CiF"/>
  19. <outlet property="sizeLabel" destination="JF7-f4-ihM" id="03Y-DG-toK"/>
  20. <outlet property="titleLabel" destination="feZ-ij-cjM" id="4xr-Ws-a8c"/>
  21. </connections>
  22. </customObject>
  23. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  24. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  25. <customView id="c22-O7-iKe">
  26. <rect key="frame" x="0.0" y="0.0" width="531" height="424"/>
  27. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  28. <subviews>
  29. <view translatesAutoresizingMaskIntoConstraints="NO" id="7D3-FA-RtT">
  30. <rect key="frame" x="0.0" y="0.0" width="531" height="424"/>
  31. <subviews>
  32. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="M8m-46-Uhb">
  33. <rect key="frame" x="332" y="11" width="76" height="32"/>
  34. <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="jGJ-6V-t57">
  35. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  36. <font key="font" metaFont="system"/>
  37. <string key="keyEquivalent" base64-UTF8="YES">
  38. Gw
  39. </string>
  40. </buttonCell>
  41. <connections>
  42. <action selector="cancelButtonAction:" target="-2" id="gNl-ks-fY8"/>
  43. </connections>
  44. </button>
  45. <button horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="IHF-en-Dqi">
  46. <rect key="frame" x="409" y="11" width="96" height="32"/>
  47. <buttonCell key="cell" type="push" title="Compress" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="ZKC-Ne-tUY">
  48. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  49. <font key="font" metaFont="system"/>
  50. <string key="keyEquivalent" base64-UTF8="YES">
  51. DQ
  52. </string>
  53. </buttonCell>
  54. <connections>
  55. <action selector="compressButtonAction:" target="-2" id="5LC-ea-MLd"/>
  56. </connections>
  57. </button>
  58. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oK4-qZ-nsZ">
  59. <rect key="frame" x="8" y="11" width="69" height="32"/>
  60. <buttonCell key="cell" type="push" title="Batch" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="d4I-h4-20k">
  61. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  62. <font key="font" metaFont="system"/>
  63. </buttonCell>
  64. <connections>
  65. <action selector="batchButtonAction:" target="-2" id="WsW-uG-03w"/>
  66. </connections>
  67. </button>
  68. <box autoresizesSubviews="NO" borderType="line" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="JoQ-Bg-A7A" customClass="KMBox" customModule="PDF_Reader_Pro" customModuleProvider="target">
  69. <rect key="frame" x="37" y="260" width="457" height="146"/>
  70. <view key="contentView" id="qgD-bf-gnS">
  71. <rect key="frame" x="4" y="5" width="449" height="138"/>
  72. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  73. <subviews>
  74. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JF7-f4-ihM">
  75. <rect key="frame" x="128" y="81" width="4" height="16"/>
  76. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="whk-Hu-7q8">
  77. <font key="font" metaFont="system"/>
  78. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  79. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  80. </textFieldCell>
  81. </textField>
  82. <progressIndicator wantsLayer="YES" maxValue="100" style="bar" translatesAutoresizingMaskIntoConstraints="NO" id="rI6-3z-z33">
  83. <rect key="frame" x="130" y="47" width="240" height="20"/>
  84. <constraints>
  85. <constraint firstAttribute="width" constant="240" id="r9M-rs-3WM"/>
  86. </constraints>
  87. </progressIndicator>
  88. <textField focusRingType="none" verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="feZ-ij-cjM">
  89. <rect key="frame" x="128" y="102" width="303" height="16"/>
  90. <textFieldCell key="cell" truncatesLastVisibleLine="YES" sendsActionOnEndEditing="YES" id="He2-H0-3Up">
  91. <font key="font" metaFont="system"/>
  92. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  93. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  94. </textFieldCell>
  95. </textField>
  96. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="got-mA-Esq">
  97. <rect key="frame" x="10" y="14" width="110" height="110"/>
  98. <constraints>
  99. <constraint firstAttribute="height" constant="110" id="Guy-Ta-rMV"/>
  100. <constraint firstAttribute="width" constant="110" id="TbS-1n-M8o"/>
  101. </constraints>
  102. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="Uy4-7y-Qeb"/>
  103. </imageView>
  104. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="AVp-B0-LcQ">
  105. <rect key="frame" x="143" y="81" width="4" height="16"/>
  106. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" id="XEA-VF-Y0d">
  107. <font key="font" metaFont="system"/>
  108. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  109. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  110. </textFieldCell>
  111. </textField>
  112. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qSB-Az-aee">
  113. <rect key="frame" x="383" y="49" width="4" height="16"/>
  114. <textFieldCell key="cell" lineBreakMode="clipping" id="jbV-Qh-AnI">
  115. <font key="font" metaFont="system"/>
  116. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  117. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  118. </textFieldCell>
  119. </textField>
  120. </subviews>
  121. <constraints>
  122. <constraint firstItem="JF7-f4-ihM" firstAttribute="top" secondItem="feZ-ij-cjM" secondAttribute="bottom" constant="5" id="0Te-Rh-Zal"/>
  123. <constraint firstItem="rI6-3z-z33" firstAttribute="leading" secondItem="JF7-f4-ihM" secondAttribute="leading" id="0fG-ad-ixq"/>
  124. <constraint firstItem="got-mA-Esq" firstAttribute="leading" secondItem="qgD-bf-gnS" secondAttribute="leading" constant="10" id="8el-Fe-esX"/>
  125. <constraint firstItem="feZ-ij-cjM" firstAttribute="top" secondItem="qgD-bf-gnS" secondAttribute="top" constant="20" id="Iog-kr-jgF"/>
  126. <constraint firstItem="qSB-Az-aee" firstAttribute="centerY" secondItem="rI6-3z-z33" secondAttribute="centerY" id="L6b-vM-oZp"/>
  127. <constraint firstItem="JF7-f4-ihM" firstAttribute="leading" secondItem="feZ-ij-cjM" secondAttribute="leading" id="RT3-Xi-ANr"/>
  128. <constraint firstItem="feZ-ij-cjM" firstAttribute="leading" secondItem="got-mA-Esq" secondAttribute="trailing" constant="10" id="ToQ-y4-mKG"/>
  129. <constraint firstItem="qSB-Az-aee" firstAttribute="leading" secondItem="rI6-3z-z33" secondAttribute="trailing" constant="15" id="YGm-Im-bDy"/>
  130. <constraint firstItem="rI6-3z-z33" firstAttribute="top" secondItem="JF7-f4-ihM" secondAttribute="bottom" constant="15" id="Ysp-bX-Tau"/>
  131. <constraint firstItem="AVp-B0-LcQ" firstAttribute="centerY" secondItem="JF7-f4-ihM" secondAttribute="centerY" id="cHu-mi-1qN"/>
  132. <constraint firstAttribute="trailing" secondItem="feZ-ij-cjM" secondAttribute="trailing" constant="20" id="fGv-MR-AoV"/>
  133. <constraint firstItem="AVp-B0-LcQ" firstAttribute="leading" secondItem="JF7-f4-ihM" secondAttribute="trailing" constant="15" id="gDW-WJ-ROl"/>
  134. <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="qSB-Az-aee" secondAttribute="trailing" constant="10" id="gX9-xj-gEb"/>
  135. <constraint firstItem="got-mA-Esq" firstAttribute="centerY" secondItem="qgD-bf-gnS" secondAttribute="centerY" id="nkG-Zb-rLY"/>
  136. </constraints>
  137. </view>
  138. <constraints>
  139. <constraint firstAttribute="height" constant="140" id="HWO-1j-I4e"/>
  140. </constraints>
  141. </box>
  142. <customView translatesAutoresizingMaskIntoConstraints="NO" id="u2u-i9-7s5" customClass="KMBatchOperateCompressView" customModule="PDF_Reader_Pro" customModuleProvider="target">
  143. <rect key="frame" x="40" y="58" width="451" height="166"/>
  144. </customView>
  145. </subviews>
  146. <constraints>
  147. <constraint firstAttribute="trailing" secondItem="JoQ-Bg-A7A" secondAttribute="trailing" constant="40" id="0BD-V6-QH5"/>
  148. <constraint firstItem="M8m-46-Uhb" firstAttribute="centerY" secondItem="oK4-qZ-nsZ" secondAttribute="centerY" id="BNo-z7-3aF"/>
  149. <constraint firstItem="oK4-qZ-nsZ" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" constant="15" id="Cpb-jC-cBb"/>
  150. <constraint firstItem="IHF-en-Dqi" firstAttribute="centerY" secondItem="oK4-qZ-nsZ" secondAttribute="centerY" id="Hd6-wV-p14"/>
  151. <constraint firstAttribute="trailing" secondItem="u2u-i9-7s5" secondAttribute="trailing" constant="40" id="LIj-xc-gg7"/>
  152. <constraint firstAttribute="trailing" secondItem="IHF-en-Dqi" secondAttribute="trailing" constant="33" id="PnY-ds-mE9"/>
  153. <constraint firstAttribute="bottom" secondItem="oK4-qZ-nsZ" secondAttribute="bottom" constant="18" id="S50-eb-Jw5"/>
  154. <constraint firstItem="JoQ-Bg-A7A" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" constant="40" id="SIf-DG-vtq"/>
  155. <constraint firstItem="u2u-i9-7s5" firstAttribute="leading" secondItem="7D3-FA-RtT" secondAttribute="leading" constant="40" id="TEj-JF-zdb"/>
  156. <constraint firstItem="JoQ-Bg-A7A" firstAttribute="top" secondItem="7D3-FA-RtT" secondAttribute="top" constant="20" id="cN3-Xc-cuz"/>
  157. <constraint firstAttribute="bottom" secondItem="u2u-i9-7s5" secondAttribute="bottom" constant="58" id="p9O-L0-KPK"/>
  158. <constraint firstItem="IHF-en-Dqi" firstAttribute="leading" secondItem="M8m-46-Uhb" secondAttribute="trailing" constant="15" id="qhx-jh-Biu"/>
  159. <constraint firstItem="u2u-i9-7s5" firstAttribute="top" secondItem="JoQ-Bg-A7A" secondAttribute="bottom" constant="40" id="zdX-xV-MKC"/>
  160. </constraints>
  161. </view>
  162. </subviews>
  163. <constraints>
  164. <constraint firstItem="7D3-FA-RtT" firstAttribute="leading" secondItem="c22-O7-iKe" secondAttribute="leading" id="FfU-B7-Lu5"/>
  165. <constraint firstItem="7D3-FA-RtT" firstAttribute="top" secondItem="c22-O7-iKe" secondAttribute="top" id="Mw2-f6-U8P"/>
  166. <constraint firstAttribute="trailing" secondItem="7D3-FA-RtT" secondAttribute="trailing" id="QvG-p4-qhW"/>
  167. <constraint firstAttribute="bottom" secondItem="7D3-FA-RtT" secondAttribute="bottom" id="rPf-Hv-ogo"/>
  168. </constraints>
  169. <point key="canvasLocation" x="44.5" y="146"/>
  170. </customView>
  171. </objects>
  172. </document>