mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-14 01:12:31 +00:00
* Set password creator window title * Fix TODO, help url is read from Info.plist instead of a string literal * Remove width constraint for 'Set Defaults' button of password generator so text is not cropped * Improve keyboard shortcuts New entries can be created using cmd + n, while cmd + shift + n creates new groups. Creating new databases is probably done too rarely to warrant a keyboard shortcut. Additionally the 'New' menu item now has a submenu containing actions to create new entries, groups and databases (fixing #405). * Hook up keyboard shortcut cmd + backspace to delete action * Use shorter date format in inspector and add special output for distant future * Show date picker when expiration is activates for either groups or entries but no date set * Prompt for key file pops up automatically when the field is selected using tab * Focus title field when new groups are created (#606). * Rename search method so text fields don't capture it (#531) * Don't show empty tags * Remove menu item used for debugging.
162 lines
13 KiB
XML
162 lines
13 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="12121" systemVersion="16G29" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES">
|
|
<dependencies>
|
|
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="12121"/>
|
|
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
|
|
</dependencies>
|
|
<objects>
|
|
<customObject id="-2" userLabel="File's Owner" customClass="MPPasswordInputController">
|
|
<connections>
|
|
<outlet property="cancelButton" destination="2pb-ZG-spA" id="YrR-Yi-dnQ"/>
|
|
<outlet property="enablePasswordCheckBox" destination="d8O-Ha-rrS" id="2AI-e9-sph"/>
|
|
<outlet property="errorImageView" destination="262" id="294"/>
|
|
<outlet property="errorInfoTextField" destination="268" id="67b-K9-DZd"/>
|
|
<outlet property="keyPathControl" destination="241" id="261"/>
|
|
<outlet property="passwordTextField" destination="338" id="495"/>
|
|
<outlet property="togglePasswordButton" destination="408" id="493"/>
|
|
<outlet property="unlockButton" destination="2" id="ZRr-Ui-ExP"/>
|
|
<outlet property="view" destination="1" id="143"/>
|
|
</connections>
|
|
</customObject>
|
|
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
|
|
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
|
|
<customView horizontalCompressionResistancePriority="751" translatesAutoresizingMaskIntoConstraints="NO" id="1">
|
|
<rect key="frame" x="0.0" y="0.0" width="524" height="303"/>
|
|
<subviews>
|
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2">
|
|
<rect key="frame" x="318" y="64" width="83" height="32"/>
|
|
<buttonCell key="cell" type="push" title="Unlock" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="3">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
<string key="keyEquivalent" base64-UTF8="YES">
|
|
DQ
|
|
</string>
|
|
</buttonCell>
|
|
<connections>
|
|
<action selector="_submit:" target="-2" id="KZN-ap-nDc"/>
|
|
</connections>
|
|
</button>
|
|
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="17">
|
|
<rect key="frame" x="116" y="112" width="45" height="17"/>
|
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Keyfile" id="18">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
</textField>
|
|
<pathControl verticalHuggingPriority="750" allowsExpansionToolTips="YES" translatesAutoresizingMaskIntoConstraints="NO" id="241" customClass="MPPathControl">
|
|
<rect key="frame" x="164" y="108" width="197" height="26"/>
|
|
<pathCell key="cell" selectable="YES" editable="YES" alignment="left" pathStyle="popUp" id="242">
|
|
<font key="font" metaFont="system"/>
|
|
</pathCell>
|
|
<connections>
|
|
<outlet property="delegate" destination="MfG-kk-cQe" id="9pp-rr-g4V"/>
|
|
</connections>
|
|
</pathControl>
|
|
<imageView translatesAutoresizingMaskIntoConstraints="NO" id="262">
|
|
<rect key="frame" x="238" y="197" width="48" height="48"/>
|
|
<constraints>
|
|
<constraint firstAttribute="height" constant="48" id="273"/>
|
|
<constraint firstAttribute="width" constant="48" id="456"/>
|
|
</constraints>
|
|
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" imageScaling="proportionallyUpOrDown" image="02_MessageBoxWarningTemplate" id="263"/>
|
|
</imageView>
|
|
<textField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="268">
|
|
<rect key="frame" x="207" y="172" width="110" height="17"/>
|
|
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" title="Wrong password!" id="269">
|
|
<font key="font" metaFont="system"/>
|
|
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
|
|
</textFieldCell>
|
|
</textField>
|
|
<secureTextField verticalHuggingPriority="750" allowsCharacterPickerTouchBarItem="YES" translatesAutoresizingMaskIntoConstraints="NO" id="338" customClass="HNHUIRoundedSecureTextField">
|
|
<rect key="frame" x="167" y="140" width="191" height="24"/>
|
|
<constraints>
|
|
<constraint firstAttribute="width" constant="191" id="389"/>
|
|
</constraints>
|
|
<secureTextFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" placeholderString="Enter Password" drawsBackground="YES" usesSingleLineMode="YES" id="339">
|
|
<font key="font" size="13" name="Menlo-Regular"/>
|
|
<color key="textColor" name="textColor" catalog="System" colorSpace="catalog"/>
|
|
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
|
|
<allowedInputSourceLocales>
|
|
<string>NSAllRomanInputSourcesLocaleIdentifier</string>
|
|
</allowedInputSourceLocales>
|
|
</secureTextFieldCell>
|
|
</secureTextField>
|
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="408">
|
|
<rect key="frame" x="366" y="140" width="29" height="25"/>
|
|
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="NSQuickLookTemplate" imagePosition="only" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="409">
|
|
<behavior key="behavior" pushIn="YES" changeContents="YES" lightByContents="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
</buttonCell>
|
|
</button>
|
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="486">
|
|
<rect key="frame" x="366" y="107" width="29" height="25"/>
|
|
<buttonCell key="cell" type="roundTextured" bezelStyle="texturedRounded" image="NSStopProgressTemplate" imagePosition="only" alignment="center" state="on" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="487">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
</buttonCell>
|
|
<connections>
|
|
<action selector="resetKeyFile:" target="-2" id="2Zh-0g-L0i"/>
|
|
</connections>
|
|
</button>
|
|
<button translatesAutoresizingMaskIntoConstraints="NO" id="d8O-Ha-rrS">
|
|
<rect key="frame" x="80" y="143" width="81" height="18"/>
|
|
<buttonCell key="cell" type="check" title="Password" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="IU9-5u-jn9">
|
|
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
</buttonCell>
|
|
</button>
|
|
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="2pb-ZG-spA">
|
|
<rect key="frame" x="236" y="64" width="82" height="32"/>
|
|
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="erj-mR-UyO">
|
|
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
|
|
<font key="font" metaFont="system"/>
|
|
<string key="keyEquivalent" base64-UTF8="YES">
|
|
Gw
|
|
</string>
|
|
</buttonCell>
|
|
<connections>
|
|
<action selector="_submit:" target="-2" id="aVF-1d-1Hq"/>
|
|
</connections>
|
|
</button>
|
|
</subviews>
|
|
<constraints>
|
|
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="2" secondAttribute="bottom" constant="20" symbolic="YES" id="122"/>
|
|
<constraint firstItem="262" firstAttribute="top" relation="greaterThanOrEqual" secondItem="1" secondAttribute="top" constant="20" symbolic="YES" id="276"/>
|
|
<constraint firstAttribute="centerX" secondItem="262" secondAttribute="centerX" id="286"/>
|
|
<constraint firstAttribute="centerY" secondItem="338" secondAttribute="centerY" id="386"/>
|
|
<constraint firstItem="338" firstAttribute="top" secondItem="268" secondAttribute="bottom" constant="8" symbolic="YES" id="400"/>
|
|
<constraint firstItem="268" firstAttribute="top" secondItem="262" secondAttribute="bottom" constant="8" symbolic="YES" id="402"/>
|
|
<constraint firstItem="408" firstAttribute="top" secondItem="338" secondAttribute="top" id="411"/>
|
|
<constraint firstItem="268" firstAttribute="centerX" secondItem="338" secondAttribute="centerX" id="447"/>
|
|
<constraint firstItem="241" firstAttribute="leading" secondItem="338" secondAttribute="leading" id="454"/>
|
|
<constraint firstItem="241" firstAttribute="leading" secondItem="17" secondAttribute="trailing" constant="8" symbolic="YES" id="459"/>
|
|
<constraint firstItem="408" firstAttribute="leading" secondItem="338" secondAttribute="trailing" constant="8" symbolic="YES" id="462"/>
|
|
<constraint firstItem="241" firstAttribute="top" secondItem="338" secondAttribute="bottom" constant="8" symbolic="YES" id="476"/>
|
|
<constraint firstItem="17" firstAttribute="bottom" secondItem="241" secondAttribute="bottom" id="478"/>
|
|
<constraint firstAttribute="centerX" secondItem="338" secondAttribute="centerX" id="479"/>
|
|
<constraint firstItem="2" firstAttribute="top" secondItem="241" secondAttribute="bottom" constant="20" symbolic="YES" id="485"/>
|
|
<constraint firstItem="486" firstAttribute="baseline" secondItem="17" secondAttribute="baseline" id="488"/>
|
|
<constraint firstItem="486" firstAttribute="leading" secondItem="241" secondAttribute="trailing" constant="8" symbolic="YES" id="489"/>
|
|
<constraint firstItem="486" firstAttribute="leading" secondItem="408" secondAttribute="leading" id="490"/>
|
|
<constraint firstItem="408" firstAttribute="trailing" secondItem="486" secondAttribute="trailing" id="492"/>
|
|
<constraint firstItem="2" firstAttribute="trailing" secondItem="486" secondAttribute="trailing" id="496"/>
|
|
<constraint firstItem="408" firstAttribute="leading" secondItem="338" secondAttribute="trailing" constant="8" symbolic="YES" id="7qE-8F-QgB"/>
|
|
<constraint firstItem="2pb-ZG-spA" firstAttribute="baseline" secondItem="2" secondAttribute="baseline" id="9nK-MH-Ozs"/>
|
|
<constraint firstItem="338" firstAttribute="leading" secondItem="d8O-Ha-rrS" secondAttribute="trailing" constant="8" symbolic="YES" id="KYs-Ia-SVl"/>
|
|
<constraint firstItem="d8O-Ha-rrS" firstAttribute="centerY" secondItem="338" secondAttribute="centerY" id="kgB-jV-OGy"/>
|
|
<constraint firstItem="d8O-Ha-rrS" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="1" secondAttribute="leading" constant="20" symbolic="YES" id="vxq-YP-UhR"/>
|
|
<constraint firstItem="2" firstAttribute="leading" secondItem="2pb-ZG-spA" secondAttribute="trailing" constant="12" id="ytJ-5Z-5rT"/>
|
|
</constraints>
|
|
<point key="canvasLocation" x="-240" y="25"/>
|
|
</customView>
|
|
<customObject id="MfG-kk-cQe" customClass="MPKeyfilePathControlDelegate"/>
|
|
</objects>
|
|
<resources>
|
|
<image name="02_MessageBoxWarningTemplate" width="16" height="16"/>
|
|
<image name="NSQuickLookTemplate" width="19" height="12"/>
|
|
<image name="NSStopProgressTemplate" width="11" height="11"/>
|
|
</resources>
|
|
</document>
|