KMTTSWindowController.xib 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22155" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22155"/>
  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="KMTTSWindowController" customModule="PDF_Master" customModuleProvider="target">
  10. <connections>
  11. <outlet property="forwardButton" destination="e4k-fY-QVV" id="8tb-RI-1tB"/>
  12. <outlet property="languageComboBox" destination="9fT-vD-o2j" id="eih-GL-lW6"/>
  13. <outlet property="languageLabel" destination="rQn-eL-pyW" id="pRa-hs-J9v"/>
  14. <outlet property="nextButton" destination="iPi-uv-9TU" id="mSj-CW-N6w"/>
  15. <outlet property="playButton" destination="J22-av-VRD" id="4oE-w7-5hv"/>
  16. <outlet property="sontinuouButton" destination="upy-4H-SEZ" id="uUc-dp-Nec"/>
  17. <outlet property="speedBox" destination="GzC-vA-NHb" id="Xg1-ek-g1t"/>
  18. <outlet property="speedLabel" destination="DFJ-Ak-XZz" id="uHf-ld-u9F"/>
  19. <outlet property="speedSlider" destination="kuF-Om-R8M" id="eXe-gW-nfF"/>
  20. <outlet property="speedStepper" destination="rNV-Re-6ql" id="JhG-B2-bmV"/>
  21. <outlet property="speedTextField" destination="xA2-tf-ljd" id="OKg-mA-fnP"/>
  22. <outlet property="sppendCountLabel" destination="zCs-0F-iqc" id="zpp-Oz-cyj"/>
  23. <outlet property="window" destination="F0z-JX-Cv5" id="gIp-Ho-8D9"/>
  24. </connections>
  25. </customObject>
  26. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  27. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  28. <window title="TTS" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="F0z-JX-Cv5">
  29. <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" fullSizeContentView="YES"/>
  30. <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
  31. <rect key="contentRect" x="449" y="545" width="353" height="179"/>
  32. <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1415"/>
  33. <value key="minSize" type="size" width="353" height="179"/>
  34. <value key="maxSize" type="size" width="353" height="179"/>
  35. <view key="contentView" id="se5-gp-TjO">
  36. <rect key="frame" x="0.0" y="0.0" width="353" height="187"/>
  37. <autoresizingMask key="autoresizingMask"/>
  38. <subviews>
  39. <button focusRingType="none" translatesAutoresizingMaskIntoConstraints="NO" id="e4k-fY-QVV" customClass="KMToolbarItem" customModule="PDF_Master" customModuleProvider="target">
  40. <rect key="frame" x="77" y="127" width="20" height="20"/>
  41. <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="KMImageNameTTSForward" imagePosition="only" alignment="center" focusRingType="none" imageScaling="proportionallyUpOrDown" inset="2" id="cZo-qa-ElH">
  42. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  43. <font key="font" metaFont="system"/>
  44. </buttonCell>
  45. <constraints>
  46. <constraint firstAttribute="height" constant="20" id="Qi5-8w-VGb"/>
  47. <constraint firstAttribute="width" constant="20" id="SOJ-Eb-cZp"/>
  48. </constraints>
  49. <connections>
  50. <action selector="buttonItemClick_Forward:" target="-2" id="3sz-e1-G5W"/>
  51. </connections>
  52. </button>
  53. <button focusRingType="none" translatesAutoresizingMaskIntoConstraints="NO" id="J22-av-VRD" customClass="KMToolbarItem" customModule="PDF_Master" customModuleProvider="target">
  54. <rect key="frame" x="167" y="127" width="20" height="20"/>
  55. <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="KMImageNameTTSStop" imagePosition="only" alignment="center" focusRingType="none" imageScaling="proportionallyUpOrDown" inset="2" id="4wL-Pk-QMU">
  56. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  57. <font key="font" metaFont="system"/>
  58. </buttonCell>
  59. <constraints>
  60. <constraint firstAttribute="width" constant="20" id="FXz-Rp-6x2"/>
  61. <constraint firstAttribute="height" constant="20" id="ohp-zV-fN2"/>
  62. </constraints>
  63. <connections>
  64. <action selector="buttonItemClick_Play:" target="-2" id="uzW-jl-ZIt"/>
  65. </connections>
  66. </button>
  67. <button focusRingType="none" translatesAutoresizingMaskIntoConstraints="NO" id="iPi-uv-9TU" customClass="KMToolbarItem" customModule="PDF_Master" customModuleProvider="target">
  68. <rect key="frame" x="257" y="127" width="20" height="20"/>
  69. <buttonCell key="cell" type="square" bezelStyle="shadowlessSquare" image="KMImageNameTTSNext" imagePosition="only" alignment="center" focusRingType="none" imageScaling="proportionallyUpOrDown" inset="2" id="gr1-LS-zDz">
  70. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  71. <font key="font" metaFont="system"/>
  72. </buttonCell>
  73. <constraints>
  74. <constraint firstAttribute="height" constant="20" id="ZLR-0u-A9e"/>
  75. <constraint firstAttribute="width" constant="20" id="xgc-aG-JWR"/>
  76. </constraints>
  77. <connections>
  78. <action selector="buttonItemClick_Next:" target="-2" id="4Bg-i6-Fbd"/>
  79. </connections>
  80. </button>
  81. <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="nS9-Bi-nrK">
  82. <rect key="frame" x="20" y="109" width="313" height="5"/>
  83. </box>
  84. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="DFJ-Ak-XZz">
  85. <rect key="frame" x="18" y="49" width="41" height="15"/>
  86. <textFieldCell key="cell" lineBreakMode="clipping" title="Speed" id="VT8-Zk-oJq">
  87. <font key="font" metaFont="cellTitle"/>
  88. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  89. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  90. </textFieldCell>
  91. </textField>
  92. <slider verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="kuF-Om-R8M">
  93. <rect key="frame" x="65" y="40" width="171" height="28"/>
  94. <sliderCell key="cell" state="on" alignment="left" minValue="1" maxValue="5" doubleValue="3" tickMarkPosition="above" sliderType="linear" id="XqB-cn-IzR"/>
  95. <connections>
  96. <action selector="sliderItemClick_Speed:" target="-2" id="JWB-Ml-1d3"/>
  97. </connections>
  98. </slider>
  99. <stepper horizontalHuggingPriority="750" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rNV-Re-6ql">
  100. <rect key="frame" x="311" y="42" width="19" height="28"/>
  101. <stepperCell key="cell" continuous="YES" alignment="left" increment="0.10000000000000001" maxValue="100" doubleValue="40" id="dvc-LI-TGa"/>
  102. <connections>
  103. <action selector="stepperItemClick_Speed:" target="-2" id="hCI-F8-3Kh"/>
  104. </connections>
  105. </stepper>
  106. <box boxType="custom" cornerRadius="4" title="Box" translatesAutoresizingMaskIntoConstraints="NO" id="GzC-vA-NHb">
  107. <rect key="frame" x="239" y="47" width="70" height="19"/>
  108. <view key="contentView" id="TIA-n5-N7G">
  109. <rect key="frame" x="1" y="1" width="68" height="17"/>
  110. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  111. <subviews>
  112. <textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="xA2-tf-ljd">
  113. <rect key="frame" x="0.0" y="0.0" width="68" height="15"/>
  114. <constraints>
  115. <constraint firstAttribute="width" constant="64" id="6sI-Pw-hRl"/>
  116. </constraints>
  117. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" focusRingType="none" alignment="center" title="3" id="J9h-gr-ftV">
  118. <font key="font" metaFont="cellTitle"/>
  119. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  120. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  121. </textFieldCell>
  122. <connections>
  123. <outlet property="delegate" destination="-2" id="i1Q-re-mrz"/>
  124. </connections>
  125. </textField>
  126. </subviews>
  127. <constraints>
  128. <constraint firstAttribute="trailing" secondItem="xA2-tf-ljd" secondAttribute="trailing" constant="2" id="8Qp-4N-AuH"/>
  129. <constraint firstAttribute="bottom" secondItem="xA2-tf-ljd" secondAttribute="bottom" id="BsA-CV-v3r"/>
  130. <constraint firstItem="xA2-tf-ljd" firstAttribute="top" secondItem="TIA-n5-N7G" secondAttribute="top" constant="2" id="Mor-2Z-GL2"/>
  131. <constraint firstItem="xA2-tf-ljd" firstAttribute="leading" secondItem="TIA-n5-N7G" secondAttribute="leading" constant="2" id="b3V-rv-rUa"/>
  132. </constraints>
  133. </view>
  134. <color key="borderColor" red="0.67450980392156867" green="0.67450980392156867" blue="0.67450980392156867" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  135. <color key="fillColor" white="0.62351190476190477" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  136. </box>
  137. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="zCs-0F-iqc">
  138. <rect key="frame" x="327" y="49" width="13" height="15"/>
  139. <constraints>
  140. <constraint firstAttribute="height" constant="15" id="Gs7-zH-2ub"/>
  141. </constraints>
  142. <textFieldCell key="cell" lineBreakMode="clipping" title="X" id="BXz-xw-Zsy">
  143. <font key="font" metaFont="cellTitle"/>
  144. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  145. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  146. </textFieldCell>
  147. </textField>
  148. <popUpButton verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="9fT-vD-o2j">
  149. <rect key="frame" x="83" y="72" width="254" height="25"/>
  150. <popUpButtonCell key="cell" type="push" title="Item 1" bezelStyle="rounded" alignment="left" lineBreakMode="truncatingTail" state="on" borderStyle="borderAndBezel" imageScaling="proportionallyDown" inset="2" selectedItem="EDh-Zf-0aV" id="Zfc-vb-Ldc">
  151. <behavior key="behavior" lightByBackground="YES" lightByGray="YES"/>
  152. <font key="font" metaFont="menu"/>
  153. <menu key="menu" id="IZP-oW-2vi">
  154. <items>
  155. <menuItem title="Item 1" state="on" id="EDh-Zf-0aV"/>
  156. <menuItem title="Item 2" id="V92-kp-lhe"/>
  157. <menuItem title="Item 3" id="YcL-bB-wCt"/>
  158. </items>
  159. </menu>
  160. </popUpButtonCell>
  161. <connections>
  162. <action selector="buttonItemClick_Language:" target="-2" id="2Ju-VW-oTv"/>
  163. </connections>
  164. </popUpButton>
  165. <textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="rQn-eL-pyW">
  166. <rect key="frame" x="18" y="78" width="60" height="15"/>
  167. <constraints>
  168. <constraint firstAttribute="height" constant="15" id="WJ9-I7-tbx"/>
  169. </constraints>
  170. <textFieldCell key="cell" lineBreakMode="clipping" title="Language" id="bOV-kf-mIJ">
  171. <font key="font" metaFont="cellTitle"/>
  172. <color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
  173. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  174. </textFieldCell>
  175. </textField>
  176. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="upy-4H-SEZ">
  177. <rect key="frame" x="18" y="19" width="148" height="18"/>
  178. <buttonCell key="cell" type="check" title="Continuous Reading" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="d25-Vy-Zdu">
  179. <behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
  180. <font key="font" metaFont="system"/>
  181. </buttonCell>
  182. <connections>
  183. <action selector="buttonItemClick_Continue:" target="-2" id="8wd-1L-Qmw"/>
  184. </connections>
  185. </button>
  186. </subviews>
  187. <constraints>
  188. <constraint firstItem="nS9-Bi-nrK" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="20" id="0i5-Qy-pQv"/>
  189. <constraint firstItem="J22-av-VRD" firstAttribute="leading" secondItem="e4k-fY-QVV" secondAttribute="trailing" constant="70" id="0l5-ee-XAh"/>
  190. <constraint firstItem="iPi-uv-9TU" firstAttribute="top" secondItem="e4k-fY-QVV" secondAttribute="top" id="2vT-iX-agP"/>
  191. <constraint firstAttribute="bottom" secondItem="upy-4H-SEZ" secondAttribute="bottom" constant="20" id="3zh-1J-ru4"/>
  192. <constraint firstItem="9fT-vD-o2j" firstAttribute="top" secondItem="nS9-Bi-nrK" secondAttribute="bottom" constant="15" id="6I1-I0-WZA"/>
  193. <constraint firstItem="upy-4H-SEZ" firstAttribute="top" secondItem="kuF-Om-R8M" secondAttribute="bottom" constant="10" id="7Jr-Ow-9WM"/>
  194. <constraint firstItem="GzC-vA-NHb" firstAttribute="top" secondItem="9fT-vD-o2j" secondAttribute="bottom" constant="10" id="7Rq-mU-Lzk"/>
  195. <constraint firstItem="9fT-vD-o2j" firstAttribute="leading" secondItem="rQn-eL-pyW" secondAttribute="trailing" constant="10" id="AKE-VC-LbC"/>
  196. <constraint firstItem="DFJ-Ak-XZz" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="20" id="F75-a3-ihc"/>
  197. <constraint firstItem="J22-av-VRD" firstAttribute="centerX" secondItem="se5-gp-TjO" secondAttribute="centerX" id="OFG-7x-2uD"/>
  198. <constraint firstItem="GzC-vA-NHb" firstAttribute="centerY" secondItem="DFJ-Ak-XZz" secondAttribute="centerY" id="Ooo-k3-y2c"/>
  199. <constraint firstItem="e4k-fY-QVV" firstAttribute="top" secondItem="se5-gp-TjO" secondAttribute="top" constant="40" id="Oz7-WR-sgx"/>
  200. <constraint firstItem="iPi-uv-9TU" firstAttribute="leading" secondItem="J22-av-VRD" secondAttribute="trailing" constant="70" id="PmI-tB-UoK"/>
  201. <constraint firstItem="9fT-vD-o2j" firstAttribute="centerY" secondItem="rQn-eL-pyW" secondAttribute="centerY" id="PqP-A9-Ile"/>
  202. <constraint firstItem="GzC-vA-NHb" firstAttribute="leading" secondItem="kuF-Om-R8M" secondAttribute="trailing" constant="5" id="Tur-QR-UpG"/>
  203. <constraint firstItem="rQn-eL-pyW" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="20" id="WU1-N0-ihR"/>
  204. <constraint firstItem="nS9-Bi-nrK" firstAttribute="top" secondItem="e4k-fY-QVV" secondAttribute="bottom" constant="15" id="Wtd-Op-cFs"/>
  205. <constraint firstItem="kuF-Om-R8M" firstAttribute="leading" secondItem="DFJ-Ak-XZz" secondAttribute="trailing" constant="10" id="eZ5-HO-kUa"/>
  206. <constraint firstItem="rNV-Re-6ql" firstAttribute="leading" secondItem="GzC-vA-NHb" secondAttribute="trailing" constant="5" id="ftf-KQ-b6l"/>
  207. <constraint firstItem="upy-4H-SEZ" firstAttribute="leading" secondItem="se5-gp-TjO" secondAttribute="leading" constant="20" id="iTX-Ih-n14"/>
  208. <constraint firstItem="zCs-0F-iqc" firstAttribute="leading" secondItem="rNV-Re-6ql" secondAttribute="trailing" constant="2" id="kDv-Yj-zEI"/>
  209. <constraint firstAttribute="trailing" secondItem="nS9-Bi-nrK" secondAttribute="trailing" constant="20" id="pQh-va-Pjg"/>
  210. <constraint firstItem="GzC-vA-NHb" firstAttribute="centerY" secondItem="DFJ-Ak-XZz" secondAttribute="centerY" id="q95-01-Gya"/>
  211. <constraint firstAttribute="trailing" secondItem="9fT-vD-o2j" secondAttribute="trailing" constant="20" id="qdK-nl-QB4"/>
  212. <constraint firstItem="GzC-vA-NHb" firstAttribute="centerY" secondItem="kuF-Om-R8M" secondAttribute="centerY" id="r4R-Ps-N0D"/>
  213. <constraint firstItem="GzC-vA-NHb" firstAttribute="centerY" secondItem="zCs-0F-iqc" secondAttribute="centerY" id="rrd-VG-uF1"/>
  214. <constraint firstItem="J22-av-VRD" firstAttribute="top" secondItem="e4k-fY-QVV" secondAttribute="top" id="ry0-EP-b9Z"/>
  215. <constraint firstItem="J22-av-VRD" firstAttribute="bottom" secondItem="e4k-fY-QVV" secondAttribute="bottom" id="tSW-vg-ftW"/>
  216. <constraint firstItem="GzC-vA-NHb" firstAttribute="centerY" secondItem="rNV-Re-6ql" secondAttribute="centerY" id="tmn-cB-06s"/>
  217. <constraint firstItem="iPi-uv-9TU" firstAttribute="bottom" secondItem="e4k-fY-QVV" secondAttribute="bottom" id="uwP-Os-s7h"/>
  218. <constraint firstAttribute="trailing" secondItem="zCs-0F-iqc" secondAttribute="trailing" constant="15" id="yar-1h-EzA"/>
  219. </constraints>
  220. </view>
  221. <connections>
  222. <outlet property="delegate" destination="-2" id="0bl-1N-AYu"/>
  223. </connections>
  224. <point key="canvasLocation" x="141.5" y="161"/>
  225. </window>
  226. </objects>
  227. <resources>
  228. <image name="KMImageNameTTSForward" width="20" height="20"/>
  229. <image name="KMImageNameTTSNext" width="20" height="20"/>
  230. <image name="KMImageNameTTSStop" width="20" height="20"/>
  231. </resources>
  232. </document>