KMHistoryFileCollectionViewItem.xib 8.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21507" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21507"/>
  5. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  6. </dependencies>
  7. <objects>
  8. <customObject id="-2" userLabel="File's Owner" customClass="KMHistoryFileCollectionViewItem" customModule="PDF_Master" customModuleProvider="target">
  9. <connections>
  10. <outlet property="documentName" destination="lue-CR-EiO" id="Kut-UF-epU"/>
  11. <outlet property="favoriteButton" destination="aI1-x1-Rrt" id="K8z-lG-qKM"/>
  12. <outlet property="fileImageView" destination="4zi-8a-CaK" id="BfZ-5Z-9qC"/>
  13. <outlet property="imageBox" destination="VfC-ST-WEb" id="5hy-ex-1vy"/>
  14. <outlet property="mainBox" destination="04S-7L-aR3" id="pdw-nT-LcC"/>
  15. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  16. </connections>
  17. </customObject>
  18. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  19. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  20. <customView id="Hz6-mo-xeY">
  21. <rect key="frame" x="0.0" y="0.0" width="228" height="272"/>
  22. <autoresizingMask key="autoresizingMask"/>
  23. <subviews>
  24. <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="04S-7L-aR3" customClass="KMBox" customModule="PDF_Master" customModuleProvider="target">
  25. <rect key="frame" x="0.0" y="0.0" width="228" height="272"/>
  26. <view key="contentView" id="Y6Z-am-nWp">
  27. <rect key="frame" x="0.0" y="0.0" width="228" height="272"/>
  28. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  29. <subviews>
  30. <box boxType="custom" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="VfC-ST-WEb">
  31. <rect key="frame" x="0.0" y="92" width="228" height="180"/>
  32. <view key="contentView" id="Ifd-8S-ViW">
  33. <rect key="frame" x="0.0" y="0.0" width="228" height="180"/>
  34. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  35. <subviews>
  36. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4zi-8a-CaK">
  37. <rect key="frame" x="0.0" y="0.0" width="228" height="180"/>
  38. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" id="oqA-44-cDA"/>
  39. </imageView>
  40. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="aI1-x1-Rrt">
  41. <rect key="frame" x="203" y="155" width="16" height="22"/>
  42. <constraints>
  43. <constraint firstAttribute="width" constant="16" id="GvL-SF-NNB"/>
  44. <constraint firstAttribute="height" constant="16" id="je1-2J-vPy"/>
  45. </constraints>
  46. <buttonCell key="cell" type="bevel" title="Button" bezelStyle="rounded" image="NSActionTemplate" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="xih-IJ-6Lu">
  47. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  48. <font key="font" metaFont="system"/>
  49. </buttonCell>
  50. <connections>
  51. <action selector="favoriteButtonAction:" target="-2" id="Woj-0j-TND"/>
  52. </connections>
  53. </button>
  54. </subviews>
  55. <constraints>
  56. <constraint firstAttribute="trailing" secondItem="4zi-8a-CaK" secondAttribute="trailing" id="0VX-Da-DMw"/>
  57. <constraint firstItem="4zi-8a-CaK" firstAttribute="top" secondItem="Ifd-8S-ViW" secondAttribute="top" id="7Sw-mY-1AD"/>
  58. <constraint firstItem="4zi-8a-CaK" firstAttribute="leading" secondItem="Ifd-8S-ViW" secondAttribute="leading" id="WCz-dZ-zDX"/>
  59. <constraint firstItem="aI1-x1-Rrt" firstAttribute="top" secondItem="Ifd-8S-ViW" secondAttribute="top" constant="6" id="hP1-ib-fwO"/>
  60. <constraint firstAttribute="bottom" secondItem="4zi-8a-CaK" secondAttribute="bottom" id="hr9-Aw-sfR"/>
  61. <constraint firstAttribute="trailing" secondItem="aI1-x1-Rrt" secondAttribute="trailing" constant="9" id="txI-QY-5gm"/>
  62. </constraints>
  63. </view>
  64. <constraints>
  65. <constraint firstAttribute="width" constant="228" id="WfO-SY-cEv"/>
  66. <constraint firstAttribute="height" constant="180" id="w3o-wZ-CNv"/>
  67. </constraints>
  68. </box>
  69. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lue-CR-EiO">
  70. <rect key="frame" x="-2" y="68" width="232" height="16"/>
  71. <textFieldCell key="cell" truncatesLastVisibleLine="YES" alignment="center" title="文档名称" id="qE9-hu-gK4">
  72. <font key="font" usesAppearanceFont="YES"/>
  73. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  74. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  75. </textFieldCell>
  76. </textField>
  77. </subviews>
  78. <constraints>
  79. <constraint firstAttribute="trailing" secondItem="VfC-ST-WEb" secondAttribute="trailing" id="0fp-z1-rEJ"/>
  80. <constraint firstItem="lue-CR-EiO" firstAttribute="leading" secondItem="Y6Z-am-nWp" secondAttribute="leading" id="7dR-kF-WFA"/>
  81. <constraint firstItem="VfC-ST-WEb" firstAttribute="top" secondItem="Y6Z-am-nWp" secondAttribute="top" id="9ff-qx-149"/>
  82. <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="lue-CR-EiO" secondAttribute="bottom" constant="8" id="F9d-RE-h8V"/>
  83. <constraint firstItem="lue-CR-EiO" firstAttribute="centerX" secondItem="VfC-ST-WEb" secondAttribute="centerX" id="FnG-ad-qia"/>
  84. <constraint firstItem="lue-CR-EiO" firstAttribute="top" secondItem="VfC-ST-WEb" secondAttribute="bottom" constant="8" id="kDA-GM-7sJ"/>
  85. <constraint firstAttribute="trailing" secondItem="lue-CR-EiO" secondAttribute="trailing" id="nXL-At-96p"/>
  86. <constraint firstItem="VfC-ST-WEb" firstAttribute="leading" secondItem="Y6Z-am-nWp" secondAttribute="leading" id="u2c-h5-TzH"/>
  87. </constraints>
  88. </view>
  89. </box>
  90. </subviews>
  91. <constraints>
  92. <constraint firstItem="04S-7L-aR3" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="8hg-HK-aSD"/>
  93. <constraint firstItem="04S-7L-aR3" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="9xS-K9-FcE"/>
  94. <constraint firstAttribute="trailing" secondItem="04S-7L-aR3" secondAttribute="trailing" id="tDx-zr-TLt"/>
  95. <constraint firstAttribute="bottom" secondItem="04S-7L-aR3" secondAttribute="bottom" id="vgH-NQ-ImP"/>
  96. </constraints>
  97. <point key="canvasLocation" x="-46" y="145"/>
  98. </customView>
  99. </objects>
  100. <resources>
  101. <image name="NSActionTemplate" width="15" height="15"/>
  102. </resources>
  103. </document>