KMThumbnailViewController.xib 8.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="21701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="21701"/>
  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="KMThumbnailViewController" customModule="PDF_Master" customModuleProvider="target">
  9. <connections>
  10. <outlet property="doublePageBtn" destination="y7O-T9-4pt" id="PlC-YF-qgf"/>
  11. <outlet property="headerView" destination="ByL-P0-CBo" id="eV2-UI-ZCZ"/>
  12. <outlet property="lineView" destination="TTY-aB-eBP" id="2vZ-ey-XLI"/>
  13. <outlet property="thumbnailView" destination="0Ot-Gw-V0A" id="rUP-Aa-y2r"/>
  14. <outlet property="titleLabel" destination="xyA-oR-kpO" id="4lw-mK-gCO"/>
  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="280" height="444"/>
  22. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  23. <subviews>
  24. <customView translatesAutoresizingMaskIntoConstraints="NO" id="ByL-P0-CBo">
  25. <rect key="frame" x="0.0" y="396" width="280" height="48"/>
  26. <subviews>
  27. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="xyA-oR-kpO">
  28. <rect key="frame" x="14" y="16" width="220" height="17"/>
  29. <textFieldCell key="cell" lineBreakMode="clipping" title="Label" id="lOy-md-kxo">
  30. <font key="font" metaFont="system" size="14"/>
  31. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  32. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  33. </textFieldCell>
  34. </textField>
  35. <button hidden="YES" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="y7O-T9-4pt">
  36. <rect key="frame" x="240" y="8" width="32" height="32"/>
  37. <constraints>
  38. <constraint firstAttribute="width" constant="32" id="Rhj-E6-2zo"/>
  39. <constraint firstAttribute="height" constant="32" id="gFh-BW-G5V"/>
  40. </constraints>
  41. <buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="KMImageNameThumbnailDoublePage" imagePosition="overlaps" alignment="center" lineBreakMode="truncatingTail" state="on" imageScaling="proportionallyDown" inset="2" id="Kh1-u8-bUw">
  42. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  43. <font key="font" metaFont="system"/>
  44. </buttonCell>
  45. <connections>
  46. <action selector="doublePageAction:" target="-2" id="dCI-g4-Gkm"/>
  47. </connections>
  48. </button>
  49. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="78q-yY-AEA">
  50. <rect key="frame" x="140" y="24" width="0.0" height="0.0"/>
  51. <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" alignment="center" imageScaling="proportionallyDown" inset="2" id="s09-io-xhL">
  52. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  53. <font key="font" metaFont="system"/>
  54. <string key="keyEquivalent" base64-UTF8="YES">
  55. Gw
  56. </string>
  57. </buttonCell>
  58. <connections>
  59. <action selector="escButtonAction:" target="-2" id="lcr-dF-51N"/>
  60. </connections>
  61. </button>
  62. <customView translatesAutoresizingMaskIntoConstraints="NO" id="TTY-aB-eBP">
  63. <rect key="frame" x="0.0" y="0.0" width="280" height="1"/>
  64. <constraints>
  65. <constraint firstAttribute="height" constant="1" id="3zP-V1-xK4"/>
  66. </constraints>
  67. </customView>
  68. </subviews>
  69. <constraints>
  70. <constraint firstAttribute="trailing" secondItem="TTY-aB-eBP" secondAttribute="trailing" id="EnH-eE-TVR"/>
  71. <constraint firstItem="xyA-oR-kpO" firstAttribute="centerY" secondItem="ByL-P0-CBo" secondAttribute="centerY" id="HyG-hF-nPM"/>
  72. <constraint firstAttribute="bottom" secondItem="TTY-aB-eBP" secondAttribute="bottom" id="IZE-u3-zhJ"/>
  73. <constraint firstItem="TTY-aB-eBP" firstAttribute="leading" secondItem="ByL-P0-CBo" secondAttribute="leading" id="O8z-LK-bSW"/>
  74. <constraint firstAttribute="height" constant="48" id="REe-oB-HuG"/>
  75. <constraint firstAttribute="trailing" secondItem="y7O-T9-4pt" secondAttribute="trailing" constant="8" id="cbX-c7-OqW"/>
  76. <constraint firstItem="y7O-T9-4pt" firstAttribute="leading" secondItem="xyA-oR-kpO" secondAttribute="trailing" constant="8" id="cq0-Jp-biI"/>
  77. <constraint firstItem="xyA-oR-kpO" firstAttribute="leading" secondItem="ByL-P0-CBo" secondAttribute="leading" constant="16" id="n2U-HC-cFj"/>
  78. <constraint firstItem="78q-yY-AEA" firstAttribute="centerY" secondItem="ByL-P0-CBo" secondAttribute="centerY" id="ofz-tG-oEe"/>
  79. <constraint firstItem="78q-yY-AEA" firstAttribute="centerX" secondItem="ByL-P0-CBo" secondAttribute="centerX" id="uRO-2i-Ujk"/>
  80. <constraint firstItem="y7O-T9-4pt" firstAttribute="centerY" secondItem="ByL-P0-CBo" secondAttribute="centerY" id="wjz-OJ-KhO"/>
  81. </constraints>
  82. </customView>
  83. <customView translatesAutoresizingMaskIntoConstraints="NO" id="0Ot-Gw-V0A" customClass="KMPageEditThumbnailView" customModule="PDF_Master" customModuleProvider="target">
  84. <rect key="frame" x="0.0" y="0.0" width="280" height="396"/>
  85. </customView>
  86. </subviews>
  87. <constraints>
  88. <constraint firstItem="0Ot-Gw-V0A" firstAttribute="top" secondItem="ByL-P0-CBo" secondAttribute="bottom" id="15t-eY-oQQ"/>
  89. <constraint firstItem="ByL-P0-CBo" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="QQn-OZ-9yl"/>
  90. <constraint firstItem="ByL-P0-CBo" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="Qsq-9i-iyq"/>
  91. <constraint firstAttribute="bottom" secondItem="0Ot-Gw-V0A" secondAttribute="bottom" id="cJ9-5d-ec4"/>
  92. <constraint firstItem="0Ot-Gw-V0A" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="doS-Sl-FSB"/>
  93. <constraint firstAttribute="trailing" secondItem="0Ot-Gw-V0A" secondAttribute="trailing" id="lOH-mF-Lad"/>
  94. <constraint firstAttribute="trailing" secondItem="ByL-P0-CBo" secondAttribute="trailing" id="olg-rT-rLG"/>
  95. </constraints>
  96. <point key="canvasLocation" x="-5" y="186"/>
  97. </customView>
  98. </objects>
  99. <resources>
  100. <image name="KMImageNameThumbnailDoublePage" width="32" height="32"/>
  101. </resources>
  102. </document>