forked from jjgod/mac-dictionary-kit
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
16 changed files
with
308 additions
and
1,884 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,3 +2,4 @@ | |
*.perspectivev3 | ||
zh_CN.lproj/MainMenu.xib | ||
build/ | ||
xcuserdata |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,199 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none"> | ||
<dependencies> | ||
<plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="14313.18"/> | ||
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> | ||
</dependencies> | ||
<objects> | ||
<customObject id="-2" userLabel="File's Owner" customClass="NSApplication"/> | ||
<customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/> | ||
<customObject id="-3" userLabel="Application" customClass="NSObject"> | ||
<connections> | ||
<outlet property="delegate" destination="373" id="374"/> | ||
</connections> | ||
</customObject> | ||
<menu title="AMainMenu" systemMenu="main" id="29" userLabel="MainMenu"> | ||
<items> | ||
<menuItem title="DictUnifier" id="56"> | ||
<menu key="submenu" title="DictUnifier" systemMenu="apple" id="57"> | ||
<items> | ||
<menuItem title="About DictUnifier" id="58"> | ||
<modifierMask key="keyEquivalentModifierMask"/> | ||
<connections> | ||
<action selector="orderFrontStandardAboutPanel:" target="-2" id="142"/> | ||
</connections> | ||
</menuItem> | ||
<menuItem isSeparatorItem="YES" id="236"> | ||
<modifierMask key="keyEquivalentModifierMask" command="YES"/> | ||
</menuItem> | ||
<menuItem title="Preferences…" keyEquivalent="," id="129" userLabel="121"/> | ||
<menuItem isSeparatorItem="YES" id="143"> | ||
<modifierMask key="keyEquivalentModifierMask" command="YES"/> | ||
</menuItem> | ||
<menuItem title="Services" id="131"> | ||
<menu key="submenu" title="Services" systemMenu="services" id="130"/> | ||
</menuItem> | ||
<menuItem isSeparatorItem="YES" id="144"> | ||
<modifierMask key="keyEquivalentModifierMask" command="YES"/> | ||
</menuItem> | ||
<menuItem title="Hide DictUnifier" keyEquivalent="h" id="134"> | ||
<connections> | ||
<action selector="hide:" target="-1" id="367"/> | ||
</connections> | ||
</menuItem> | ||
<menuItem title="Hide Others" keyEquivalent="h" id="145"> | ||
<modifierMask key="keyEquivalentModifierMask" option="YES" command="YES"/> | ||
<connections> | ||
<action selector="hideOtherApplications:" target="-1" id="368"/> | ||
</connections> | ||
</menuItem> | ||
<menuItem title="Show All" id="150"> | ||
<connections> | ||
<action selector="unhideAllApplications:" target="-1" id="370"/> | ||
</connections> | ||
</menuItem> | ||
<menuItem isSeparatorItem="YES" id="149"> | ||
<modifierMask key="keyEquivalentModifierMask" command="YES"/> | ||
</menuItem> | ||
<menuItem title="Quit DictUnifier" keyEquivalent="q" id="136" userLabel="1111"> | ||
<connections> | ||
<action selector="terminate:" target="-1" id="369"/> | ||
</connections> | ||
</menuItem> | ||
</items> | ||
</menu> | ||
</menuItem> | ||
<menuItem title="File" id="83"> | ||
<menu key="submenu" title="File" id="81"> | ||
<items> | ||
<menuItem title="Open…" keyEquivalent="o" id="72"/> | ||
<menuItem title="Open Recent" id="124"> | ||
<menu key="submenu" title="Open Recent" systemMenu="recentDocuments" id="125"> | ||
<items> | ||
<menuItem title="Clear Menu" id="126"> | ||
<connections> | ||
<action selector="clearRecentDocuments:" target="-1" id="127"/> | ||
</connections> | ||
</menuItem> | ||
</items> | ||
</menu> | ||
</menuItem> | ||
<menuItem isSeparatorItem="YES" id="79" userLabel="7"> | ||
<modifierMask key="keyEquivalentModifierMask" command="YES"/> | ||
</menuItem> | ||
<menuItem title="Close" keyEquivalent="w" id="73" userLabel="1"> | ||
<connections> | ||
<action selector="performClose:" target="-1" id="193"/> | ||
</connections> | ||
</menuItem> | ||
</items> | ||
</menu> | ||
</menuItem> | ||
<menuItem title="Window" id="19"> | ||
<menu key="submenu" title="Window" systemMenu="window" id="24"> | ||
<items> | ||
<menuItem title="Minimize" keyEquivalent="m" id="23"> | ||
<connections> | ||
<action selector="performMiniaturize:" target="-1" id="37"/> | ||
</connections> | ||
</menuItem> | ||
<menuItem title="Zoom" id="239"> | ||
<connections> | ||
<action selector="performZoom:" target="-1" id="240"/> | ||
</connections> | ||
</menuItem> | ||
<menuItem isSeparatorItem="YES" id="92"> | ||
<modifierMask key="keyEquivalentModifierMask" command="YES"/> | ||
</menuItem> | ||
<menuItem title="Bring All to Front" id="5"> | ||
<connections> | ||
<action selector="arrangeInFront:" target="-1" id="39"/> | ||
</connections> | ||
</menuItem> | ||
</items> | ||
</menu> | ||
</menuItem> | ||
<menuItem title="Help" id="103" userLabel="1"> | ||
<menu key="submenu" title="Help" id="106" userLabel="2"> | ||
<items> | ||
<menuItem title="DictUnifier Help" keyEquivalent="?" id="111"> | ||
<connections> | ||
<action selector="showHelp:" target="-1" id="360"/> | ||
</connections> | ||
</menuItem> | ||
</items> | ||
</menu> | ||
</menuItem> | ||
</items> | ||
</menu> | ||
<window title="DictUnifier" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" releasedWhenClosed="NO" animationBehavior="default" id="371" customClass="DUWindow"> | ||
<windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES"/> | ||
<windowPositionMask key="initialPositionMask" leftStrut="YES" bottomStrut="YES"/> | ||
<rect key="contentRect" x="335" y="613" width="358" height="137"/> | ||
<rect key="screenRect" x="0.0" y="0.0" width="1440" height="878"/> | ||
<view key="contentView" id="372"> | ||
<rect key="frame" x="0.0" y="0.0" width="358" height="137"/> | ||
<autoresizingMask key="autoresizingMask"/> | ||
<subviews> | ||
<textField hidden="YES" verticalHuggingPriority="750" id="457"> | ||
<rect key="frame" x="65" y="86" width="225" height="19"/> | ||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> | ||
<textFieldCell key="cell" controlSize="small" scrollable="YES" lineBreakMode="clipping" selectable="YES" editable="YES" enabled="NO" sendsActionOnEndEditing="YES" state="on" borderStyle="bezel" drawsBackground="YES" id="458"> | ||
<font key="font" metaFont="smallSystem"/> | ||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> | ||
<color key="backgroundColor" name="textBackgroundColor" catalog="System" colorSpace="catalog"/> | ||
</textFieldCell> | ||
</textField> | ||
<imageView id="459" customClass="DUImageView"> | ||
<rect key="frame" x="142" y="46" width="72" height="72"/> | ||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> | ||
<imageCell key="cell" refusesFirstResponder="YES" alignment="left" image="dropper.png" id="460"/> | ||
<connections> | ||
<outlet property="controller" destination="373" id="467"/> | ||
</connections> | ||
</imageView> | ||
<textField verticalHuggingPriority="750" id="461"> | ||
<rect key="frame" x="18" y="20" width="323" height="17"/> | ||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> | ||
<textFieldCell key="cell" scrollable="YES" lineBreakMode="clipping" sendsActionOnEndEditing="YES" alignment="center" title="Drop a dictionary file to convert" id="462"> | ||
<font key="font" metaFont="systemBold"/> | ||
<color key="textColor" name="controlTextColor" catalog="System" colorSpace="catalog"/> | ||
<color key="backgroundColor" name="controlColor" catalog="System" colorSpace="catalog"/> | ||
</textFieldCell> | ||
</textField> | ||
<progressIndicator hidden="YES" wantsLayer="YES" verticalHuggingPriority="750" maxValue="100" bezeled="NO" style="bar" id="468"> | ||
<rect key="frame" x="16" y="84" width="322" height="20"/> | ||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> | ||
</progressIndicator> | ||
<button hidden="YES" verticalHuggingPriority="750" imageHugsTitle="YES" id="470"> | ||
<rect key="frame" x="138" y="45" width="80" height="28"/> | ||
<autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMinY="YES"/> | ||
<buttonCell key="cell" type="push" title="Start" bezelStyle="rounded" alignment="center" controlSize="small" borderStyle="border" imageScaling="proportionallyDown" inset="2" id="471"> | ||
<behavior key="behavior" pushIn="YES" lightByBackground="YES" lightByGray="YES"/> | ||
<font key="font" metaFont="smallSystem"/> | ||
</buttonCell> | ||
<connections> | ||
<action selector="startBuilding:" target="373" id="474"/> | ||
</connections> | ||
</button> | ||
</subviews> | ||
</view> | ||
<connections> | ||
<outlet property="controller" destination="373" id="466"/> | ||
</connections> | ||
</window> | ||
<customObject id="373" userLabel="DictUnifierAppDelegate" customClass="DictUnifierAppDelegate"> | ||
<connections> | ||
<outlet property="button" destination="470" id="473"/> | ||
<outlet property="dropper" destination="459" id="463"/> | ||
<outlet property="label" destination="461" id="464"/> | ||
<outlet property="nameField" destination="457" id="465"/> | ||
<outlet property="progressBar" destination="468" id="469"/> | ||
</connections> | ||
</customObject> | ||
<customObject id="420" customClass="NSFontManager"/> | ||
</objects> | ||
<resources> | ||
<image name="dropper.png" width="128" height="128"/> | ||
</resources> | ||
</document> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.