AITranslateTipWindowController.xib 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192
  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="AITranslateTipWindowController" customModule="PDF_Reader_Pro" customModuleProvider="target">
  10. <connections>
  11. <outlet property="cancelBtn" destination="WKG-Fa-3Qh" id="GTf-ov-Kkg"/>
  12. <outlet property="charactersLabel" destination="6oZ-4Y-3Bl" id="SsU-f6-kOb"/>
  13. <outlet property="confirmBtn" destination="ocZ-qZ-LWg" id="oz8-AW-oOh"/>
  14. <outlet property="contendView" destination="fJP-XA-WTg" id="DkW-Zh-DyM"/>
  15. <outlet property="creditTipLabel" destination="gzM-va-bsC" id="d4l-HA-bgt"/>
  16. <outlet property="creditsLabel" destination="NFc-Td-mzB" id="eqX-yh-jAK"/>
  17. <outlet property="errorTipImage" destination="QjK-nk-ZWg" id="QYS-yr-B4D"/>
  18. <outlet property="errorTipLabel" destination="VJR-C4-JHW" id="meF-4Z-Kct"/>
  19. <outlet property="titleBox" destination="eMR-Ws-S0h" id="c3n-PZ-G80"/>
  20. <outlet property="titleLabel1" destination="411-t6-94V" id="aEK-qw-Kxn"/>
  21. <outlet property="window" destination="F0z-JX-Cv5" id="gIp-Ho-8D9"/>
  22. </connections>
  23. </customObject>
  24. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  25. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  26. <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="F0z-JX-Cv5">
  27. <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
  28. <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
  29. <rect key="contentRect" x="196" y="240" width="438" height="140"/>
  30. <rect key="screenRect" x="0.0" y="0.0" width="1800" height="1125"/>
  31. <view key="contentView" id="se5-gp-TjO">
  32. <rect key="frame" x="0.0" y="0.0" width="438" height="140"/>
  33. <autoresizingMask key="autoresizingMask"/>
  34. <subviews>
  35. <customView translatesAutoresizingMaskIntoConstraints="NO" id="fJP-XA-WTg">
  36. <rect key="frame" x="0.0" y="0.0" width="438" height="140"/>
  37. <subviews>
  38. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="411-t6-94V">
  39. <rect key="frame" x="18" y="100" width="121" height="16"/>
  40. <textFieldCell key="cell" lineBreakMode="clipping" title="You need to spend:" id="fXL-ec-qqJ">
  41. <font key="font" usesAppearanceFont="YES"/>
  42. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  43. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  44. </textFieldCell>
  45. </textField>
  46. <box boxType="custom" borderType="none" borderWidth="0.0" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="eMR-Ws-S0h" customClass="KMBox" customModule="PDF_Reader_Pro" customModuleProvider="target">
  47. <rect key="frame" x="145" y="96" width="70" height="24"/>
  48. <view key="contentView" id="Sxc-Gx-wyD">
  49. <rect key="frame" x="0.0" y="0.0" width="70" height="24"/>
  50. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  51. <subviews>
  52. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="NFc-Td-mzB">
  53. <rect key="frame" x="2" y="4" width="67" height="16"/>
  54. <textFieldCell key="cell" lineBreakMode="clipping" alignment="center" title="2 Credits" id="hYX-th-yfv">
  55. <font key="font" metaFont="systemBold"/>
  56. <color key="textColor" red="0.99999600649999998" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  57. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  58. </textFieldCell>
  59. </textField>
  60. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="QDV-Zy-eZ6" customClass="KMButton" customModule="PDF_Reader_Pro" customModuleProvider="target">
  61. <rect key="frame" x="0.0" y="0.0" width="70" height="24"/>
  62. <buttonCell key="cell" type="bevel" bezelStyle="rounded" alignment="center" imageScaling="proportionallyDown" inset="2" id="CCa-im-GS2">
  63. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  64. <font key="font" metaFont="system"/>
  65. </buttonCell>
  66. </button>
  67. </subviews>
  68. <constraints>
  69. <constraint firstItem="QDV-Zy-eZ6" firstAttribute="leading" secondItem="Sxc-Gx-wyD" secondAttribute="leading" id="9WA-oc-OdQ"/>
  70. <constraint firstAttribute="trailing" secondItem="QDV-Zy-eZ6" secondAttribute="trailing" id="O93-Ud-HGB"/>
  71. <constraint firstItem="QDV-Zy-eZ6" firstAttribute="top" secondItem="Sxc-Gx-wyD" secondAttribute="top" id="VrQ-2n-Zwn"/>
  72. <constraint firstAttribute="bottom" secondItem="QDV-Zy-eZ6" secondAttribute="bottom" id="YdF-8V-sJp"/>
  73. <constraint firstItem="NFc-Td-mzB" firstAttribute="centerX" secondItem="Sxc-Gx-wyD" secondAttribute="centerX" id="kwb-o8-5yK"/>
  74. <constraint firstItem="NFc-Td-mzB" firstAttribute="centerY" secondItem="Sxc-Gx-wyD" secondAttribute="centerY" id="nve-ez-JTY"/>
  75. </constraints>
  76. </view>
  77. <constraints>
  78. <constraint firstAttribute="width" constant="70" id="0aa-HA-59p"/>
  79. <constraint firstAttribute="height" constant="24" id="5XG-ek-cFv"/>
  80. </constraints>
  81. <color key="fillColor" red="1" green="0.36862745099999999" blue="0.17254901959999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  82. </box>
  83. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="6oZ-4Y-3Bl">
  84. <rect key="frame" x="221" y="100" width="148" height="16"/>
  85. <textFieldCell key="cell" lineBreakMode="clipping" title="(Total 2483 characters)" id="aoy-fX-jNZ">
  86. <font key="font" usesAppearanceFont="YES"/>
  87. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  88. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  89. </textFieldCell>
  90. </textField>
  91. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="qBF-tK-YXN" customClass="KMButton" customModule="PDF_Reader_Pro" customModuleProvider="target">
  92. <rect key="frame" x="20" y="58" width="20" height="20"/>
  93. <buttonCell key="cell" type="bevel" bezelStyle="rounded" image="ic_else_info_large" imagePosition="only" alignment="center" imageScaling="proportionallyDown" inset="2" id="AFs-at-l9l">
  94. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  95. <font key="font" metaFont="system"/>
  96. </buttonCell>
  97. <constraints>
  98. <constraint firstAttribute="height" constant="20" id="PM1-TA-SwJ"/>
  99. <constraint firstAttribute="width" constant="20" id="t7m-C0-0D8"/>
  100. </constraints>
  101. </button>
  102. <imageView horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="QjK-nk-ZWg">
  103. <rect key="frame" x="20" y="22" width="20" height="20"/>
  104. <constraints>
  105. <constraint firstAttribute="width" constant="20" id="1Ew-Pj-pdx"/>
  106. <constraint firstAttribute="height" constant="20" id="FWm-gk-yXh"/>
  107. </constraints>
  108. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyDown" image="creditNoTip" id="g5n-QE-CtD"/>
  109. </imageView>
  110. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="VJR-C4-JHW">
  111. <rect key="frame" x="42" y="24" width="113" height="16"/>
  112. <textFieldCell key="cell" lineBreakMode="clipping" title="Insufficient Credit" id="HdW-1R-8Zy">
  113. <font key="font" usesAppearanceFont="YES"/>
  114. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  115. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  116. </textFieldCell>
  117. </textField>
  118. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="WKG-Fa-3Qh">
  119. <rect key="frame" x="263" y="13" width="76" height="32"/>
  120. <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="rYQ-dD-Whe">
  121. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  122. <font key="font" metaFont="system"/>
  123. <string key="keyEquivalent" base64-UTF8="YES">
  124. Gw
  125. </string>
  126. </buttonCell>
  127. <connections>
  128. <action selector="cancelAction:" target="-2" id="xBX-4V-XnJ"/>
  129. </connections>
  130. </button>
  131. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="ocZ-qZ-LWg">
  132. <rect key="frame" x="333" y="13" width="90" height="32"/>
  133. <buttonCell key="cell" type="push" title="Translate" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="kmU-tG-waG">
  134. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  135. <font key="font" metaFont="system"/>
  136. <string key="keyEquivalent" base64-UTF8="YES">
  137. DQ
  138. </string>
  139. </buttonCell>
  140. <connections>
  141. <action selector="confirmAction:" target="-2" id="30z-Il-co6"/>
  142. </connections>
  143. </button>
  144. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="gzM-va-bsC">
  145. <rect key="frame" x="42" y="60" width="261" height="16"/>
  146. <textFieldCell key="cell" lineBreakMode="clipping" title="1 Credit is consumed per 1000 characters." id="f3j-ca-xWR">
  147. <font key="font" usesAppearanceFont="YES"/>
  148. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  149. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  150. </textFieldCell>
  151. </textField>
  152. </subviews>
  153. <constraints>
  154. <constraint firstItem="QjK-nk-ZWg" firstAttribute="leading" secondItem="fJP-XA-WTg" secondAttribute="leading" constant="20" id="24R-CC-i7v"/>
  155. <constraint firstItem="eMR-Ws-S0h" firstAttribute="leading" secondItem="411-t6-94V" secondAttribute="trailing" constant="8" id="5aX-Bh-zc1"/>
  156. <constraint firstItem="eMR-Ws-S0h" firstAttribute="centerY" secondItem="411-t6-94V" secondAttribute="centerY" id="723-w8-u9Q"/>
  157. <constraint firstAttribute="trailing" secondItem="ocZ-qZ-LWg" secondAttribute="trailing" constant="22" id="Grj-C6-Dex"/>
  158. <constraint firstItem="VJR-C4-JHW" firstAttribute="top" secondItem="gzM-va-bsC" secondAttribute="bottom" constant="20" id="Klh-hb-c3X"/>
  159. <constraint firstItem="6oZ-4Y-3Bl" firstAttribute="centerY" secondItem="eMR-Ws-S0h" secondAttribute="centerY" id="QO8-ap-WOT"/>
  160. <constraint firstItem="VJR-C4-JHW" firstAttribute="centerY" secondItem="QjK-nk-ZWg" secondAttribute="centerY" id="SzI-v4-q3u"/>
  161. <constraint firstItem="VJR-C4-JHW" firstAttribute="leading" secondItem="QjK-nk-ZWg" secondAttribute="trailing" constant="4" id="U8Z-ge-EOi"/>
  162. <constraint firstItem="411-t6-94V" firstAttribute="leading" secondItem="fJP-XA-WTg" secondAttribute="leading" constant="20" id="WuA-Yc-IEx"/>
  163. <constraint firstItem="eMR-Ws-S0h" firstAttribute="top" secondItem="fJP-XA-WTg" secondAttribute="top" constant="20" id="ZV0-zF-8FR"/>
  164. <constraint firstItem="ocZ-qZ-LWg" firstAttribute="leading" secondItem="WKG-Fa-3Qh" secondAttribute="trailing" constant="8" id="gj4-pk-943"/>
  165. <constraint firstItem="6oZ-4Y-3Bl" firstAttribute="leading" secondItem="eMR-Ws-S0h" secondAttribute="trailing" constant="8" id="h9Q-ZN-SYJ"/>
  166. <constraint firstItem="gzM-va-bsC" firstAttribute="top" secondItem="eMR-Ws-S0h" secondAttribute="bottom" constant="20" id="hYR-rs-cLl"/>
  167. <constraint firstItem="qBF-tK-YXN" firstAttribute="leading" secondItem="fJP-XA-WTg" secondAttribute="leading" constant="20" id="iRf-ku-SRv"/>
  168. <constraint firstItem="gzM-va-bsC" firstAttribute="leading" secondItem="qBF-tK-YXN" secondAttribute="trailing" constant="4" id="o2F-Qq-Ga1"/>
  169. <constraint firstAttribute="bottom" secondItem="ocZ-qZ-LWg" secondAttribute="bottom" constant="20" id="oI7-fI-ycp"/>
  170. <constraint firstAttribute="bottom" secondItem="WKG-Fa-3Qh" secondAttribute="bottom" constant="20" id="rGd-eP-fnq"/>
  171. <constraint firstItem="gzM-va-bsC" firstAttribute="centerY" secondItem="qBF-tK-YXN" secondAttribute="centerY" id="yLX-QJ-X6z"/>
  172. </constraints>
  173. </customView>
  174. </subviews>
  175. <constraints>
  176. <constraint firstAttribute="trailing" secondItem="fJP-XA-WTg" secondAttribute="trailing" id="7MW-Zo-l7l"/>
  177. <constraint firstItem="fJP-XA-WTg" firstAttribute="top" secondItem="se5-gp-TjO" secondAttribute="top" id="OfI-of-Nmf"/>
  178. <constraint firstAttribute="bottom" secondItem="fJP-XA-WTg" secondAttribute="bottom" id="Tjw-Fn-aqK"/>
  179. <constraint firstItem="fJP-XA-WTg" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" id="tWs-Go-RLC"/>
  180. </constraints>
  181. </view>
  182. <connections>
  183. <outlet property="delegate" destination="-2" id="0bl-1N-AYu"/>
  184. </connections>
  185. <point key="canvasLocation" x="-68" y="238"/>
  186. </window>
  187. </objects>
  188. <resources>
  189. <image name="creditNoTip" width="14" height="15"/>
  190. <image name="ic_else_info_large" width="14" height="14"/>
  191. </resources>
  192. </document>