Archived
1

Added 'Save Artwork' toolbar button

This commit is contained in:
Kim Wittenburg
2015-09-15 13:43:18 +02:00
committed by Kim Wittenburg
parent 257a7811d6
commit 3a400037ff
9 changed files with 335 additions and 131 deletions

View File

@@ -675,19 +675,26 @@ CA
<action selector="performSave:" target="Oky-zY-oP4" id="9BZ-UY-ffJ"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="85CB266F-AF83-4345-A711-06F6A276F0AA" label="Remove" paletteLabel="Remove" tag="-1" image="Cross" id="RU6-wj-p8A">
<toolbarItem implicitItemIdentifier="0BAA5124-A8B4-49FB-8522-C426773E90C7" label="Save Artwork" paletteLabel="Save Artwork" tag="-1" image="SaveArtwork" id="PKp-tG-6Fu">
<connections>
<action selector="delete:" target="Oky-zY-oP4" id="SyO-WS-R4p"/>
<action selector="saveArtworks:" target="Oky-zY-oP4" id="Sdk-EP-Qhk"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="Bqq-8n-9JT"/>
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="uaV-9O-6iw"/>
<toolbarItem implicitItemIdentifier="E49F1F29-A83B-4580-B02C-D394E2FE36E6" label="Remove" paletteLabel="Remove" tag="-1" image="Cross" id="Fst-WO-GlQ">
<connections>
<action selector="removeSelectedItems:" target="Oky-zY-oP4" id="Uui-oo-jyX"/>
</connections>
</toolbarItem>
<toolbarItem implicitItemIdentifier="NSToolbarSpaceItem" id="Wck-Nn-UcZ"/>
<toolbarItem implicitItemIdentifier="NSToolbarFlexibleSpaceItem" id="HCz-XZ-F4F"/>
</allowedToolbarItems>
<defaultToolbarItems>
<toolbarItem reference="vfK-go-3oR"/>
<toolbarItem reference="Bqq-8n-9JT"/>
<toolbarItem reference="Wck-Nn-UcZ"/>
<toolbarItem reference="ax1-DR-t4v"/>
<toolbarItem reference="RU6-wj-p8A"/>
<toolbarItem reference="PKp-tG-6Fu"/>
<toolbarItem reference="Wck-Nn-UcZ"/>
<toolbarItem reference="Fst-WO-GlQ"/>
</defaultToolbarItems>
</toolbar>
</window>
@@ -757,9 +764,9 @@ CA
<autoresizingMask key="autoresizingMask"/>
<subviews>
<button translatesAutoresizingMaskIntoConstraints="NO" id="kl3-n8-T9b">
<rect key="frame" x="18" y="92" width="103" height="18"/>
<rect key="frame" x="18" y="92" width="188" height="18"/>
<animations/>
<buttonCell key="cell" type="check" title="Save Artwork" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="q2l-4t-mL0">
<buttonCell key="cell" type="check" title="Automatically Save Artwork" bezelStyle="regularSquare" imagePosition="left" state="on" inset="2" id="q2l-4t-mL0">
<behavior key="behavior" changeContents="YES" doesNotDimImage="YES" lightByContents="YES"/>
<font key="font" metaFont="system"/>
</buttonCell>
@@ -796,7 +803,7 @@ CA
<textField verticalHuggingPriority="750" horizontalCompressionResistancePriority="250" setsMaxLayoutWidthAtFirstLayout="YES" translatesAutoresizingMaskIntoConstraints="NO" id="QNf-Uy-bMT">
<rect key="frame" x="30" y="20" width="402" height="14"/>
<animations/>
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="If checked the search results are not removed if a result is added." id="Lnf-PQ-PX4">
<textFieldCell key="cell" controlSize="small" sendsActionOnEndEditing="YES" title="If checked the search results are not hidden if a result is added." id="Lnf-PQ-PX4">
<font key="font" metaFont="smallSystem"/>
<color key="textColor" name="labelColor" catalog="System" colorSpace="catalog"/>
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/>
@@ -810,7 +817,11 @@ CA
<url key="url" string="file:///Applications/"/>
</pathCell>
<connections>
<binding destination="aSx-iH-PLA" name="value" keyPath="sharedPreferences.artworkTarget" id="k2W-Kf-xpK"/>
<binding destination="aSx-iH-PLA" name="value" keyPath="sharedPreferences.artworkTarget" id="eFO-dQ-CMc">
<dictionary key="options">
<string key="NSNullPlaceholder">Choose an artwork directory…</string>
</dictionary>
</binding>
</connections>
</pathControl>
</subviews>
@@ -898,7 +909,7 @@ CA
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<tableView verticalHuggingPriority="750" allowsExpansionToolTips="YES" columnAutoresizingStyle="lastColumnOnly" alternatingRowBackgroundColors="YES" multipleSelection="NO" autosaveColumns="NO" rowHeight="21" rowSizeStyle="automatic" viewBased="YES" id="WCb-HH-YPh">
<rect key="frame" x="0.0" y="0.0" width="408" height="211"/>
<rect key="frame" x="0.0" y="0.0" width="408" height="0.0"/>
<autoresizingMask key="autoresizingMask"/>
<animations/>
<size key="intercellSpacing" width="3" height="2"/>
@@ -1138,5 +1149,6 @@ CA
<image name="Note" width="1024" height="1024"/>
<image name="PreferenceTags" width="730" height="730"/>
<image name="Save" width="1024" height="1024"/>
<image name="SaveArtwork" width="1024" height="1024"/>
</resources>
</document>