diff options
author | ritsuka <[email protected]> | 2015-05-16 07:08:39 +0000 |
---|---|---|
committer | ritsuka <[email protected]> | 2015-05-16 07:08:39 +0000 |
commit | 5359f757b672db040780a76eeeea04ed2d3ef89c (patch) | |
tree | fa801e5ba2ede89176826b455a0b055ace4f1635 /macosx/English.lproj/Presets.xib | |
parent | 857e9d35752fc2ff1397d7a677a12b9aca82ec7f (diff) |
MacGui: allow exporting a preset folder. Add import/export menu item to the presets drawer too.
git-svn-id: svn://svn.handbrake.fr/HandBrake/trunk@7192 b64f7644-9d1e-0410-96f1-a4d463321fa5
Diffstat (limited to 'macosx/English.lproj/Presets.xib')
-rw-r--r-- | macosx/English.lproj/Presets.xib | 69 |
1 files changed, 40 insertions, 29 deletions
diff --git a/macosx/English.lproj/Presets.xib b/macosx/English.lproj/Presets.xib index 38c90619d..9d4573493 100644 --- a/macosx/English.lproj/Presets.xib +++ b/macosx/English.lproj/Presets.xib @@ -1,9 +1,8 @@ <?xml version="1.0" encoding="UTF-8" standalone="no"?> -<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7528.3" systemVersion="14D127a" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"> +<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="7702" systemVersion="14E17e" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"> <dependencies> - <deployment identifier="macosx"/> <development version="5100" identifier="xcode"/> - <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7528.3"/> + <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="7702"/> </dependencies> <objects> <customObject id="-2" userLabel="File's Owner" customClass="HBPresetsViewController"> @@ -82,6 +81,32 @@ </scroller> <accessibility description="Presets"/> </scrollView> + <button toolTip="Create a new preset based on the current settings." verticalHuggingPriority="750" id="kfi-wq-mgV"> + <rect key="frame" x="3" y="3" width="24" height="23"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="only" alignment="center" state="on" borderStyle="border" inset="3" id="OJ3-1k-3DY"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="systemBold"/> + </buttonCell> + <accessibility description="New Preset"/> + <connections> + <action selector="addNewPreset:" target="-2" id="TYV-vH-8hk"/> + <binding destination="-2" name="enabled" keyPath="self.enabled" id="lmV-Y3-JoF"/> + </connections> + </button> + <button toolTip="Delete the current selection" verticalHuggingPriority="750" id="b3V-8w-euU"> + <rect key="frame" x="26" y="3" width="24" height="23"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="only" alignment="left" borderStyle="border" inset="3" id="Kb1-6u-550"> + <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> + <font key="font" metaFont="systemBold"/> + </buttonCell> + <accessibility description="Delete"/> + <connections> + <action selector="deletePreset:" target="-2" id="b6N-h7-25y"/> + <binding destination="ohT-Pp-wBT" name="enabled" keyPath="canRemove" id="WNd-yX-UEH"/> + </connections> + </button> <popUpButton verticalHuggingPriority="750" id="Ybq-Zt-sta"> <rect key="frame" x="58" y="3" width="35" height="23"/> <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> @@ -102,6 +127,17 @@ </connections> </menuItem> <menuItem isSeparatorItem="YES" id="QaO-y0-sMc"/> + <menuItem title="Import…" id="LUl-ag-Iu6"> + <connections> + <action selector="importPreset:" target="-2" id="euB-YW-AdI"/> + </connections> + </menuItem> + <menuItem title="Export…" id="xEQ-Un-J0n"> + <connections> + <action selector="exportPreset:" target="-2" id="dDG-rM-14L"/> + </connections> + </menuItem> + <menuItem isSeparatorItem="YES" id="NEw-wC-h4v"/> <menuItem title="Update Built-in Presets" id="cm5-Kl-dB3"> <connections> <action selector="updateBuiltInPresets:" target="-2" id="rND-6g-LMP"/> @@ -112,33 +148,8 @@ </popUpButtonCell> <accessibility description="Additional Options"/> </popUpButton> - <button toolTip="Create a new preset based on the current settings." verticalHuggingPriority="750" id="kfi-wq-mgV"> - <rect key="frame" x="3" y="3" width="24" height="23"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> - <buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSAddTemplate" imagePosition="only" alignment="center" state="on" borderStyle="border" inset="3" id="OJ3-1k-3DY"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="systemBold"/> - </buttonCell> - <accessibility description="New Preset"/> - <connections> - <action selector="addNewPreset:" target="-2" id="TYV-vH-8hk"/> - <binding destination="-2" name="enabled" keyPath="self.enabled" id="lmV-Y3-JoF"/> - </connections> - </button> - <button toolTip="Delete the current selection" verticalHuggingPriority="750" id="b3V-8w-euU"> - <rect key="frame" x="26" y="3" width="24" height="23"/> - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> - <buttonCell key="cell" type="smallSquare" bezelStyle="smallSquare" image="NSRemoveTemplate" imagePosition="only" alignment="left" borderStyle="border" inset="3" id="Kb1-6u-550"> - <behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> - <font key="font" metaFont="systemBold"/> - </buttonCell> - <accessibility description="Delete"/> - <connections> - <action selector="deletePreset:" target="-2" id="b6N-h7-25y"/> - <binding destination="ohT-Pp-wBT" name="enabled" keyPath="canRemove" id="WNd-yX-UEH"/> - </connections> - </button> </subviews> + <point key="canvasLocation" x="58" y="345.5"/> </customView> <treeController objectClassName="HBPreset" childrenKeyPath="children" leafKeyPath="isLeaf" id="ohT-Pp-wBT"> <declaredKeys> |