nextcloud-desktop/shell_integration/MacOSX/NextcloudIntegration/FileProviderUIExt/ShareOptionsWindow.xib
Claudio Cambra ecf4efd481 Replace ShareOptionsView with a ShareOptionsWindow
Signed-off-by: Claudio Cambra <claudio.cambra@nextcloud.com>
2024-04-17 16:11:50 +08:00

200 lines
18 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="22505" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none" useAutolayout="YES" customObjectInstantitationMethod="direct">
<dependencies>
<deployment identifier="macosx"/>
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="22505"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<customObject id="-2" userLabel="File's Owner"/>
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
<customObject id="-3" userLabel="Application" customClass="NSObject"/>
<window title="Shares" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" hidesOnDeactivate="YES" releasedWhenClosed="NO" visibleAtLaunch="NO" frameAutosaveName="" animationBehavior="default" titlebarAppearsTransparent="YES" id="kSS-bc-lT9" customClass="NSPanel">
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES" utility="YES"/>
<windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
<rect key="contentRect" x="167" y="110" width="286" height="276"/>
<rect key="screenRect" x="0.0" y="0.0" width="1680" height="1050"/>
<view key="contentView" id="bsd-xF-VYk">
<rect key="frame" x="0.0" y="0.0" width="286" height="276"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<stackView distribution="fill" orientation="vertical" alignment="leading" spacing="5" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="BjE-I3-38o">
<rect key="frame" x="10" y="10" width="266" height="256"/>
<subviews>
<textField focusRingType="none" horizontalHuggingPriority="251" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="DgC-mA-uQi">
<rect key="frame" x="-2" y="240" width="270" height="16"/>
<textFieldCell key="cell" lineBreakMode="clipping" alignment="center" title="Share link options" id="mKf-zH-xPo">
<font key="font" metaFont="systemBold"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="Eaf-oX-SWu">
<rect key="frame" x="0.0" y="213" width="266" height="22"/>
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" placeholderString="Share label" bezelStyle="round" id="SF9-px-YU2">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="57f-nl-C4g">
<rect key="frame" x="-2" y="191" width="175" height="18"/>
<buttonCell key="cell" type="check" title="Allow upload and editing" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="8kC-VT-tVQ">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="hC2-tD-b6z">
<rect key="frame" x="-2" y="170" width="117" height="18"/>
<buttonCell key="cell" type="check" title="Hide download" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="4Zb-hp-4rn">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="eGb-Jc-8Qt">
<rect key="frame" x="-2" y="149" width="132" height="18"/>
<buttonCell key="cell" type="check" title="Password protect" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="dem-Gk-anj">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<secureTextField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="9CY-h0-5jx">
<rect key="frame" x="0.0" y="123" width="266" height="22"/>
<secureTextFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" placeholderString="Password" usesSingleLineMode="YES" bezelStyle="round" id="Sxj-fq-aZB">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" 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="tGB-jg-Lxl">
<rect key="frame" x="-2" y="101" width="117" height="18"/>
<buttonCell key="cell" type="check" title="Expiration date" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="JgP-DW-P4W">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<datePicker verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="NNR-of-Jqf">
<rect key="frame" x="0.0" y="73" width="269" height="28"/>
<datePickerCell key="cell" borderStyle="bezel" alignment="left" useCurrentDate="YES" id="NgA-w1-KSV">
<font key="font" metaFont="system"/>
<date key="date" timeIntervalSinceReferenceDate="730806139.43757296">
<!--2024-02-28 09:42:19 +0000-->
</date>
<color key="backgroundColor" name="controlBackgroundColor" catalog="System" colorSpace="catalog"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
</datePickerCell>
</datePicker>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="BK7-MQ-9ZW">
<rect key="frame" x="-2" y="51" width="132" height="18"/>
<buttonCell key="cell" type="check" title="Note for recipient" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="GC7-rJ-Y3f">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<textField focusRingType="none" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="PKS-xx-9aC">
<rect key="frame" x="0.0" y="25" width="266" height="22"/>
<textFieldCell key="cell" selectable="YES" editable="YES" sendsActionOnEndEditing="YES" borderStyle="bezel" placeholderString="Note for the recipient" bezelStyle="round" id="IFf-t7-coN">
<font key="font" metaFont="system"/>
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/>
</textFieldCell>
</textField>
<stackView distribution="fillEqually" orientation="horizontal" alignment="bottom" horizontalStackHuggingPriority="249.99998474121094" verticalStackHuggingPriority="249.99998474121094" detachesHiddenViews="YES" translatesAutoresizingMaskIntoConstraints="NO" id="23m-em-bMu">
<rect key="frame" x="0.0" y="0.0" width="266" height="20"/>
<subviews>
<button horizontalHuggingPriority="249" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="lJA-AV-CKe">
<rect key="frame" x="-7" y="-7" width="97" height="32"/>
<buttonCell key="cell" type="push" title="Save" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="uVo-Lf-HCi">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="an2-jz-Bzl">
<rect key="frame" x="84" y="-7" width="98" height="32"/>
<buttonCell key="cell" type="push" title="Delete" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="T00-Zr-FW7">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
</button>
<button verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="CVl-sP-kz0">
<rect key="frame" x="176" y="-7" width="97" height="32"/>
<buttonCell key="cell" type="push" title="Cancel" bezelStyle="rounded" alignment="center" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="l3g-4f-IFM">
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/>
<font key="font" metaFont="system"/>
<string key="keyEquivalent" base64-UTF8="YES">
Gw
</string>
</buttonCell>
</button>
</subviews>
<visibilityPriorities>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
</visibilityPriorities>
<customSpacing>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
</customSpacing>
</stackView>
</subviews>
<constraints>
<constraint firstItem="Eaf-oX-SWu" firstAttribute="leading" secondItem="BjE-I3-38o" secondAttribute="leading" id="1SK-0g-Rc9"/>
<constraint firstItem="PKS-xx-9aC" firstAttribute="leading" secondItem="BjE-I3-38o" secondAttribute="leading" id="3ns-bk-WkD"/>
<constraint firstItem="NNR-of-Jqf" firstAttribute="leading" secondItem="BjE-I3-38o" secondAttribute="leading" id="5Et-KE-8h2"/>
<constraint firstAttribute="trailing" secondItem="9CY-h0-5jx" secondAttribute="trailing" id="DOE-gI-92V"/>
<constraint firstItem="DgC-mA-uQi" firstAttribute="top" secondItem="BjE-I3-38o" secondAttribute="top" id="HQl-WH-d2c"/>
<constraint firstItem="9CY-h0-5jx" firstAttribute="leading" secondItem="BjE-I3-38o" secondAttribute="leading" id="Lct-j5-PJg"/>
<constraint firstAttribute="trailing" secondItem="Eaf-oX-SWu" secondAttribute="trailing" id="UJn-DE-D2c"/>
<constraint firstAttribute="trailing" secondItem="NNR-of-Jqf" secondAttribute="trailing" id="V3Y-Mv-g1g"/>
<constraint firstAttribute="trailing" secondItem="DgC-mA-uQi" secondAttribute="trailing" id="drI-2K-CBQ"/>
<constraint firstAttribute="trailing" secondItem="23m-em-bMu" secondAttribute="trailing" id="dx3-Tc-hMQ"/>
<constraint firstItem="DgC-mA-uQi" firstAttribute="leading" secondItem="BjE-I3-38o" secondAttribute="leading" id="hWg-hd-1cY"/>
<constraint firstItem="23m-em-bMu" firstAttribute="leading" secondItem="BjE-I3-38o" secondAttribute="leading" id="iKe-bk-IuV"/>
<constraint firstAttribute="bottom" secondItem="23m-em-bMu" secondAttribute="bottom" id="x1i-8U-ClU"/>
<constraint firstAttribute="trailing" secondItem="PKS-xx-9aC" secondAttribute="trailing" id="yRq-2s-dre"/>
</constraints>
<visibilityPriorities>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
<integer value="1000"/>
</visibilityPriorities>
<customSpacing>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
<real value="3.4028234663852886e+38"/>
</customSpacing>
</stackView>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="BjE-I3-38o" secondAttribute="bottom" constant="10" id="73b-dp-Ijn"/>
<constraint firstAttribute="trailing" secondItem="BjE-I3-38o" secondAttribute="trailing" constant="10" id="Fb8-81-Yjv"/>
<constraint firstItem="BjE-I3-38o" firstAttribute="top" secondItem="bsd-xF-VYk" secondAttribute="top" constant="10" id="LJD-oI-9Zz"/>
<constraint firstItem="BjE-I3-38o" firstAttribute="leading" secondItem="bsd-xF-VYk" secondAttribute="leading" constant="10" id="aTG-Hd-gSJ"/>
</constraints>
</view>
<point key="canvasLocation" x="-36" y="-365"/>
</window>
</objects>
</document>