ProgressVC.xib 25 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265
  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="ProgressVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="circleSizeBox" destination="baR-8y-bAy" id="330-aS-C6j"/>
  12. <outlet property="circleTypeBox" destination="nxd-Oi-fHo" id="eEZ-qb-dbq"/>
  13. <outlet property="itemHeightConst" destination="7Ev-FZ-6Sc" id="2es-6n-SUY"/>
  14. <outlet property="itemWidthConst" destination="hGi-qR-3v8" id="p28-2G-K9s"/>
  15. <outlet property="lineTypeBox" destination="zo0-Br-Zjb" id="CX0-mE-h9F"/>
  16. <outlet property="progressCircle" destination="mga-l2-hU3" id="LR3-Ab-5O7"/>
  17. <outlet property="progressLine" destination="5U9-F4-O1O" id="0s5-fx-PSt"/>
  18. <outlet property="progressPopup" destination="Cqb-eg-bYM" id="7QW-Yi-H97"/>
  19. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  20. </connections>
  21. </customObject>
  22. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  23. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  24. <customView id="Hz6-mo-xeY">
  25. <rect key="frame" x="0.0" y="0.0" width="738" height="426"/>
  26. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  27. <subviews>
  28. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="THv-1X-fiB">
  29. <rect key="frame" x="0.0" y="0.0" width="426" height="426"/>
  30. <view key="contentView" id="TLV-N6-t1L">
  31. <rect key="frame" x="1" y="1" width="424" height="424"/>
  32. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  33. <subviews>
  34. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ZAn-gc-OVg">
  35. <rect key="frame" x="18" y="398" width="99" height="16"/>
  36. <textFieldCell key="cell" lineBreakMode="clipping" title="Progress-Circle" id="saE-Bj-eSx">
  37. <font key="font" usesAppearanceFont="YES"/>
  38. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  39. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  40. </textFieldCell>
  41. </textField>
  42. <customView translatesAutoresizingMaskIntoConstraints="NO" id="mga-l2-hU3" customClass="ComponentProgressCircle" customModule="KMComponentLibrary">
  43. <rect key="frame" x="20" y="288" width="100" height="100"/>
  44. <constraints>
  45. <constraint firstAttribute="height" constant="100" id="7Ev-FZ-6Sc"/>
  46. <constraint firstAttribute="width" constant="100" id="hGi-qR-3v8"/>
  47. </constraints>
  48. </customView>
  49. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0Oe-Uw-daf">
  50. <rect key="frame" x="18" y="252" width="90" height="16"/>
  51. <textFieldCell key="cell" lineBreakMode="clipping" title="Progress-Line" id="TW2-gC-2gQ">
  52. <font key="font" usesAppearanceFont="YES"/>
  53. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  54. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  55. </textFieldCell>
  56. </textField>
  57. <customView translatesAutoresizingMaskIntoConstraints="NO" id="5U9-F4-O1O" customClass="ComponentProgressLine" customModule="KMComponentLibrary">
  58. <rect key="frame" x="20" y="226" width="160" height="16"/>
  59. <constraints>
  60. <constraint firstAttribute="width" constant="160" id="BbK-uQ-29i"/>
  61. <constraint firstAttribute="height" constant="16" id="hgM-gE-u38"/>
  62. </constraints>
  63. </customView>
  64. <customView translatesAutoresizingMaskIntoConstraints="NO" id="Cqb-eg-bYM" customClass="ComponentProgressPopup" customModule="KMComponentLibrary">
  65. <rect key="frame" x="20" y="82" width="240" height="88"/>
  66. <constraints>
  67. <constraint firstAttribute="height" constant="88" id="Qv0-ud-IIr"/>
  68. <constraint firstAttribute="width" constant="240" id="TH3-qN-GM7"/>
  69. </constraints>
  70. </customView>
  71. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="dYh-i5-WOh">
  72. <rect key="frame" x="18" y="190" width="90" height="16"/>
  73. <textFieldCell key="cell" lineBreakMode="clipping" title="Progress-Line" id="dRY-gx-34u">
  74. <font key="font" usesAppearanceFont="YES"/>
  75. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  76. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  77. </textFieldCell>
  78. </textField>
  79. </subviews>
  80. <constraints>
  81. <constraint firstItem="ZAn-gc-OVg" firstAttribute="leading" secondItem="TLV-N6-t1L" secondAttribute="leading" constant="20" id="A4O-ZS-ZLi"/>
  82. <constraint firstItem="Cqb-eg-bYM" firstAttribute="leading" secondItem="TLV-N6-t1L" secondAttribute="leading" constant="20" id="QDW-0M-mFd"/>
  83. <constraint firstItem="5U9-F4-O1O" firstAttribute="leading" secondItem="TLV-N6-t1L" secondAttribute="leading" constant="20" id="UbF-Mx-E61"/>
  84. <constraint firstItem="Cqb-eg-bYM" firstAttribute="top" secondItem="dYh-i5-WOh" secondAttribute="bottom" constant="20" id="VQY-Rl-8P9"/>
  85. <constraint firstItem="dYh-i5-WOh" firstAttribute="top" secondItem="5U9-F4-O1O" secondAttribute="bottom" constant="20" id="Vt6-NC-JOf"/>
  86. <constraint firstItem="0Oe-Uw-daf" firstAttribute="leading" secondItem="TLV-N6-t1L" secondAttribute="leading" constant="20" id="XqU-fo-Mu5"/>
  87. <constraint firstItem="dYh-i5-WOh" firstAttribute="leading" secondItem="TLV-N6-t1L" secondAttribute="leading" constant="20" id="d1E-7b-bJ0"/>
  88. <constraint firstItem="0Oe-Uw-daf" firstAttribute="top" secondItem="mga-l2-hU3" secondAttribute="bottom" constant="20" id="f8p-NB-ZP7"/>
  89. <constraint firstItem="mga-l2-hU3" firstAttribute="top" secondItem="ZAn-gc-OVg" secondAttribute="bottom" constant="10" id="flg-AX-VJo"/>
  90. <constraint firstItem="ZAn-gc-OVg" firstAttribute="top" secondItem="TLV-N6-t1L" secondAttribute="top" constant="10" id="gIG-Oi-T3d"/>
  91. <constraint firstItem="5U9-F4-O1O" firstAttribute="top" secondItem="0Oe-Uw-daf" secondAttribute="bottom" constant="10" id="vvV-pS-zMt"/>
  92. <constraint firstItem="mga-l2-hU3" firstAttribute="leading" secondItem="TLV-N6-t1L" secondAttribute="leading" constant="20" id="w14-t0-a9d"/>
  93. </constraints>
  94. </view>
  95. <constraints>
  96. <constraint firstAttribute="width" secondItem="THv-1X-fiB" secondAttribute="height" multiplier="1:1" id="NF2-Bc-GgV"/>
  97. <constraint firstAttribute="width" secondItem="THv-1X-fiB" secondAttribute="height" multiplier="1:1" id="SKZ-Fi-5vB"/>
  98. </constraints>
  99. </box>
  100. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="nc3-EK-V3J">
  101. <rect key="frame" x="446" y="0.0" width="292" height="426"/>
  102. <view key="contentView" id="Lth-6i-GdK">
  103. <rect key="frame" x="1" y="1" width="290" height="424"/>
  104. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  105. <subviews>
  106. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hp3-aL-gNT">
  107. <rect key="frame" x="8" y="403" width="106" height="16"/>
  108. <textFieldCell key="cell" lineBreakMode="clipping" title="Progress-Circle:" id="ZlT-QD-1ld">
  109. <font key="font" usesAppearanceFont="YES"/>
  110. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  111. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  112. </textFieldCell>
  113. </textField>
  114. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1lp-O4-yRd">
  115. <rect key="frame" x="8" y="382" width="34" height="16"/>
  116. <textFieldCell key="cell" lineBreakMode="clipping" title="Size:" id="dzC-DF-fXZ">
  117. <font key="font" metaFont="system"/>
  118. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  119. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  120. </textFieldCell>
  121. </textField>
  122. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="baR-8y-bAy">
  123. <rect key="frame" x="44" y="378" width="109" height="23"/>
  124. <constraints>
  125. <constraint firstAttribute="width" constant="105" id="OkT-Kl-o38"/>
  126. </constraints>
  127. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="M" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="6O4-X3-RS5">
  128. <font key="font" metaFont="system"/>
  129. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  130. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  131. <objectValues>
  132. <string>M</string>
  133. <string>S</string>
  134. </objectValues>
  135. </comboBoxCell>
  136. <connections>
  137. <action selector="boxAction:" target="-2" id="rNT-sA-zhG"/>
  138. </connections>
  139. </comboBox>
  140. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="NW3-qH-Ocd">
  141. <rect key="frame" x="8" y="356" width="38" height="16"/>
  142. <textFieldCell key="cell" lineBreakMode="clipping" title="Type:" id="Aej-Mb-yCa">
  143. <font key="font" metaFont="system"/>
  144. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  145. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  146. </textFieldCell>
  147. </textField>
  148. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="nxd-Oi-fHo">
  149. <rect key="frame" x="48" y="352" width="90" height="23"/>
  150. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="Waiting" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="Jio-jz-TVS">
  151. <font key="font" metaFont="system"/>
  152. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  153. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  154. <objectValues>
  155. <string>Waiting</string>
  156. <string>progressing-percent</string>
  157. <string>error-percent</string>
  158. <string>progressing-noPercent</string>
  159. <string>error-noPercent</string>
  160. <string>success</string>
  161. </objectValues>
  162. </comboBoxCell>
  163. <connections>
  164. <action selector="boxAction:" target="-2" id="ce6-pB-aPK"/>
  165. </connections>
  166. </comboBox>
  167. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="KF5-25-5SK">
  168. <rect key="frame" x="0.0" y="343" width="290" height="1"/>
  169. <view key="contentView" id="EUv-EE-clJ">
  170. <rect key="frame" x="1" y="1" width="288" height="0.0"/>
  171. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  172. </view>
  173. <constraints>
  174. <constraint firstAttribute="height" constant="1" id="Ih0-u7-QAg"/>
  175. </constraints>
  176. </box>
  177. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="43b-xE-Rzz">
  178. <rect key="frame" x="0.0" y="253" width="290" height="80"/>
  179. <view key="contentView" id="39j-eA-O9D">
  180. <rect key="frame" x="1" y="1" width="288" height="78"/>
  181. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  182. <subviews>
  183. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="4lV-7D-svt">
  184. <rect key="frame" x="8" y="52" width="96" height="16"/>
  185. <textFieldCell key="cell" lineBreakMode="clipping" title="Progress-Line:" id="1q1-LB-hxM">
  186. <font key="font" usesAppearanceFont="YES"/>
  187. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  188. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  189. </textFieldCell>
  190. </textField>
  191. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Ub3-yk-ScU">
  192. <rect key="frame" x="8" y="26" width="38" height="16"/>
  193. <textFieldCell key="cell" lineBreakMode="clipping" title="Type:" id="b6j-B5-WDS">
  194. <font key="font" metaFont="system"/>
  195. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  196. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  197. </textFieldCell>
  198. </textField>
  199. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zo0-Br-Zjb">
  200. <rect key="frame" x="48" y="22" width="90" height="23"/>
  201. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="Waiting" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="5Bb-Zx-qf0">
  202. <font key="font" metaFont="system"/>
  203. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  204. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  205. <objectValues>
  206. <string>progressing</string>
  207. <string>error</string>
  208. <string>success</string>
  209. </objectValues>
  210. </comboBoxCell>
  211. <connections>
  212. <action selector="boxAction:" target="-2" id="Bfo-L3-QHc"/>
  213. </connections>
  214. </comboBox>
  215. </subviews>
  216. <constraints>
  217. <constraint firstItem="Ub3-yk-ScU" firstAttribute="top" secondItem="4lV-7D-svt" secondAttribute="bottom" constant="10" id="8BB-ad-Zup"/>
  218. <constraint firstItem="4lV-7D-svt" firstAttribute="leading" secondItem="39j-eA-O9D" secondAttribute="leading" constant="10" id="Bqm-9x-STb"/>
  219. <constraint firstItem="Ub3-yk-ScU" firstAttribute="leading" secondItem="39j-eA-O9D" secondAttribute="leading" constant="10" id="Kc0-BY-tIS"/>
  220. <constraint firstItem="zo0-Br-Zjb" firstAttribute="leading" secondItem="Ub3-yk-ScU" secondAttribute="trailing" constant="5" id="Ui1-61-aJv"/>
  221. <constraint firstAttribute="trailing" secondItem="zo0-Br-Zjb" secondAttribute="trailing" constant="153" id="brC-W1-OPp"/>
  222. <constraint firstItem="zo0-Br-Zjb" firstAttribute="centerY" secondItem="Ub3-yk-ScU" secondAttribute="centerY" id="p0G-Xb-P7Z"/>
  223. <constraint firstItem="4lV-7D-svt" firstAttribute="top" secondItem="39j-eA-O9D" secondAttribute="top" constant="10" id="x1h-ee-Lx8"/>
  224. </constraints>
  225. </view>
  226. <constraints>
  227. <constraint firstAttribute="height" constant="80" id="Aui-2R-Du0"/>
  228. </constraints>
  229. </box>
  230. </subviews>
  231. <constraints>
  232. <constraint firstItem="KF5-25-5SK" firstAttribute="leading" secondItem="Lth-6i-GdK" secondAttribute="leading" id="0WU-EB-3qZ"/>
  233. <constraint firstItem="KF5-25-5SK" firstAttribute="top" secondItem="nxd-Oi-fHo" secondAttribute="bottom" constant="10" id="3w2-Xf-eFm"/>
  234. <constraint firstAttribute="trailing" secondItem="nxd-Oi-fHo" secondAttribute="trailing" constant="155" id="5kO-uq-b1g"/>
  235. <constraint firstItem="hp3-aL-gNT" firstAttribute="top" secondItem="Lth-6i-GdK" secondAttribute="top" constant="5" id="C9a-Tp-3Ve"/>
  236. <constraint firstAttribute="trailing" secondItem="43b-xE-Rzz" secondAttribute="trailing" id="DGa-H9-QqK"/>
  237. <constraint firstItem="1lp-O4-yRd" firstAttribute="leading" secondItem="Lth-6i-GdK" secondAttribute="leading" constant="10" id="EAg-Jt-qVc"/>
  238. <constraint firstItem="baR-8y-bAy" firstAttribute="leading" secondItem="1lp-O4-yRd" secondAttribute="trailing" constant="5" id="Haj-81-H0u"/>
  239. <constraint firstItem="nxd-Oi-fHo" firstAttribute="leading" secondItem="NW3-qH-Ocd" secondAttribute="trailing" constant="5" id="OSb-kB-CND"/>
  240. <constraint firstItem="NW3-qH-Ocd" firstAttribute="top" secondItem="1lp-O4-yRd" secondAttribute="bottom" constant="10" id="UJe-gQ-f3H"/>
  241. <constraint firstItem="43b-xE-Rzz" firstAttribute="leading" secondItem="Lth-6i-GdK" secondAttribute="leading" id="VKE-vD-SPl"/>
  242. <constraint firstItem="baR-8y-bAy" firstAttribute="centerY" secondItem="1lp-O4-yRd" secondAttribute="centerY" id="VdT-9v-UfX"/>
  243. <constraint firstItem="43b-xE-Rzz" firstAttribute="top" secondItem="KF5-25-5SK" secondAttribute="bottom" constant="10" id="Ws8-hJ-K7Y"/>
  244. <constraint firstItem="1lp-O4-yRd" firstAttribute="top" secondItem="hp3-aL-gNT" secondAttribute="bottom" constant="5" id="c94-vc-Jlz"/>
  245. <constraint firstAttribute="trailing" secondItem="KF5-25-5SK" secondAttribute="trailing" id="eSh-9J-1fK"/>
  246. <constraint firstItem="hp3-aL-gNT" firstAttribute="leading" secondItem="Lth-6i-GdK" secondAttribute="leading" constant="10" id="tdQ-cj-8hA"/>
  247. <constraint firstItem="NW3-qH-Ocd" firstAttribute="leading" secondItem="Lth-6i-GdK" secondAttribute="leading" constant="10" id="x9E-d7-Ym5"/>
  248. <constraint firstItem="nxd-Oi-fHo" firstAttribute="centerY" secondItem="NW3-qH-Ocd" secondAttribute="centerY" id="z7M-zo-Iu7"/>
  249. </constraints>
  250. </view>
  251. </box>
  252. </subviews>
  253. <constraints>
  254. <constraint firstItem="nc3-EK-V3J" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="1Je-zk-SJB"/>
  255. <constraint firstItem="THv-1X-fiB" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="7Vc-Ch-ZTY"/>
  256. <constraint firstAttribute="trailing" secondItem="nc3-EK-V3J" secondAttribute="trailing" id="Kfb-Eh-0qb"/>
  257. <constraint firstItem="nc3-EK-V3J" firstAttribute="leading" secondItem="THv-1X-fiB" secondAttribute="trailing" constant="20" id="QNn-DT-asg"/>
  258. <constraint firstAttribute="bottom" secondItem="THv-1X-fiB" secondAttribute="bottom" id="Xda-k3-aYW"/>
  259. <constraint firstItem="THv-1X-fiB" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="bH2-cC-P1W"/>
  260. <constraint firstAttribute="bottom" secondItem="nc3-EK-V3J" secondAttribute="bottom" id="t8v-P7-qr7"/>
  261. </constraints>
  262. <point key="canvasLocation" x="278" y="205"/>
  263. </customView>
  264. </objects>
  265. </document>