KMSignatureAnnotationViewController.xib 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190
  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="KMSignatureAnnotationViewController">
  10. <connections>
  11. <outlet property="addButton" destination="19B-9D-nhz" id="1BD-fv-Ssv"/>
  12. <outlet property="collectionView" destination="czs-49-ygA" id="u73-ZB-6N0"/>
  13. <outlet property="emptyBox" destination="ban-ci-oTA" id="WRU-LX-HMX"/>
  14. <outlet property="emptyMinTipLabel" destination="vd7-mZ-jin" id="zNH-1P-a0Z"/>
  15. <outlet property="emptyTipLabel" destination="Tbj-Oa-HOw" id="Pej-dH-skC"/>
  16. <outlet property="signatureLabel" destination="2BZ-Qt-bmp" id="nPE-D6-BMO"/>
  17. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  18. </connections>
  19. </customObject>
  20. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  21. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  22. <customView id="Hz6-mo-xeY">
  23. <rect key="frame" x="0.0" y="0.0" width="227" height="415"/>
  24. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  25. <subviews>
  26. <customView translatesAutoresizingMaskIntoConstraints="NO" id="nIu-Gf-7rk">
  27. <rect key="frame" x="0.0" y="0.0" width="227" height="415"/>
  28. <subviews>
  29. <customView translatesAutoresizingMaskIntoConstraints="NO" id="LHW-Nt-uf2">
  30. <rect key="frame" x="0.0" y="365" width="227" height="50"/>
  31. <subviews>
  32. <button hidden="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="KUF-xf-qzQ">
  33. <rect key="frame" x="195" y="17" width="16" height="16"/>
  34. <buttonCell key="cell" type="bevel" bezelStyle="rounded" image="signlist_add" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="nVD-Gp-kLW">
  35. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  36. <font key="font" metaFont="system"/>
  37. </buttonCell>
  38. <constraints>
  39. <constraint firstAttribute="height" constant="16" id="Po6-HM-leo"/>
  40. <constraint firstAttribute="width" constant="16" id="mwE-re-iZv"/>
  41. </constraints>
  42. <connections>
  43. <action selector="insertSignatureButton_Click:" target="-2" id="mFv-NR-mrz"/>
  44. </connections>
  45. </button>
  46. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2BZ-Qt-bmp">
  47. <rect key="frame" x="83" y="17" width="62" height="16"/>
  48. <textFieldCell key="cell" lineBreakMode="clipping" title="Signature" id="d1y-xG-Jfy">
  49. <font key="font" usesAppearanceFont="YES"/>
  50. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  51. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  52. </textFieldCell>
  53. </textField>
  54. </subviews>
  55. <constraints>
  56. <constraint firstItem="2BZ-Qt-bmp" firstAttribute="centerY" secondItem="LHW-Nt-uf2" secondAttribute="centerY" id="0wM-Ss-TLf"/>
  57. <constraint firstItem="2BZ-Qt-bmp" firstAttribute="centerX" secondItem="LHW-Nt-uf2" secondAttribute="centerX" id="ZSn-w9-kdP"/>
  58. <constraint firstItem="KUF-xf-qzQ" firstAttribute="centerY" secondItem="LHW-Nt-uf2" secondAttribute="centerY" id="g0U-Rq-gCw"/>
  59. <constraint firstAttribute="height" constant="50" id="qyo-8u-igd"/>
  60. <constraint firstAttribute="trailing" secondItem="KUF-xf-qzQ" secondAttribute="trailing" constant="16" id="ryG-zy-qMz"/>
  61. </constraints>
  62. </customView>
  63. <button imageHugsTitle="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="19B-9D-nhz">
  64. <rect key="frame" x="16" y="10" width="195" height="32"/>
  65. <buttonCell key="cell" type="bevel" title="Button" bezelStyle="regularSquare" image="KMImageNameUXIconBtnAddWhite" imagePosition="left" alignment="center" state="on" imageScaling="proportionallyDown" inset="2" id="nhi-wF-TuK" customClass="KMButtomCell" customModule="PDF_Reader_Pro" customModuleProvider="target">
  66. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  67. <font key="font" metaFont="system"/>
  68. </buttonCell>
  69. <constraints>
  70. <constraint firstAttribute="height" constant="32" id="Pa2-PS-BpL"/>
  71. </constraints>
  72. <connections>
  73. <action selector="insertSignatureButton_Click:" target="-2" id="MUx-Ja-x2x"/>
  74. </connections>
  75. </button>
  76. <scrollView wantsLayer="YES" borderType="none" autohidesScrollers="YES" horizontalLineScroll="10" horizontalPageScroll="10" verticalLineScroll="10" verticalPageScroll="10" hasHorizontalScroller="NO" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="p8T-K4-khD">
  77. <rect key="frame" x="0.0" y="62" width="227" height="303"/>
  78. <clipView key="contentView" id="dR7-DP-o8M">
  79. <rect key="frame" x="0.0" y="0.0" width="227" height="303"/>
  80. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  81. <subviews>
  82. <collectionView id="czs-49-ygA">
  83. <rect key="frame" x="0.0" y="0.0" width="227" height="303"/>
  84. <autoresizingMask key="autoresizingMask" widthSizable="YES"/>
  85. <collectionViewFlowLayout key="collectionViewLayout" id="w8X-BA-czF">
  86. <size key="itemSize" width="50" height="50"/>
  87. </collectionViewFlowLayout>
  88. <color key="primaryBackgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
  89. </collectionView>
  90. </subviews>
  91. <color key="backgroundColor" red="1" green="0.99843658089999998" blue="0.99619259260000004" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  92. </clipView>
  93. <scroller key="horizontalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="YES" id="S8K-CG-jaw">
  94. <rect key="frame" x="-100" y="-100" width="233" height="15"/>
  95. <autoresizingMask key="autoresizingMask"/>
  96. </scroller>
  97. <scroller key="verticalScroller" hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" horizontal="NO" id="kvH-mO-OTI">
  98. <rect key="frame" x="797" y="0.0" width="15" height="340"/>
  99. <autoresizingMask key="autoresizingMask"/>
  100. </scroller>
  101. </scrollView>
  102. <box borderType="none" title="Box" titlePosition="noTitle" translatesAutoresizingMaskIntoConstraints="NO" id="ban-ci-oTA">
  103. <rect key="frame" x="0.0" y="40" width="227" height="375"/>
  104. <view key="contentView" id="dqW-kL-zjA">
  105. <rect key="frame" x="0.0" y="0.0" width="227" height="375"/>
  106. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  107. <subviews>
  108. <customView translatesAutoresizingMaskIntoConstraints="NO" id="7KQ-E7-UO5">
  109. <rect key="frame" x="30" y="-45" width="168" height="220"/>
  110. <subviews>
  111. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="ODp-k8-Vi6">
  112. <rect key="frame" x="20" y="92" width="128" height="128"/>
  113. <constraints>
  114. <constraint firstAttribute="width" constant="128" id="Otw-eg-ksB"/>
  115. <constraint firstAttribute="height" constant="128" id="vXx-j3-fAR"/>
  116. </constraints>
  117. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameEmptySign" id="rfd-We-aPr"/>
  118. </imageView>
  119. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Tbj-Oa-HOw">
  120. <rect key="frame" x="39" y="68" width="90" height="16"/>
  121. <textFieldCell key="cell" lineBreakMode="clipping" title="No Signatures" id="K2k-0V-W78">
  122. <font key="font" metaFont="system"/>
  123. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  124. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  125. </textFieldCell>
  126. </textField>
  127. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="vd7-mZ-jin">
  128. <rect key="frame" x="-2" y="18" width="172" height="48"/>
  129. <constraints>
  130. <constraint firstAttribute="width" constant="168" id="WK4-mV-ZGn"/>
  131. </constraints>
  132. <textFieldCell key="cell" alignment="center" title="Click the Add button in the upper right corner to create a new signature." id="Efj-7i-gM3">
  133. <font key="font" metaFont="system"/>
  134. <color key="textColor" name="tertiaryLabelColor" catalog="System" colorSpace="catalog"/>
  135. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  136. </textFieldCell>
  137. </textField>
  138. </subviews>
  139. <constraints>
  140. <constraint firstAttribute="height" constant="220" id="HGQ-9Z-mkz"/>
  141. <constraint firstItem="vd7-mZ-jin" firstAttribute="top" secondItem="Tbj-Oa-HOw" secondAttribute="bottom" constant="2" id="RDC-7U-RBW"/>
  142. <constraint firstItem="vd7-mZ-jin" firstAttribute="centerX" secondItem="7KQ-E7-UO5" secondAttribute="centerX" id="TXW-QZ-2YY"/>
  143. <constraint firstItem="Tbj-Oa-HOw" firstAttribute="top" secondItem="ODp-k8-Vi6" secondAttribute="bottom" constant="8" id="XyN-Ku-JBT"/>
  144. <constraint firstAttribute="width" constant="168" id="dky-LA-cA1"/>
  145. <constraint firstItem="ODp-k8-Vi6" firstAttribute="top" secondItem="7KQ-E7-UO5" secondAttribute="top" id="gpm-TK-hgt"/>
  146. <constraint firstItem="ODp-k8-Vi6" firstAttribute="centerX" secondItem="7KQ-E7-UO5" secondAttribute="centerX" id="rXz-DS-ZId"/>
  147. <constraint firstItem="Tbj-Oa-HOw" firstAttribute="centerX" secondItem="7KQ-E7-UO5" secondAttribute="centerX" id="yhB-jO-JZd"/>
  148. </constraints>
  149. </customView>
  150. </subviews>
  151. <constraints>
  152. <constraint firstItem="7KQ-E7-UO5" firstAttribute="centerX" secondItem="dqW-kL-zjA" secondAttribute="centerX" id="CJg-R7-ioD"/>
  153. <constraint firstItem="7KQ-E7-UO5" firstAttribute="top" secondItem="dqW-kL-zjA" secondAttribute="top" constant="200" id="Lxn-Ax-fMH"/>
  154. </constraints>
  155. </view>
  156. </box>
  157. </subviews>
  158. <constraints>
  159. <constraint firstItem="ban-ci-oTA" firstAttribute="top" secondItem="nIu-Gf-7rk" secondAttribute="top" id="7GR-uq-tkc"/>
  160. <constraint firstItem="p8T-K4-khD" firstAttribute="leading" secondItem="nIu-Gf-7rk" secondAttribute="leading" id="7py-XU-MWT"/>
  161. <constraint firstAttribute="trailing" secondItem="p8T-K4-khD" secondAttribute="trailing" id="Ayf-bF-frh"/>
  162. <constraint firstAttribute="bottom" secondItem="19B-9D-nhz" secondAttribute="bottom" constant="10" id="Fw3-c3-PNZ"/>
  163. <constraint firstItem="LHW-Nt-uf2" firstAttribute="leading" secondItem="nIu-Gf-7rk" secondAttribute="leading" id="OPm-hq-IIz"/>
  164. <constraint firstItem="p8T-K4-khD" firstAttribute="top" secondItem="nIu-Gf-7rk" secondAttribute="top" constant="50" id="P4b-m6-dF9"/>
  165. <constraint firstItem="19B-9D-nhz" firstAttribute="top" secondItem="p8T-K4-khD" secondAttribute="bottom" constant="20" id="Qbo-Zd-Xuw"/>
  166. <constraint firstItem="19B-9D-nhz" firstAttribute="leading" secondItem="nIu-Gf-7rk" secondAttribute="leading" constant="16" id="Tf2-Yf-tT1"/>
  167. <constraint firstAttribute="trailing" secondItem="19B-9D-nhz" secondAttribute="trailing" constant="16" id="V5o-c2-m7L"/>
  168. <constraint firstAttribute="bottom" secondItem="ban-ci-oTA" secondAttribute="bottom" constant="40" id="Vu4-Ij-AvT"/>
  169. <constraint firstAttribute="trailing" secondItem="ban-ci-oTA" secondAttribute="trailing" id="Y2n-i3-mZK"/>
  170. <constraint firstItem="ban-ci-oTA" firstAttribute="leading" secondItem="nIu-Gf-7rk" secondAttribute="leading" id="cJ0-bF-OeV"/>
  171. <constraint firstItem="LHW-Nt-uf2" firstAttribute="top" secondItem="nIu-Gf-7rk" secondAttribute="top" id="x7S-m2-r07"/>
  172. <constraint firstAttribute="trailing" secondItem="LHW-Nt-uf2" secondAttribute="trailing" id="xGb-EZ-MfT"/>
  173. </constraints>
  174. </customView>
  175. </subviews>
  176. <constraints>
  177. <constraint firstItem="nIu-Gf-7rk" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="081-nP-gV4"/>
  178. <constraint firstAttribute="bottom" secondItem="nIu-Gf-7rk" secondAttribute="bottom" id="PCM-OJ-jdJ"/>
  179. <constraint firstItem="nIu-Gf-7rk" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="X5e-jj-dba"/>
  180. <constraint firstAttribute="trailing" secondItem="nIu-Gf-7rk" secondAttribute="trailing" id="qJY-ts-WZZ"/>
  181. </constraints>
  182. <point key="canvasLocation" x="-44.5" y="171.5"/>
  183. </customView>
  184. </objects>
  185. <resources>
  186. <image name="KMImageNameEmptySign" width="140" height="140"/>
  187. <image name="KMImageNameUXIconBtnAddWhite" width="16" height="16"/>
  188. <image name="signlist_add" width="16" height="16"/>
  189. </resources>
  190. </document>