CheckBoxVC.xib 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223
  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="CheckBoxVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="checkBox" destination="eAB-nL-2e1" id="FYO-HT-RRq"/>
  12. <outlet property="checkBoxHeightConst" destination="GWE-uh-e4b" id="utz-x0-ex8"/>
  13. <outlet property="checkBoxWidthConst" destination="XVn-7h-wiM" id="rMk-HI-Kv7"/>
  14. <outlet property="disableButton" destination="K2d-xv-qf6" id="v1J-mK-Tl7"/>
  15. <outlet property="indeteBtn" destination="MRt-fG-Yko" id="ePq-wc-Ctr"/>
  16. <outlet property="inputField" destination="mt2-PN-KEM" id="iye-Vn-qyJ"/>
  17. <outlet property="radio" destination="G15-a6-GOf" id="ga7-aK-00N"/>
  18. <outlet property="radioHeightConst" destination="evU-uv-u9q" id="n0S-TI-9n6"/>
  19. <outlet property="radioWidthConst" destination="nGp-jE-r8P" id="cjN-yx-uvg"/>
  20. <outlet property="showHelpButton" destination="vHw-ea-2eW" id="hxx-ul-BhF"/>
  21. <outlet property="showLabelBtn" destination="Tgl-Ts-Ycr" id="h24-Z6-P1q"/>
  22. <outlet property="sizeBox" destination="jpm-ai-uuQ" id="8Ap-j9-iNd"/>
  23. <outlet property="typeBox" destination="gE7-6m-imI" id="eAV-X9-nz3"/>
  24. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  25. </connections>
  26. </customObject>
  27. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  28. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  29. <customView id="Hz6-mo-xeY">
  30. <rect key="frame" x="0.0" y="0.0" width="664" height="432"/>
  31. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  32. <subviews>
  33. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="OMl-NN-uzd">
  34. <rect key="frame" x="452" y="0.0" width="212" height="432"/>
  35. <view key="contentView" id="V6g-uU-dCX">
  36. <rect key="frame" x="1" y="1" width="210" height="430"/>
  37. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  38. <subviews>
  39. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lVG-m1-nMi">
  40. <rect key="frame" x="28" y="340" width="34" height="16"/>
  41. <textFieldCell key="cell" lineBreakMode="clipping" title="Type" id="ebA-eS-uwF">
  42. <font key="font" metaFont="system"/>
  43. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  44. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  45. </textFieldCell>
  46. </textField>
  47. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="gE7-6m-imI">
  48. <rect key="frame" x="64" y="336" width="109" height="23"/>
  49. <constraints>
  50. <constraint firstAttribute="width" constant="105" id="uFW-iY-fvl"/>
  51. </constraints>
  52. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="Checkbox" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="1pO-WU-vLy">
  53. <font key="font" metaFont="system"/>
  54. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  55. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  56. <objectValues>
  57. <string>Checkbox</string>
  58. <string>Radio</string>
  59. </objectValues>
  60. </comboBoxCell>
  61. <connections>
  62. <action selector="sizeBoxAction:" target="-2" id="X3t-16-kCO"/>
  63. </connections>
  64. </comboBox>
  65. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mEh-op-E1O">
  66. <rect key="frame" x="28" y="314" width="34" height="16"/>
  67. <textFieldCell key="cell" lineBreakMode="clipping" title="Size:" id="PYT-Rw-7yR">
  68. <font key="font" metaFont="system"/>
  69. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  70. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  71. </textFieldCell>
  72. </textField>
  73. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="jpm-ai-uuQ">
  74. <rect key="frame" x="64" y="310" width="109" height="23"/>
  75. <constraints>
  76. <constraint firstAttribute="width" constant="105" id="cuz-bP-63z"/>
  77. </constraints>
  78. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="M" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="qmQ-19-3wH">
  79. <font key="font" metaFont="system"/>
  80. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  81. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  82. <objectValues>
  83. <string>M</string>
  84. <string>S</string>
  85. <string>XS</string>
  86. <string>XXS</string>
  87. </objectValues>
  88. </comboBoxCell>
  89. <connections>
  90. <action selector="sizeBoxAction:" target="-2" id="z3g-nO-BV2"/>
  91. </connections>
  92. </comboBox>
  93. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="K2d-xv-qf6">
  94. <rect key="frame" x="28" y="287" width="71" height="18"/>
  95. <buttonCell key="cell" type="check" title="Disable" bezelStyle="regularSquare" imagePosition="left" inset="2" id="TwH-2b-UI8">
  96. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  97. <font key="font" metaFont="system"/>
  98. </buttonCell>
  99. <connections>
  100. <action selector="clickAction:" target="-2" id="QqO-AY-FrU"/>
  101. </connections>
  102. </button>
  103. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Tgl-Ts-Ycr">
  104. <rect key="frame" x="28" y="261" width="96" height="18"/>
  105. <buttonCell key="cell" type="check" title="Show Label" bezelStyle="regularSquare" imagePosition="left" inset="2" id="apv-XO-U3K">
  106. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  107. <font key="font" metaFont="system"/>
  108. </buttonCell>
  109. <connections>
  110. <action selector="clickAction:" target="-2" id="VjM-A5-mz3"/>
  111. </connections>
  112. </button>
  113. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="vHw-ea-2eW">
  114. <rect key="frame" x="28" y="235" width="90" height="18"/>
  115. <buttonCell key="cell" type="check" title="show Help" bezelStyle="regularSquare" imagePosition="left" inset="2" id="OYM-Fd-kar">
  116. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  117. <font key="font" metaFont="system"/>
  118. </buttonCell>
  119. <connections>
  120. <action selector="clickAction:" target="-2" id="jvd-wi-2mg"/>
  121. </connections>
  122. </button>
  123. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mt2-PN-KEM">
  124. <rect key="frame" x="30" y="179" width="100" height="21"/>
  125. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" id="NOn-HU-tbp">
  126. <font key="font" metaFont="system"/>
  127. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  128. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  129. </textFieldCell>
  130. </textField>
  131. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="d89-2o-wcz">
  132. <rect key="frame" x="133" y="173" width="66" height="32"/>
  133. <buttonCell key="cell" type="push" title="Done" bezelStyle="rounded" alignment="center" borderStyle="border" inset="2" id="oWr-9i-ERm">
  134. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  135. <font key="font" metaFont="system"/>
  136. </buttonCell>
  137. <connections>
  138. <action selector="clickAction:" target="-2" id="Rjt-3O-von"/>
  139. </connections>
  140. </button>
  141. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="MRt-fG-Yko">
  142. <rect key="frame" x="28" y="209" width="124" height="18"/>
  143. <buttonCell key="cell" type="check" title="is Indeterminate" bezelStyle="regularSquare" imagePosition="left" inset="2" id="dHZ-S5-9OU">
  144. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  145. <font key="font" metaFont="system"/>
  146. </buttonCell>
  147. <connections>
  148. <action selector="clickAction:" target="-2" id="z1E-XG-0rH"/>
  149. </connections>
  150. </button>
  151. </subviews>
  152. <constraints>
  153. <constraint firstItem="d89-2o-wcz" firstAttribute="centerY" secondItem="mt2-PN-KEM" secondAttribute="centerY" id="21d-cq-RA2"/>
  154. <constraint firstItem="jpm-ai-uuQ" firstAttribute="centerY" secondItem="mEh-op-E1O" secondAttribute="centerY" id="5Nd-JR-zzo"/>
  155. <constraint firstItem="mEh-op-E1O" firstAttribute="leading" secondItem="K2d-xv-qf6" secondAttribute="leading" id="7Uc-rd-kWT"/>
  156. <constraint firstItem="mEh-op-E1O" firstAttribute="leading" secondItem="lVG-m1-nMi" secondAttribute="leading" id="9C0-5K-qyi"/>
  157. <constraint firstItem="gE7-6m-imI" firstAttribute="centerY" secondItem="lVG-m1-nMi" secondAttribute="centerY" id="9qc-Ze-ocm"/>
  158. <constraint firstItem="MRt-fG-Yko" firstAttribute="leading" secondItem="vHw-ea-2eW" secondAttribute="leading" id="EIn-xR-Qbn"/>
  159. <constraint firstItem="mt2-PN-KEM" firstAttribute="top" secondItem="MRt-fG-Yko" secondAttribute="bottom" constant="10" id="KUV-fz-KnN"/>
  160. <constraint firstItem="K2d-xv-qf6" firstAttribute="leading" secondItem="V6g-uU-dCX" secondAttribute="leading" constant="30" id="OSs-8F-IjT"/>
  161. <constraint firstItem="gE7-6m-imI" firstAttribute="leading" secondItem="lVG-m1-nMi" secondAttribute="trailing" constant="5" id="XAO-KX-159"/>
  162. <constraint firstItem="mEh-op-E1O" firstAttribute="top" secondItem="lVG-m1-nMi" secondAttribute="bottom" constant="10" id="ZvN-zF-fbC"/>
  163. <constraint firstItem="mEh-op-E1O" firstAttribute="top" secondItem="V6g-uU-dCX" secondAttribute="top" constant="100" id="bqN-NK-nhd"/>
  164. <constraint firstItem="K2d-xv-qf6" firstAttribute="top" secondItem="mEh-op-E1O" secondAttribute="bottom" constant="10" id="en9-FV-Ufi"/>
  165. <constraint firstItem="mt2-PN-KEM" firstAttribute="leading" secondItem="vHw-ea-2eW" secondAttribute="leading" id="fyf-2S-rpT"/>
  166. <constraint firstItem="Tgl-Ts-Ycr" firstAttribute="leading" secondItem="K2d-xv-qf6" secondAttribute="leading" id="glp-fY-zkw"/>
  167. <constraint firstItem="MRt-fG-Yko" firstAttribute="top" secondItem="vHw-ea-2eW" secondAttribute="bottom" constant="10" id="iMC-zO-EbL"/>
  168. <constraint firstItem="vHw-ea-2eW" firstAttribute="leading" secondItem="Tgl-Ts-Ycr" secondAttribute="leading" id="sYn-5z-uJ0"/>
  169. <constraint firstItem="vHw-ea-2eW" firstAttribute="top" secondItem="Tgl-Ts-Ycr" secondAttribute="bottom" constant="10" id="vVL-yW-gMq"/>
  170. <constraint firstItem="d89-2o-wcz" firstAttribute="leading" secondItem="mt2-PN-KEM" secondAttribute="trailing" constant="10" id="wkz-VL-yQR"/>
  171. <constraint firstItem="jpm-ai-uuQ" firstAttribute="leading" secondItem="mEh-op-E1O" secondAttribute="trailing" constant="5" id="y0W-sw-nLk"/>
  172. <constraint firstAttribute="trailing" secondItem="mt2-PN-KEM" secondAttribute="trailing" constant="80" id="yBv-Fz-oCG"/>
  173. <constraint firstItem="Tgl-Ts-Ycr" firstAttribute="top" secondItem="K2d-xv-qf6" secondAttribute="bottom" constant="10" id="zQK-7d-b8m"/>
  174. </constraints>
  175. </view>
  176. </box>
  177. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="QUx-nl-ckJ">
  178. <rect key="frame" x="0.0" y="0.0" width="432" height="432"/>
  179. <view key="contentView" id="Js3-Dp-0Us">
  180. <rect key="frame" x="1" y="1" width="430" height="430"/>
  181. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  182. <subviews>
  183. <customView translatesAutoresizingMaskIntoConstraints="NO" id="eAB-nL-2e1" customClass="ComponentCheckBox" customModule="KMComponentLibrary">
  184. <rect key="frame" x="140" y="203" width="150" height="24"/>
  185. <constraints>
  186. <constraint firstAttribute="height" constant="24" id="GWE-uh-e4b"/>
  187. <constraint firstAttribute="width" constant="150" id="XVn-7h-wiM"/>
  188. </constraints>
  189. </customView>
  190. <customView translatesAutoresizingMaskIntoConstraints="NO" id="G15-a6-GOf" customClass="ComponentRadio" customModule="KMComponentLibrary">
  191. <rect key="frame" x="140" y="203" width="150" height="24"/>
  192. <constraints>
  193. <constraint firstAttribute="height" constant="24" id="evU-uv-u9q"/>
  194. <constraint firstAttribute="width" constant="150" id="nGp-jE-r8P"/>
  195. </constraints>
  196. </customView>
  197. </subviews>
  198. <constraints>
  199. <constraint firstItem="G15-a6-GOf" firstAttribute="centerY" secondItem="Js3-Dp-0Us" secondAttribute="centerY" id="1RP-AY-eN6"/>
  200. <constraint firstItem="eAB-nL-2e1" firstAttribute="centerY" secondItem="Js3-Dp-0Us" secondAttribute="centerY" id="Nbs-QQ-Mqa"/>
  201. <constraint firstItem="G15-a6-GOf" firstAttribute="centerX" secondItem="Js3-Dp-0Us" secondAttribute="centerX" id="my0-K3-PNr"/>
  202. <constraint firstItem="eAB-nL-2e1" firstAttribute="centerX" secondItem="Js3-Dp-0Us" secondAttribute="centerX" id="uFs-5E-ixE"/>
  203. </constraints>
  204. </view>
  205. <constraints>
  206. <constraint firstAttribute="width" secondItem="QUx-nl-ckJ" secondAttribute="height" multiplier="1:1" id="Lmb-PH-6kU"/>
  207. <constraint firstAttribute="width" secondItem="QUx-nl-ckJ" secondAttribute="height" multiplier="1:1" id="Nln-Hl-s5N"/>
  208. </constraints>
  209. </box>
  210. </subviews>
  211. <constraints>
  212. <constraint firstItem="QUx-nl-ckJ" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="KhJ-D2-ak6"/>
  213. <constraint firstAttribute="bottom" secondItem="OMl-NN-uzd" secondAttribute="bottom" id="Lf1-Te-0YK"/>
  214. <constraint firstAttribute="bottom" secondItem="QUx-nl-ckJ" secondAttribute="bottom" id="Lry-Zu-hZN"/>
  215. <constraint firstItem="QUx-nl-ckJ" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="TXK-SZ-FOD"/>
  216. <constraint firstItem="OMl-NN-uzd" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="XHs-Gb-2QC"/>
  217. <constraint firstAttribute="trailing" secondItem="OMl-NN-uzd" secondAttribute="trailing" id="l4g-wa-kCP"/>
  218. <constraint firstItem="OMl-NN-uzd" firstAttribute="leading" secondItem="QUx-nl-ckJ" secondAttribute="trailing" constant="20" id="lqK-Uh-nCF"/>
  219. </constraints>
  220. <point key="canvasLocation" x="178" y="194"/>
  221. </customView>
  222. </objects>
  223. </document>