KMHistoryFileCollectionViewItem.xib 9.0 KB

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