PasswordWindowController.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="17701" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
  3. <dependencies>
  4. <deployment identifier="macosx"/>
  5. <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="17701"/>
  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="PasswordWindowController">
  10. <connections>
  11. <outlet property="_cancelButton" destination="10" id="2Rq-Y5-VcA"/>
  12. <outlet property="_openButton" destination="9" id="AOP-hG-el8"/>
  13. <outlet property="_passwordTextField" destination="7" id="42"/>
  14. <outlet property="_textField" destination="8" id="Pcr-bw-2m1"/>
  15. <outlet property="_titleTextField" destination="45" id="55"/>
  16. <outlet property="window" destination="5" id="40"/>
  17. </connections>
  18. </customObject>
  19. <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
  20. <customObject id="-3" userLabel="Application" customClass="NSObject"/>
  21. <window title="PDFName.pdf" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" releasedWhenClosed="NO" visibleAtLaunch="NO" animationBehavior="default" id="5">
  22. <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" utility="YES"/>
  23. <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
  24. <rect key="contentRect" x="120" y="65" width="381" height="205"/>
  25. <rect key="screenRect" x="0.0" y="0.0" width="2560" height="1415"/>
  26. <view key="contentView" id="6">
  27. <rect key="frame" x="0.0" y="0.0" width="381" height="205"/>
  28. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  29. <subviews>
  30. <imageView translatesAutoresizingMaskIntoConstraints="NO" id="12">
  31. <rect key="frame" x="15" y="104" width="60" height="60"/>
  32. <constraints>
  33. <constraint firstAttribute="height" constant="60" id="AAa-Cu-TRE"/>
  34. <constraint firstAttribute="width" constant="60" id="T2H-T0-PF2"/>
  35. </constraints>
  36. <imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyUpOrDown" image="icon_lockfile" id="13"/>
  37. </imageView>
  38. <box verticalHuggingPriority="750" boxType="separator" translatesAutoresizingMaskIntoConstraints="NO" id="11">
  39. <rect key="frame" x="0.0" y="49" width="381" height="5"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="1" id="ZZq-vF-nGi"/>
  42. </constraints>
  43. </box>
  44. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="10">
  45. <rect key="frame" x="206" y="7" width="76" height="32"/>
  46. <buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="14">
  47. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  48. <font key="font" metaFont="system"/>
  49. <string key="keyEquivalent" base64-UTF8="YES">
  50. Gw
  51. </string>
  52. </buttonCell>
  53. <connections>
  54. <action selector="cancelAction:" target="-2" id="43"/>
  55. </connections>
  56. </button>
  57. <button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="9">
  58. <rect key="frame" x="300" y="7" width="67" height="32"/>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="20" id="Xf5-5t-kUy"/>
  61. </constraints>
  62. <buttonCell key="cell" type="push" title="Open" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="15">
  63. <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
  64. <font key="font" metaFont="system"/>
  65. <string key="keyEquivalent" base64-UTF8="YES">
  66. DQ
  67. </string>
  68. </buttonCell>
  69. <connections>
  70. <action selector="OKAction:" target="-2" id="44"/>
  71. </connections>
  72. </button>
  73. <secureTextField verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="7">
  74. <rect key="frame" x="124" y="80" width="199" height="22"/>
  75. <constraints>
  76. <constraint firstAttribute="width" constant="199" id="9Gd-ba-hvr"/>
  77. <constraint firstAttribute="height" constant="22" id="s2x-gL-cQh"/>
  78. </constraints>
  79. <secureTextFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" drawsBackground="YES" usesSingleLineMode="YES" id="17">
  80. <font key="font" metaFont="system"/>
  81. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  82. <color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
  83. <allowedInputSourceLocales>
  84. <string>NSAllRomanInputSourcesLocaleIdentifier</string>
  85. </allowedInputSourceLocales>
  86. </secureTextFieldCell>
  87. </secureTextField>
  88. <textField horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="45">
  89. <rect key="frame" x="89" y="161" width="278" height="16"/>
  90. <textFieldCell key="cell" lineBreakMode="charWrapping" sendsActionOnEndEditing="YES" alignment="center" title="Label" id="46">
  91. <font key="font" metaFont="system"/>
  92. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  93. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  94. </textFieldCell>
  95. </textField>
  96. <textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" translatesAutoresizingMaskIntoConstraints="NO" id="8">
  97. <rect key="frame" x="89" y="112" width="278" height="48"/>
  98. <constraints>
  99. <constraint firstAttribute="width" constant="274" id="tBH-cN-Iys"/>
  100. </constraints>
  101. <textFieldCell key="cell" sendsActionOnEndEditing="YES" alignment="center" title="This PDF is password protected. Please enter the password below to access this PDF." id="16">
  102. <font key="font" metaFont="system"/>
  103. <color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
  104. <color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
  105. </textFieldCell>
  106. </textField>
  107. </subviews>
  108. <constraints>
  109. <constraint firstItem="7" firstAttribute="top" secondItem="8" secondAttribute="bottom" constant="10" id="3nh-uS-Rgh"/>
  110. <constraint firstAttribute="bottom" secondItem="9" secondAttribute="bottom" constant="14" id="72E-00-nm8"/>
  111. <constraint firstItem="8" firstAttribute="trailing" secondItem="45" secondAttribute="trailing" id="DyV-Sk-dE2"/>
  112. <constraint firstItem="11" firstAttribute="leading" secondItem="6" secondAttribute="leading" id="E3K-1g-G6j"/>
  113. <constraint firstAttribute="trailing" secondItem="7" secondAttribute="trailing" constant="58" id="Jsx-Rh-DcP"/>
  114. <constraint firstItem="9" firstAttribute="top" secondItem="11" secondAttribute="bottom" constant="17" id="LGy-uv-Bgy"/>
  115. <constraint firstItem="8" firstAttribute="top" secondItem="45" secondAttribute="bottom" constant="1" id="M3A-Xs-tuP"/>
  116. <constraint firstAttribute="trailing" secondItem="9" secondAttribute="trailing" constant="21" id="NIT-Rl-zmd"/>
  117. <constraint firstAttribute="trailing" secondItem="11" secondAttribute="trailing" id="Ous-re-PEa"/>
  118. <constraint firstItem="12" firstAttribute="leading" secondItem="6" secondAttribute="leading" constant="15" id="Sy2-Pg-ved"/>
  119. <constraint firstItem="8" firstAttribute="leading" secondItem="12" secondAttribute="trailing" constant="16" id="dJj-F8-trs"/>
  120. <constraint firstAttribute="trailing" secondItem="8" secondAttribute="trailing" constant="16" id="iEo-Tw-TaD"/>
  121. <constraint firstItem="8" firstAttribute="leading" secondItem="45" secondAttribute="leading" id="iuR-Tv-XBg"/>
  122. <constraint firstItem="9" firstAttribute="centerY" secondItem="10" secondAttribute="centerY" id="ngn-xn-qC0"/>
  123. <constraint firstItem="12" firstAttribute="top" secondItem="6" secondAttribute="top" constant="41" id="obN-ML-8f7"/>
  124. <constraint firstItem="9" firstAttribute="leading" secondItem="10" secondAttribute="trailing" constant="32" id="qAm-Sy-wpl"/>
  125. <constraint firstItem="11" firstAttribute="top" secondItem="7" secondAttribute="bottom" constant="28" id="vEd-JE-D9G"/>
  126. </constraints>
  127. </view>
  128. <connections>
  129. <outlet property="delegate" destination="-2" id="41"/>
  130. </connections>
  131. <point key="canvasLocation" x="156.5" y="220.5"/>
  132. </window>
  133. </objects>
  134. <resources>
  135. <image name="icon_lockfile" width="40" height="44"/>
  136. </resources>
  137. </document>