TreeVC.xib 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173
  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="TreeVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="collapseBtn" destination="Tqc-aF-s5t" id="IiK-uO-aVI"/>
  12. <outlet property="disableBtn" destination="mmC-vc-xwD" id="8gn-SS-lF2"/>
  13. <outlet property="editableBtn" destination="HY2-rQ-L2u" id="pJh-5u-VTq"/>
  14. <outlet property="iconBtn" destination="JSe-rE-Y9m" id="5mL-yO-Mld"/>
  15. <outlet property="levelIndexBox" destination="G8D-0g-sjs" id="MKy-uQ-xV9"/>
  16. <outlet property="showCollapseBtn" destination="l3q-Tk-51j" id="DsI-Lc-2jg"/>
  17. <outlet property="treeItem" destination="73c-Yp-CDh" id="1Nb-sM-Sbj"/>
  18. <outlet property="view" destination="Hz6-mo-xeY" id="0bl-1N-x8E"/>
  19. </connections>
  20. </customObject>
  21. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  22. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  23. <customView id="Hz6-mo-xeY">
  24. <rect key="frame" x="0.0" y="0.0" width="682" height="429"/>
  25. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  26. <subviews>
  27. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="JJq-St-57H">
  28. <rect key="frame" x="0.0" y="0.0" width="429" height="429"/>
  29. <view key="contentView" id="qYE-sX-rA3">
  30. <rect key="frame" x="1" y="1" width="427" height="427"/>
  31. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  32. <subviews>
  33. <customView translatesAutoresizingMaskIntoConstraints="NO" id="73c-Yp-CDh" customClass="ComponentTreeItem" customModule="KMComponentLibrary">
  34. <rect key="frame" x="20" y="375" width="229" height="32"/>
  35. <constraints>
  36. <constraint firstAttribute="width" constant="229" id="2bk-bS-0S6"/>
  37. <constraint firstAttribute="height" constant="32" id="4SC-Yi-mbG"/>
  38. </constraints>
  39. </customView>
  40. <button verticalHuggingPriority="750" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4qZ-6c-ucj">
  41. <rect key="frame" x="13" y="272" width="75" height="32"/>
  42. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  43. <buttonCell key="cell" type="push" title="Button" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="7ZN-MX-aMo">
  44. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  45. <font key="font" metaFont="system"/>
  46. <connections>
  47. <action selector="settingsButtonAction:" target="-2" id="1Ry-ff-Sqz"/>
  48. </connections>
  49. </buttonCell>
  50. </button>
  51. </subviews>
  52. <constraints>
  53. <constraint firstItem="73c-Yp-CDh" firstAttribute="top" secondItem="qYE-sX-rA3" secondAttribute="top" constant="20" id="3pD-Xf-34X"/>
  54. <constraint firstItem="73c-Yp-CDh" firstAttribute="leading" secondItem="qYE-sX-rA3" secondAttribute="leading" constant="20" id="rQ1-6r-WWf"/>
  55. </constraints>
  56. </view>
  57. <constraints>
  58. <constraint firstAttribute="width" secondItem="JJq-St-57H" secondAttribute="height" multiplier="1:1" id="w45-hq-oM1"/>
  59. </constraints>
  60. </box>
  61. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="mRQ-Zv-oAd">
  62. <rect key="frame" x="449" y="0.0" width="233" height="429"/>
  63. <view key="contentView" id="B1E-eE-BQV">
  64. <rect key="frame" x="1" y="1" width="231" height="427"/>
  65. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  66. <subviews>
  67. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="9Gd-ds-FPF">
  68. <rect key="frame" x="28" y="391" width="40" height="16"/>
  69. <textFieldCell key="cell" lineBreakMode="clipping" title="Level:" id="8SB-4Z-WdV">
  70. <font key="font" metaFont="system"/>
  71. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  72. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  73. </textFieldCell>
  74. </textField>
  75. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="G8D-0g-sjs">
  76. <rect key="frame" x="75" y="387" width="50" height="23"/>
  77. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="1" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="bcn-4m-2Wo">
  78. <font key="font" metaFont="system"/>
  79. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  80. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  81. <objectValues>
  82. <string>1</string>
  83. <string>2</string>
  84. <string>3</string>
  85. </objectValues>
  86. </comboBoxCell>
  87. <connections>
  88. <action selector="clickAction:" target="-2" id="Fhh-Ix-DiN"/>
  89. </connections>
  90. </comboBox>
  91. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Tqc-aF-s5t">
  92. <rect key="frame" x="28" y="362" width="79" height="18"/>
  93. <buttonCell key="cell" type="check" title="Collapse" bezelStyle="regularSquare" imagePosition="left" inset="2" id="IlZ-Zh-ddB">
  94. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  95. <font key="font" metaFont="system"/>
  96. </buttonCell>
  97. <connections>
  98. <action selector="clickAction:" target="-2" id="Qc9-lM-Cqh"/>
  99. </connections>
  100. </button>
  101. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="l3q-Tk-51j">
  102. <rect key="frame" x="28" y="336" width="112" height="18"/>
  103. <buttonCell key="cell" type="check" title="show collapse" bezelStyle="regularSquare" imagePosition="left" inset="2" id="1g1-HO-FzF">
  104. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  105. <font key="font" metaFont="system"/>
  106. </buttonCell>
  107. <connections>
  108. <action selector="clickAction:" target="-2" id="a58-V8-Xmu"/>
  109. </connections>
  110. </button>
  111. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="mmC-vc-xwD">
  112. <rect key="frame" x="28" y="310" width="70" height="18"/>
  113. <buttonCell key="cell" type="check" title="disable" bezelStyle="regularSquare" imagePosition="left" inset="2" id="Uin-J7-Pdt">
  114. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  115. <font key="font" metaFont="system"/>
  116. </buttonCell>
  117. <connections>
  118. <action selector="clickAction:" target="-2" id="Kj9-mZ-Z8g"/>
  119. </connections>
  120. </button>
  121. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="HY2-rQ-L2u">
  122. <rect key="frame" x="28" y="284" width="75" height="18"/>
  123. <buttonCell key="cell" type="check" title="editable" bezelStyle="regularSquare" imagePosition="left" inset="2" id="k54-hN-zsV">
  124. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  125. <font key="font" metaFont="system"/>
  126. </buttonCell>
  127. <connections>
  128. <action selector="clickAction:" target="-2" id="pej-tl-h9C"/>
  129. </connections>
  130. </button>
  131. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="JSe-rE-Y9m">
  132. <rect key="frame" x="28" y="258" width="52" height="18"/>
  133. <buttonCell key="cell" type="check" title="icon" bezelStyle="regularSquare" imagePosition="left" inset="2" id="nRB-uD-KFK">
  134. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  135. <font key="font" metaFont="system"/>
  136. </buttonCell>
  137. <connections>
  138. <action selector="clickAction:" target="-2" id="Que-MF-Adh"/>
  139. </connections>
  140. </button>
  141. </subviews>
  142. <constraints>
  143. <constraint firstItem="Tqc-aF-s5t" firstAttribute="leading" secondItem="B1E-eE-BQV" secondAttribute="leading" constant="30" id="2gI-s9-X11"/>
  144. <constraint firstItem="9Gd-ds-FPF" firstAttribute="top" secondItem="B1E-eE-BQV" secondAttribute="top" constant="20" id="BU2-vz-lmA"/>
  145. <constraint firstItem="JSe-rE-Y9m" firstAttribute="top" secondItem="HY2-rQ-L2u" secondAttribute="bottom" constant="10" id="DeU-eu-IQR"/>
  146. <constraint firstItem="JSe-rE-Y9m" firstAttribute="leading" secondItem="B1E-eE-BQV" secondAttribute="leading" constant="30" id="HP7-u4-7YP"/>
  147. <constraint firstItem="HY2-rQ-L2u" firstAttribute="top" secondItem="mmC-vc-xwD" secondAttribute="bottom" constant="10" id="SeN-th-u8S"/>
  148. <constraint firstItem="Tqc-aF-s5t" firstAttribute="top" secondItem="G8D-0g-sjs" secondAttribute="bottom" constant="10" id="Uw4-eP-PdE"/>
  149. <constraint firstItem="9Gd-ds-FPF" firstAttribute="leading" secondItem="B1E-eE-BQV" secondAttribute="leading" constant="30" id="V4D-j0-UFn"/>
  150. <constraint firstItem="mmC-vc-xwD" firstAttribute="top" secondItem="l3q-Tk-51j" secondAttribute="bottom" constant="10" id="Wwu-I1-Ccd"/>
  151. <constraint firstItem="G8D-0g-sjs" firstAttribute="centerY" secondItem="9Gd-ds-FPF" secondAttribute="centerY" id="YqE-XK-bEk"/>
  152. <constraint firstItem="l3q-Tk-51j" firstAttribute="top" secondItem="Tqc-aF-s5t" secondAttribute="bottom" constant="10" id="ZwC-Vp-YB1"/>
  153. <constraint firstItem="HY2-rQ-L2u" firstAttribute="leading" secondItem="mmC-vc-xwD" secondAttribute="leading" id="gbI-4o-jKK"/>
  154. <constraint firstItem="mmC-vc-xwD" firstAttribute="leading" secondItem="Tqc-aF-s5t" secondAttribute="leading" id="giE-j1-aa2"/>
  155. <constraint firstItem="l3q-Tk-51j" firstAttribute="leading" secondItem="Tqc-aF-s5t" secondAttribute="leading" id="tK7-dJ-pJB"/>
  156. <constraint firstItem="G8D-0g-sjs" firstAttribute="leading" secondItem="9Gd-ds-FPF" secondAttribute="trailing" constant="10" id="yHf-GZ-ipg"/>
  157. </constraints>
  158. </view>
  159. </box>
  160. </subviews>
  161. <constraints>
  162. <constraint firstAttribute="bottom" secondItem="JJq-St-57H" secondAttribute="bottom" id="Et5-0r-R9p"/>
  163. <constraint firstAttribute="trailing" secondItem="mRQ-Zv-oAd" secondAttribute="trailing" id="UDh-Pd-YOs"/>
  164. <constraint firstItem="mRQ-Zv-oAd" firstAttribute="leading" secondItem="JJq-St-57H" secondAttribute="trailing" constant="20" id="bl6-YQ-kUE"/>
  165. <constraint firstItem="mRQ-Zv-oAd" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="eCc-dB-0Ll"/>
  166. <constraint firstItem="JJq-St-57H" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="etC-bu-Xkb"/>
  167. <constraint firstAttribute="bottom" secondItem="mRQ-Zv-oAd" secondAttribute="bottom" id="sUO-u2-FqS"/>
  168. <constraint firstItem="JJq-St-57H" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="vkW-cf-FH1"/>
  169. </constraints>
  170. <point key="canvasLocation" x="256" y="143.5"/>
  171. </customView>
  172. </objects>
  173. </document>