TooltipVC.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127
  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="TooltipVC" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="subTitleField" destination="dWV-Y3-MJM" id="5uJ-mL-Y4K"/>
  12. <outlet property="titleField" destination="0kK-UZ-vTt" id="eYA-1o-gP9"/>
  13. <outlet property="tooltipItem" destination="8yG-nt-rIA" id="ybM-IB-1aU"/>
  14. <outlet property="typeBox" destination="1D3-cU-ppb" id="jcj-ZG-f8H"/>
  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="643" height="384"/>
  22. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  23. <subviews>
  24. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="HOg-b2-Ehc">
  25. <rect key="frame" x="0.0" y="0.0" width="384" height="384"/>
  26. <view key="contentView" id="btb-xc-cUW">
  27. <rect key="frame" x="1" y="1" width="382" height="382"/>
  28. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  29. <subviews>
  30. <customView fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8yG-nt-rIA" customClass="ComponentToolTip" customModule="KMComponentLibrary">
  31. <rect key="frame" x="20" y="272" width="240" height="90"/>
  32. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/>
  33. </customView>
  34. </subviews>
  35. </view>
  36. <constraints>
  37. <constraint firstAttribute="width" secondItem="HOg-b2-Ehc" secondAttribute="height" multiplier="1:1" id="yQi-yz-nHt"/>
  38. </constraints>
  39. </box>
  40. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="c2L-ez-dE9">
  41. <rect key="frame" x="404" y="0.0" width="239" height="384"/>
  42. <view key="contentView" id="Tw1-ZV-TxV">
  43. <rect key="frame" x="1" y="1" width="237" height="382"/>
  44. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  45. <subviews>
  46. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="R4H-6M-e4p">
  47. <rect key="frame" x="8" y="346" width="41" height="16"/>
  48. <textFieldCell key="cell" lineBreakMode="clipping" title="Type:" id="X8g-9b-v9M">
  49. <font key="font" metaFont="system"/>
  50. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  51. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  52. </textFieldCell>
  53. </textField>
  54. <comboBox focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="1D3-cU-ppb">
  55. <rect key="frame" x="51" y="342" width="109" height="23"/>
  56. <constraints>
  57. <constraint firstAttribute="width" constant="105" id="pKM-Vh-6lK"/>
  58. </constraints>
  59. <comboBoxCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" borderStyle="bezel" alignment="center" title="topleft" drawsBackground="YES" completes="NO" numberOfVisibleItems="6" id="hMG-XM-rwc">
  60. <font key="font" metaFont="system"/>
  61. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  62. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  63. <objectValues>
  64. <string>left_Top</string>
  65. <string>left_Center</string>
  66. <string>left_Bottom</string>
  67. <string>top_Left</string>
  68. <string>top_Center</string>
  69. <string>top_Right</string>
  70. <string>right_Top</string>
  71. <string>right_Center</string>
  72. <string>right_Bottom</string>
  73. <string>bottom_Left</string>
  74. <string>bottom_Center</string>
  75. <string>bottom_Right</string>
  76. </objectValues>
  77. </comboBoxCell>
  78. <connections>
  79. <action selector="typeAction:" target="-2" id="j5d-Jt-DDx"/>
  80. </connections>
  81. </comboBox>
  82. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="0kK-UZ-vTt">
  83. <rect key="frame" x="10" y="303" width="187" height="21"/>
  84. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" title="Tooltip Title" placeholderString="Tooltip Title" drawsBackground="YES" id="QHy-ww-Cih">
  85. <font key="font" metaFont="system"/>
  86. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  87. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  88. </textFieldCell>
  89. </textField>
  90. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="dWV-Y3-MJM">
  91. <rect key="frame" x="10" y="262" width="187" height="21"/>
  92. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" placeholderString="Tooltip text" drawsBackground="YES" id="Z6u-3i-Mxe">
  93. <font key="font" metaFont="system"/>
  94. <string key="title">Tooltips are used to describe or identify an element. Tooltips help the user understand the meaning, function or alt-text of an element.</string>
  95. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  96. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  97. </textFieldCell>
  98. </textField>
  99. </subviews>
  100. <constraints>
  101. <constraint firstItem="1D3-cU-ppb" firstAttribute="centerY" secondItem="R4H-6M-e4p" secondAttribute="centerY" id="0rs-ng-Zp8"/>
  102. <constraint firstItem="0kK-UZ-vTt" firstAttribute="leading" secondItem="Tw1-ZV-TxV" secondAttribute="leading" constant="10" id="3Nd-bx-t0C"/>
  103. <constraint firstAttribute="trailing" secondItem="dWV-Y3-MJM" secondAttribute="trailing" constant="40" id="Dmg-Dm-cyj"/>
  104. <constraint firstItem="R4H-6M-e4p" firstAttribute="top" secondItem="Tw1-ZV-TxV" secondAttribute="top" constant="20" id="EHO-2Z-75F"/>
  105. <constraint firstItem="R4H-6M-e4p" firstAttribute="leading" secondItem="Tw1-ZV-TxV" secondAttribute="leading" constant="10" id="I2F-Fg-Qa7"/>
  106. <constraint firstAttribute="trailing" secondItem="0kK-UZ-vTt" secondAttribute="trailing" constant="40" id="Y37-aK-ZQR"/>
  107. <constraint firstItem="1D3-cU-ppb" firstAttribute="leading" secondItem="R4H-6M-e4p" secondAttribute="trailing" constant="5" id="d6f-9S-JGN"/>
  108. <constraint firstItem="dWV-Y3-MJM" firstAttribute="leading" secondItem="Tw1-ZV-TxV" secondAttribute="leading" constant="10" id="jb9-wX-RHW"/>
  109. <constraint firstItem="dWV-Y3-MJM" firstAttribute="top" secondItem="0kK-UZ-vTt" secondAttribute="bottom" constant="20" id="nlu-es-uYO"/>
  110. <constraint firstItem="0kK-UZ-vTt" firstAttribute="top" secondItem="1D3-cU-ppb" secondAttribute="bottom" constant="20" id="waq-Fh-DYq"/>
  111. </constraints>
  112. </view>
  113. </box>
  114. </subviews>
  115. <constraints>
  116. <constraint firstAttribute="bottom" secondItem="c2L-ez-dE9" secondAttribute="bottom" id="Dbb-v5-IfA"/>
  117. <constraint firstAttribute="trailing" secondItem="c2L-ez-dE9" secondAttribute="trailing" id="HOU-3a-V9G"/>
  118. <constraint firstAttribute="bottom" secondItem="HOg-b2-Ehc" secondAttribute="bottom" id="Jr0-PE-2Ee"/>
  119. <constraint firstItem="HOg-b2-Ehc" firstAttribute="leading" secondItem="Hz6-mo-xeY" secondAttribute="leading" id="ZGU-r9-abb"/>
  120. <constraint firstItem="c2L-ez-dE9" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="cmq-Nb-3Zb"/>
  121. <constraint firstItem="HOg-b2-Ehc" firstAttribute="top" secondItem="Hz6-mo-xeY" secondAttribute="top" id="dyf-i9-8EZ"/>
  122. <constraint firstItem="c2L-ez-dE9" firstAttribute="leading" secondItem="HOg-b2-Ehc" secondAttribute="trailing" constant="20" id="h3K-lc-fwn"/>
  123. </constraints>
  124. <point key="canvasLocation" x="213.5" y="-16"/>
  125. </customView>
  126. </objects>
  127. </document>