KMWatermarkCollectionViewItem.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
  6. <capability name="Named colors" minToolsVersion="9.0"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <customObject id="-2" userLabel="File's Owner" customClass="KMWatermarkCollectionViewItem" customModule="PDF_Master" customModuleProvider="target">
  11. <connections>
  12. <outlet property="deleteButton" destination="xO8-Hs-gPd" id="5fa-kH-XHZ"/>
  13. <outlet property="editButton" destination="Kuz-Iw-dPa" id="QRh-6m-CDm"/>
  14. <outlet property="imageView" destination="qq4-Dm-KtA" id="CgF-33-WOi"/>
  15. <outlet property="labelContainerView" destination="8Sh-0X-6Wy" id="Ve6-jj-1Cv"/>
  16. <outlet property="optionView" destination="SgL-i3-a8c" id="2tx-Ni-amO"/>
  17. <outlet property="topBaseView" destination="zYa-uP-UUY" id="qwF-q2-IRJ"/>
  18. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  19. <outlet property="watermarkImageView" destination="ePP-31-ZJy" id="2Dj-GW-Ucp"/>
  20. <outlet property="watermarkNameLabel" destination="oT9-RI-kSz" id="nVw-kc-EJo"/>
  21. </connections>
  22. </customObject>
  23. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  24. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  25. <customView id="Hz6-mo-xeY">
  26. <rect key="frame" x="0.0" y="0.0" width="480" height="272"/>
  27. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  28. <subviews>
  29. <customView translatesAutoresizingMaskIntoConstraints="NO" id="zYa-uP-UUY">
  30. <rect key="frame" x="188" y="130" width="104" height="134"/>
  31. <subviews>
  32. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="ePP-31-ZJy">
  33. <rect key="frame" x="0.0" y="0.0" width="104" height="134"/>
  34. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="tsq-39-4NP"/>
  35. </imageView>
  36. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="qq4-Dm-KtA">
  37. <rect key="frame" x="0.0" y="0.0" width="104" height="134"/>
  38. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="KMImageNameUXIconVipWatermarkImg" id="B80-y5-bo2"/>
  39. </imageView>
  40. <customView translatesAutoresizingMaskIntoConstraints="NO" id="SgL-i3-a8c">
  41. <rect key="frame" x="1" y="1" width="103" height="24"/>
  42. <subviews>
  43. <box fixedFrame="YES" boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="XCv-DB-qdD">
  44. <rect key="frame" x="0.0" y="0.0" width="103" height="24"/>
  45. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  46. <view key="contentView" id="jvu-Zq-d4u">
  47. <rect key="frame" x="0.0" y="0.0" width="103" height="24"/>
  48. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  49. </view>
  50. <color key="fillColor" name="KMColor_Layout_L_1"/>
  51. </box>
  52. <button translatesAutoresizingMaskIntoConstraints="NO" id="Kuz-Iw-dPa" customClass="KMCoverButton" customModule="PDF_Master" customModuleProvider="target">
  53. <rect key="frame" x="24" y="4" width="16" height="16"/>
  54. <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="KMImageNameUXIconBtnEditNor" imagePosition="only" alignment="center" imageScaling="proportionallyUpOrDown" inset="2" id="X26-dc-PAD">
  55. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  56. <font key="font" metaFont="system"/>
  57. </buttonCell>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="16" id="2xJ-9n-SKI"/>
  60. <constraint firstAttribute="width" constant="16" id="eZv-01-gXK"/>
  61. </constraints>
  62. <connections>
  63. <action selector="buttonClicked_EditWatermark:" target="-2" id="zbY-kk-L4W"/>
  64. </connections>
  65. </button>
  66. <button translatesAutoresizingMaskIntoConstraints="NO" id="xO8-Hs-gPd" customClass="KMCoverButton" customModule="PDF_Master" customModuleProvider="target">
  67. <rect key="frame" x="63" y="4" width="16" height="16"/>
  68. <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="KMImageNameUXIconBtnCloseNor" imagePosition="only" alignment="center" imageScaling="proportionallyUpOrDown" inset="2" id="6FR-Uw-Pom">
  69. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  70. <font key="font" metaFont="system"/>
  71. </buttonCell>
  72. <constraints>
  73. <constraint firstAttribute="width" constant="16" id="0tG-sc-fvy"/>
  74. <constraint firstAttribute="height" constant="16" id="LUZ-va-Fel"/>
  75. </constraints>
  76. <connections>
  77. <action selector="buttonClicked_DeleteWatermark:" target="-2" id="Q6Z-fv-ZLb"/>
  78. </connections>
  79. </button>
  80. </subviews>
  81. <constraints>
  82. <constraint firstAttribute="trailing" secondItem="xO8-Hs-gPd" secondAttribute="trailing" constant="24" id="1D3-9q-AWT"/>
  83. <constraint firstItem="Kuz-Iw-dPa" firstAttribute="leading" secondItem="SgL-i3-a8c" secondAttribute="leading" constant="24" id="2Oe-b1-6yL"/>
  84. <constraint firstAttribute="height" constant="24" id="47b-lK-FR2"/>
  85. <constraint firstItem="xO8-Hs-gPd" firstAttribute="centerY" secondItem="SgL-i3-a8c" secondAttribute="centerY" id="6sx-Gh-gDH"/>
  86. <constraint firstItem="Kuz-Iw-dPa" firstAttribute="centerY" secondItem="SgL-i3-a8c" secondAttribute="centerY" id="Q34-j4-jCH"/>
  87. </constraints>
  88. </customView>
  89. </subviews>
  90. <constraints>
  91. <constraint firstAttribute="trailing" secondItem="qq4-Dm-KtA" secondAttribute="trailing" id="5Z9-Ph-C1Q"/>
  92. <constraint firstItem="ePP-31-ZJy" firstAttribute="leading" secondItem="zYa-uP-UUY" secondAttribute="leading" id="EjW-Qp-PJH"/>
  93. <constraint firstItem="ePP-31-ZJy" firstAttribute="top" secondItem="zYa-uP-UUY" secondAttribute="top" id="H36-Om-g6H"/>
  94. <constraint firstAttribute="trailing" secondItem="SgL-i3-a8c" secondAttribute="trailing" constant="0.5" id="HA2-d1-HbW"/>
  95. <constraint firstAttribute="height" constant="134" id="LGH-Iy-DwO"/>
  96. <constraint firstAttribute="bottom" secondItem="ePP-31-ZJy" secondAttribute="bottom" id="NX7-5i-A0G"/>
  97. <constraint firstItem="qq4-Dm-KtA" firstAttribute="top" secondItem="zYa-uP-UUY" secondAttribute="top" id="OeC-nY-1p5"/>
  98. <constraint firstItem="SgL-i3-a8c" firstAttribute="leading" secondItem="zYa-uP-UUY" secondAttribute="leading" constant="0.5" id="P4H-aC-N2F"/>
  99. <constraint firstAttribute="bottom" secondItem="SgL-i3-a8c" secondAttribute="bottom" constant="0.5" id="gMy-dV-9PM"/>
  100. <constraint firstAttribute="width" constant="104" id="jyV-UY-AGv"/>
  101. <constraint firstItem="qq4-Dm-KtA" firstAttribute="leading" secondItem="zYa-uP-UUY" secondAttribute="leading" id="qZa-tf-Hmg"/>
  102. <constraint firstAttribute="trailing" secondItem="ePP-31-ZJy" secondAttribute="trailing" id="vTA-x3-HsI"/>
  103. <constraint firstAttribute="bottom" secondItem="qq4-Dm-KtA" secondAttribute="bottom" id="wXU-Hx-j2i"/>
  104. </constraints>
  105. </customView>
  106. <customView translatesAutoresizingMaskIntoConstraints="NO" id="8Sh-0X-6Wy">
  107. <rect key="frame" x="217" y="108" width="47" height="16"/>
  108. <subviews>
  109. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="oT9-RI-kSz">
  110. <rect key="frame" x="3" y="0.0" width="41" height="16"/>
  111. <textFieldCell key="cell" lineBreakMode="truncatingMiddle" alignment="center" title="Label" id="4sw-od-eC7">
  112. <font key="font" usesAppearanceFont="YES"/>
  113. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  114. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  115. </textFieldCell>
  116. </textField>
  117. </subviews>
  118. <constraints>
  119. <constraint firstItem="oT9-RI-kSz" firstAttribute="leading" secondItem="8Sh-0X-6Wy" secondAttribute="leading" constant="5" id="AGc-Wr-q8R"/>
  120. <constraint firstAttribute="trailing" secondItem="oT9-RI-kSz" secondAttribute="trailing" constant="5" id="GFk-Mk-0HH"/>
  121. <constraint firstItem="oT9-RI-kSz" firstAttribute="top" secondItem="8Sh-0X-6Wy" secondAttribute="top" id="kSB-Ac-wTV"/>
  122. <constraint firstAttribute="bottom" secondItem="oT9-RI-kSz" secondAttribute="bottom" id="kqd-Ks-CcR"/>
  123. </constraints>
  124. </customView>
  125. </subviews>
  126. <constraints>
  127. <constraint firstItem="zYa-uP-UUY" firstAttribute="centerX" secondItem="Hz6-mo-xeY" secondAttribute="centerX" id="N0j-iE-ySM"/>
  128. <constraint firstItem="8Sh-0X-6Wy" firstAttribute="centerX" secondItem="Hz6-mo-xeY" secondAttribute="centerX" id="P4N-U1-7R6"/>
  129. <constraint firstItem="8Sh-0X-6Wy" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="zYa-uP-UUY" secondAttribute="leading" id="XJh-aw-N6r"/>
  130. <constraint firstItem="8Sh-0X-6Wy" firstAttribute="top" secondItem="zYa-uP-UUY" secondAttribute="bottom" constant="6" id="aa0-f2-Y58"/>
  131. <constraint firstItem="zYa-uP-UUY" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" constant="8" id="qt3-SY-cW4"/>
  132. </constraints>
  133. <point key="canvasLocation" x="139" y="121"/>
  134. </customView>
  135. </objects>
  136. <resources>
  137. <image name="KMImageNameUXIconBtnCloseNor" width="16" height="16"/>
  138. <image name="KMImageNameUXIconBtnEditNor" width="16" height="16"/>
  139. <image name="KMImageNameUXIconVipWatermarkImg" width="72" height="112"/>
  140. <namedColor name="KMColor_Layout_L_1">
  141. <color red="0.92156862745098034" green="0.92549019607843142" blue="0.94117647058823528" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  142. </namedColor>
  143. </resources>
  144. </document>