IODBCProxy_SetupController.xib 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="15705" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
  3. <dependencies>
  4. <deployment version="1090" identifier="macosx"/>
  5. <development version="8000" identifier="xcode"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="15705"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <customObject id="-2" userLabel="File's Owner" customClass="IODBCProxy_SetupController">
  11. <connections>
  12. <outlet property="Attrs_ArrController" destination="460" id="476"/>
  13. <outlet property="btn_Add" destination="566" id="635"/>
  14. <outlet property="btn_Remove" destination="844" id="886"/>
  15. <outlet property="fld_Comment" destination="25" id="447"/>
  16. <outlet property="fld_DSN" destination="18" id="446"/>
  17. <outlet property="window" destination="1" id="3"/>
  18. </connections>
  19. </customObject>
  20. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  21. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  22. <window title="Generic ODBC Driver Setup" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="1">
  23. <windowStyleMask key="styleMask" titled="YES" closable="YES"/>
  24. <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
  25. <rect key="contentRect" x="196" y="240" width="425" height="440"/>
  26. <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1417"/>
  27. <view key="contentView" id="2">
  28. <rect key="frame" x="0.0" y="0.0" width="425" height="440"/>
  29. <autoresizingMask key="autoresizingMask"/>
  30. <subviews>
  31. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5">
  32. <rect key="frame" x="18" y="409" width="156" height="16"/>
  33. <constraints>
  34. <constraint firstAttribute="width" constant="152" id="9"/>
  35. </constraints>
  36. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Data Source Name (DSN)" id="6">
  37. <font key="font" metaFont="system"/>
  38. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  39. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  40. </textFieldCell>
  41. </textField>
  42. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="10">
  43. <rect key="frame" x="18" y="376" width="156" height="16"/>
  44. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Comment" id="12">
  45. <font key="font" metaFont="system"/>
  46. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  47. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  48. </textFieldCell>
  49. </textField>
  50. <textField verticalHuggingPriority="750" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="18">
  51. <rect key="frame" x="191" y="407" width="214" height="20"/>
  52. <constraints>
  53. <constraint firstAttribute="width" constant="214" id="23"/>
  54. </constraints>
  55. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="19">
  56. <font key="font" metaFont="system"/>
  57. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  58. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  59. </textFieldCell>
  60. </textField>
  61. <textField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="25">
  62. <rect key="frame" x="191" y="373" width="214" height="21"/>
  63. <textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="27">
  64. <font key="font" metaFont="system"/>
  65. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  66. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  67. </textFieldCell>
  68. </textField>
  69. <scrollView autohidesScrollers="YES" horizontalLineScroll="19" horizontalPageScroll="10" verticalLineScroll="19" verticalPageScroll="10" usesPredominantAxisScrolling="NO" translatesAutoresizingMaskIntoConstraints="NO" id="72">
  70. <rect key="frame" x="20" y="87" width="385" height="273"/>
  71. <clipView key="contentView" id="xEb-Xi-1Dc">
  72. <rect key="frame" x="1" y="0.0" width="383" height="272"/>
  73. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  74. <subviews>
  75. <tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="sequential" columnReordering="NO" columnSelection="YES" multipleSelection="NO" autosaveColumns="NO" headerView="75" id="73">
  76. <rect key="frame" x="0.0" y="0.0" width="383" height="247"/>
  77. <autoresizingMask key="autoresizingMask"/>
  78. <size key="intercellSpacing" width="3" height="2"/>
  79. <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
  80. <color key="gridColor" name="gridColor" catalog="System" colorSpace="catalog"/>
  81. <tableColumns>
  82. <tableColumn identifier="key" width="116" minWidth="40" maxWidth="1000" id="77">
  83. <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Keyword">
  84. <font key="font" metaFont="smallSystem"/>
  85. <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
  86. <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
  87. </tableHeaderCell>
  88. <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="80">
  89. <font key="font" metaFont="system"/>
  90. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  91. <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
  92. </textFieldCell>
  93. <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
  94. <connections>
  95. <binding destination="460" name="value" keyPath="arrangedObjects.key" id="470">
  96. <dictionary key="options">
  97. <integer key="NSConditionallySetsEditable" value="1"/>
  98. <string key="NSNullPlaceholder">...</string>
  99. </dictionary>
  100. </binding>
  101. </connections>
  102. </tableColumn>
  103. <tableColumn identifier="val" width="261" minWidth="40" maxWidth="1000" id="78">
  104. <tableHeaderCell key="headerCell" lineBreakMode="truncatingTail" borderStyle="border" alignment="left" title="Value">
  105. <font key="font" metaFont="smallSystem"/>
  106. <color key="textColor" name="headerTextColor" catalog="System" colorSpace="catalog"/>
  107. <color key="backgroundColor" white="0.33333298560000002" alpha="1" colorSpace="calibratedWhite"/>
  108. </tableHeaderCell>
  109. <textFieldCell key="dataCell" lineBreakMode="truncatingTail" selectable="YES" editable="YES" alignment="left" title="Text Cell" id="79">
  110. <font key="font" metaFont="system"/>
  111. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  112. <color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
  113. </textFieldCell>
  114. <tableColumnResizingMask key="resizingMask" resizeWithTable="YES" userResizable="YES"/>
  115. <connections>
  116. <binding destination="460" name="value" keyPath="arrangedObjects.val" id="474">
  117. <dictionary key="options">
  118. <integer key="NSConditionallySetsEditable" value="1"/>
  119. <string key="NSNullPlaceholder">...</string>
  120. </dictionary>
  121. </binding>
  122. </connections>
  123. </tableColumn>
  124. </tableColumns>
  125. </tableView>
  126. </subviews>
  127. </clipView>
  128. <scroller key="horizontalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="YES" id="74">
  129. <rect key="frame" x="1" y="119" width="223" height="15"/>
  130. <autoresizingMask key="autoresizingMask"/>
  131. </scroller>
  132. <scroller key="verticalScroller" hidden="YES" verticalHuggingPriority="750" horizontal="NO" id="76">
  133. <rect key="frame" x="224" y="17" width="15" height="102"/>
  134. <autoresizingMask key="autoresizingMask"/>
  135. </scroller>
  136. <tableHeaderView key="headerView" id="75">
  137. <rect key="frame" x="0.0" y="0.0" width="383" height="25"/>
  138. <autoresizingMask key="autoresizingMask"/>
  139. </tableHeaderView>
  140. </scrollView>
  141. <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="385">
  142. <rect key="frame" x="0.0" y="48" width="425" height="5"/>
  143. </box>
  144. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="394">
  145. <rect key="frame" x="237" y="8" width="82" height="32"/>
  146. <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="395">
  147. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  148. <font key="font" metaFont="system"/>
  149. <string key="keyEquivalent" base64-UTF8="YES">
  150. Gw
  151. </string>
  152. </buttonCell>
  153. <connections>
  154. <action selector="call_Cancel:" target="-2" id="452"/>
  155. </connections>
  156. </button>
  157. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="398">
  158. <rect key="frame" x="321" y="9" width="82" height="32"/>
  159. <buttonCell key="cell" type="push" title="Ok" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="399">
  160. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  161. <font key="font" metaFont="system"/>
  162. <string key="keyEquivalent" base64-UTF8="YES">
  163. DQ
  164. </string>
  165. </buttonCell>
  166. <connections>
  167. <action selector="call_Ok:" target="-2" id="453"/>
  168. </connections>
  169. </button>
  170. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="566">
  171. <rect key="frame" x="20" y="56" width="30" height="32"/>
  172. <constraints>
  173. <constraint firstAttribute="width" constant="30" id="588"/>
  174. <constraint firstAttribute="height" constant="30" id="618"/>
  175. </constraints>
  176. <buttonCell key="cell" type="smallSquare" title="+" bezelStyle="smallSquare" imagePosition="overlaps" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="567">
  177. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  178. <font key="font" metaFont="system" size="25"/>
  179. </buttonCell>
  180. <connections>
  181. <action selector="add:" target="460" id="633"/>
  182. </connections>
  183. </button>
  184. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="844">
  185. <rect key="frame" x="50" y="56" width="30" height="32"/>
  186. <constraints>
  187. <constraint firstAttribute="width" constant="30" id="845"/>
  188. </constraints>
  189. <buttonCell key="cell" type="smallSquare" title="-" bezelStyle="smallSquare" imagePosition="overlaps" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="847">
  190. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  191. <font key="font" metaFont="system" size="25"/>
  192. </buttonCell>
  193. <connections>
  194. <action selector="remove:" target="460" id="875"/>
  195. <binding destination="460" name="enabled" keyPath="selection.key" id="MIN-C7-2Gg">
  196. <dictionary key="options">
  197. <integer key="NSMultipleValuesPlaceholder" value="0"/>
  198. <integer key="NSNoSelectionPlaceholder" value="0"/>
  199. <integer key="NSNotApplicablePlaceholder" value="0"/>
  200. <integer key="NSNullPlaceholder" value="0"/>
  201. <string key="NSValueTransformerName">NSIsNotNil</string>
  202. </dictionary>
  203. </binding>
  204. </connections>
  205. </button>
  206. </subviews>
  207. <constraints>
  208. <constraint firstItem="10" firstAttribute="leading" secondItem="5" secondAttribute="leading" id="16"/>
  209. <constraint firstItem="10" firstAttribute="trailing" secondItem="5" secondAttribute="trailing" id="17"/>
  210. <constraint firstItem="18" firstAttribute="centerY" secondItem="5" secondAttribute="centerY" id="21"/>
  211. <constraint firstItem="10" firstAttribute="centerY" secondItem="25" secondAttribute="centerY" id="33"/>
  212. <constraint firstItem="25" firstAttribute="leading" secondItem="18" secondAttribute="leading" id="34"/>
  213. <constraint firstItem="25" firstAttribute="trailing" secondItem="18" secondAttribute="trailing" id="35"/>
  214. <constraint firstItem="25" firstAttribute="top" secondItem="2" secondAttribute="top" constant="46" id="70"/>
  215. <constraint firstItem="18" firstAttribute="top" secondItem="2" secondAttribute="top" constant="13" id="71"/>
  216. <constraint firstItem="72" firstAttribute="leading" secondItem="10" secondAttribute="leading" id="81"/>
  217. <constraint firstAttribute="trailing" secondItem="72" secondAttribute="trailing" constant="20" id="84"/>
  218. <constraint firstAttribute="trailing" secondItem="385" secondAttribute="trailing" id="387"/>
  219. <constraint firstItem="385" firstAttribute="leading" secondItem="2" secondAttribute="leading" id="388"/>
  220. <constraint firstItem="385" firstAttribute="centerX" secondItem="72" secondAttribute="centerX" id="392"/>
  221. <constraint firstAttribute="bottom" secondItem="394" secondAttribute="bottom" constant="15" id="396"/>
  222. <constraint firstAttribute="bottom" secondItem="398" secondAttribute="bottom" constant="16" id="415"/>
  223. <constraint firstAttribute="trailing" secondItem="398" secondAttribute="trailing" constant="28" id="426"/>
  224. <constraint firstAttribute="trailing" secondItem="394" secondAttribute="trailing" constant="112" id="442"/>
  225. <constraint firstItem="394" firstAttribute="width" secondItem="398" secondAttribute="width" id="443"/>
  226. <constraint firstItem="5" firstAttribute="top" secondItem="2" secondAttribute="top" constant="15" id="444"/>
  227. <constraint firstItem="5" firstAttribute="leading" secondItem="2" secondAttribute="leading" constant="20" id="445"/>
  228. <constraint firstItem="25" firstAttribute="trailing" secondItem="72" secondAttribute="trailing" id="634"/>
  229. <constraint firstItem="72" firstAttribute="top" secondItem="2" secondAttribute="top" constant="80" id="843"/>
  230. <constraint firstAttribute="bottom" secondItem="72" secondAttribute="bottom" constant="87" id="855"/>
  231. <constraint firstAttribute="bottom" secondItem="385" secondAttribute="bottom" constant="50" id="858"/>
  232. <constraint firstItem="566" firstAttribute="leading" secondItem="2" secondAttribute="leading" constant="20" symbolic="YES" id="867"/>
  233. <constraint firstItem="566" firstAttribute="baseline" secondItem="844" secondAttribute="baseline" id="868"/>
  234. <constraint firstItem="566" firstAttribute="top" secondItem="844" secondAttribute="top" id="869"/>
  235. <constraint firstAttribute="bottom" secondItem="566" secondAttribute="bottom" constant="57" id="870"/>
  236. <constraint firstItem="844" firstAttribute="leading" secondItem="2" secondAttribute="leading" constant="50" id="874"/>
  237. </constraints>
  238. </view>
  239. <connections>
  240. <outlet property="delegate" destination="-2" id="4"/>
  241. </connections>
  242. <point key="canvasLocation" x="140" y="147"/>
  243. </window>
  244. <arrayController preservesSelection="NO" id="460" userLabel="Attrs Array Controller">
  245. <declaredKeys>
  246. <string>key</string>
  247. <string>val</string>
  248. </declaredKeys>
  249. <connections>
  250. <binding destination="-2" name="contentArray" keyPath="Attrs_list" id="j94-Zc-wfO"/>
  251. </connections>
  252. </arrayController>
  253. </objects>
  254. </document>