aboutsummaryrefslogtreecommitdiffstats
path: root/Interfaces
diff options
context:
space:
mode:
authorAbhi Beckert <abhi@abhibeckert.com>2016-03-18 16:48:10 +1000
committerAbhi Beckert <abhi@abhibeckert.com>2016-03-18 16:48:10 +1000
commit92ee758b8c2d75782ed4b83ac56068606ef5b27a (patch)
tree63960bc0d0a93230fbb9aa01e4a12be87f6926eb /Interfaces
parent3900082a2a4ecd102f7b541cad2fdc6d8212b111 (diff)
downloadsequelpro-92ee758b8c2d75782ed4b83ac56068606ef5b27a.tar.gz
sequelpro-92ee758b8c2d75782ed4b83ac56068606ef5b27a.tar.bz2
sequelpro-92ee758b8c2d75782ed4b83ac56068606ef5b27a.zip
#346 Work on new tab bar design
Diffstat (limited to 'Interfaces')
-rw-r--r--Interfaces/English.lproj/MainWindow.xib441
1 files changed, 49 insertions, 392 deletions
diff --git a/Interfaces/English.lproj/MainWindow.xib b/Interfaces/English.lproj/MainWindow.xib
index 6bd632c8..ed58bf1a 100644
--- a/Interfaces/English.lproj/MainWindow.xib
+++ b/Interfaces/English.lproj/MainWindow.xib
@@ -1,392 +1,49 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<archive type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="8.00">
- <data>
- <int key="IBDocument.SystemTarget">1060</int>
- <string key="IBDocument.SystemVersion">13F34</string>
- <string key="IBDocument.InterfaceBuilderVersion">6254</string>
- <string key="IBDocument.AppKitVersion">1265.21</string>
- <string key="IBDocument.HIToolboxVersion">698.00</string>
- <object class="NSMutableDictionary" key="IBDocument.PluginVersions">
- <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="NS.object.0">6254</string>
- </object>
- <array key="IBDocument.IntegratedClassDependencies">
- <string>NSCustomObject</string>
- <string>NSCustomView</string>
- <string>NSTabView</string>
- <string>NSView</string>
- <string>NSWindowTemplate</string>
- </array>
- <array key="IBDocument.PluginDependencies">
- <string>com.apple.InterfaceBuilder.CocoaPlugin</string>
- </array>
- <object class="NSMutableDictionary" key="IBDocument.Metadata">
- <string key="NS.key.0">PluginDependencyRecalculationVersion</string>
- <integer value="1" key="NS.object.0"/>
- </object>
- <array class="NSMutableArray" key="IBDocument.RootObjects" id="1000">
- <object class="NSCustomObject" id="1001">
- <string key="NSClassName">SPWindowController</string>
- </object>
- <object class="NSCustomObject" id="1003">
- <string key="NSClassName">FirstResponder</string>
- </object>
- <object class="NSCustomObject" id="1004">
- <string key="NSClassName">NSApplication</string>
- </object>
- <object class="NSWindowTemplate" id="1005">
- <int key="NSWindowStyleMask">15</int>
- <int key="NSWindowBacking">2</int>
- <string key="NSWindowRect">{{238, 168}, {948, 555}}</string>
- <int key="NSWTFlags">544735232</int>
- <string key="NSWindowTitle">Window</string>
- <string key="NSWindowClass">SPWindow</string>
- <nil key="NSViewClass"/>
- <nil key="NSUserInterfaceItemIdentifier"/>
- <string key="NSWindowContentMinSize">{800, 400}</string>
- <object class="NSView" key="NSWindowView" id="1006">
- <reference key="NSNextResponder"/>
- <int key="NSvFlags">256</int>
- <array class="NSMutableArray" key="NSSubviews">
- <object class="NSCustomView" id="1010102095">
- <reference key="NSNextResponder" ref="1006"/>
- <int key="NSvFlags">266</int>
- <string key="NSFrame">{{0, 533}, {948, 22}}</string>
- <reference key="NSSuperview" ref="1006"/>
- <reference key="NSWindow"/>
- <string key="NSClassName">PSMTabBarControl</string>
- </object>
- <object class="NSTabView" id="372524807">
- <reference key="NSNextResponder" ref="1006"/>
- <int key="NSvFlags">274</int>
- <string key="NSFrameSize">{948, 533}</string>
- <reference key="NSSuperview" ref="1006"/>
- <reference key="NSWindow"/>
- <array class="NSMutableArray" key="NSTabViewItems"/>
- <object class="NSFont" key="NSFont">
- <bool key="IBIsSystemFont">YES</bool>
- <double key="NSSize">13</double>
- <int key="NSfFlags">1044</int>
- </object>
- <int key="NSTvFlags">6</int>
- <bool key="NSAllowTruncatedLabels">YES</bool>
- </object>
- </array>
- <string key="NSFrameSize">{948, 555}</string>
- <reference key="NSSuperview"/>
- <reference key="NSWindow"/>
- </object>
- <string key="NSScreenRect">{{0, 0}, {1440, 878}}</string>
- <string key="NSMinSize">{705, 422}</string>
- <string key="NSMaxSize">{10000000000000, 10000000000000}</string>
- <bool key="NSWindowIsRestorable">YES</bool>
- </object>
- </array>
- <object class="IBObjectContainer" key="IBDocument.Objects">
- <bool key="usesAutoincrementingIDs">NO</bool>
- <array key="connectionRecords">
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">tabBar</string>
- <reference key="source" ref="1001"/>
- <reference key="destination" ref="1010102095"/>
- </object>
- <string key="id">13</string>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">tabView</string>
- <reference key="source" ref="1001"/>
- <reference key="destination" ref="372524807"/>
- </object>
- <string key="id">14</string>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">window</string>
- <reference key="source" ref="1001"/>
- <reference key="destination" ref="1005"/>
- </object>
- <string key="id">15</string>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">tabView</string>
- <reference key="source" ref="1010102095"/>
- <reference key="destination" ref="372524807"/>
- </object>
- <string key="id">9</string>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">partnerView</string>
- <reference key="source" ref="1010102095"/>
- <reference key="destination" ref="372524807"/>
- </object>
- <string key="id">10</string>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">delegate</string>
- <reference key="source" ref="1010102095"/>
- <reference key="destination" ref="1001"/>
- </object>
- <string key="id">12</string>
- </object>
- <object class="IBConnectionRecord">
- <object class="IBOutletConnection" key="connection">
- <string key="label">delegate</string>
- <reference key="source" ref="372524807"/>
- <reference key="destination" ref="1010102095"/>
- </object>
- <string key="id">16</string>
- </object>
- </array>
- <object class="IBMutableOrderedSet" key="objectRecords">
- <array key="orderedObjects">
- <object class="IBObjectRecord">
- <string key="id">0</string>
- <array key="object" id="0"/>
- <reference key="children" ref="1000"/>
- <nil key="parent"/>
- </object>
- <object class="IBObjectRecord">
- <string key="id">-2</string>
- <reference key="object" ref="1001"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">File's Owner</string>
- </object>
- <object class="IBObjectRecord">
- <string key="id">-1</string>
- <reference key="object" ref="1003"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">First Responder</string>
- </object>
- <object class="IBObjectRecord">
- <string key="id">-3</string>
- <reference key="object" ref="1004"/>
- <reference key="parent" ref="0"/>
- <string key="objectName">Application</string>
- </object>
- <object class="IBObjectRecord">
- <string key="id">1</string>
- <reference key="object" ref="1005"/>
- <array class="NSMutableArray" key="children">
- <reference ref="1006"/>
- </array>
- <reference key="parent" ref="0"/>
- </object>
- <object class="IBObjectRecord">
- <string key="id">2</string>
- <reference key="object" ref="1006"/>
- <array class="NSMutableArray" key="children">
- <reference ref="1010102095"/>
- <reference ref="372524807"/>
- </array>
- <reference key="parent" ref="1005"/>
- </object>
- <object class="IBObjectRecord">
- <string key="id">3</string>
- <reference key="object" ref="1010102095"/>
- <reference key="parent" ref="1006"/>
- </object>
- <object class="IBObjectRecord">
- <string key="id">4</string>
- <reference key="object" ref="372524807"/>
- <array class="NSMutableArray" key="children"/>
- <reference key="parent" ref="1006"/>
- </object>
- </array>
- </object>
- <dictionary class="NSMutableDictionary" key="flattenedProperties">
- <string key="-1.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="-2.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="-3.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="1.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="1.IBWindowTemplateEditedContentRect">{{54, 246}, {948, 555}}</string>
- <boolean value="NO" key="1.NSWindowTemplate.visibleAtLaunch"/>
- <string key="2.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="3.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- <string key="4.IBPluginDependency">com.apple.InterfaceBuilder.CocoaPlugin</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="unlocalizedProperties"/>
- <nil key="activeLocalization"/>
- <dictionary class="NSMutableDictionary" key="localizations"/>
- <nil key="sourceID"/>
- </object>
- <object class="IBClassDescriber" key="IBDocument.Classes">
- <array class="NSMutableArray" key="referencedPartialClassDescriptions">
- <object class="IBPartialClassDescription">
- <string key="className">PSMTabBarControl</string>
- <string key="superclassName">NSControl</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="delegate">id</string>
- <string key="partnerView">id</string>
- <string key="tabView">NSTabView</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="delegate">
- <string key="name">delegate</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo" key="partnerView">
- <string key="name">partnerView</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo" key="tabView">
- <string key="name">tabView</string>
- <string key="candidateClassName">NSTabView</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">../Frameworks/PSMTabBar/PSMTabBarControl.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">SPWindow</string>
- <string key="superclassName">NSWindow</string>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">../Source/SPWindow.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">SPWindowController</string>
- <string key="superclassName">NSWindowController</string>
- <dictionary class="NSMutableDictionary" key="actions">
- <string key="addNewConnection:">id</string>
- <string key="closeTab:">id</string>
- <string key="moveSelectedTabInNewWindow:">id</string>
- <string key="selectNextDocumentTab:">id</string>
- <string key="selectPreviousDocumentTab:">id</string>
- <string key="toggleTabBarShown:">id</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="actionInfosByName">
- <object class="IBActionInfo" key="addNewConnection:">
- <string key="name">addNewConnection:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="closeTab:">
- <string key="name">closeTab:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="moveSelectedTabInNewWindow:">
- <string key="name">moveSelectedTabInNewWindow:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="selectNextDocumentTab:">
- <string key="name">selectNextDocumentTab:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="selectPreviousDocumentTab:">
- <string key="name">selectPreviousDocumentTab:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="toggleTabBarShown:">
- <string key="name">toggleTabBarShown:</string>
- <string key="candidateClassName">id</string>
- </object>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="tabBar">PSMTabBarControl</string>
- <string key="tabView">NSTabView</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="tabBar">
- <string key="name">tabBar</string>
- <string key="candidateClassName">PSMTabBarControl</string>
- </object>
- <object class="IBToOneOutletInfo" key="tabView">
- <string key="name">tabView</string>
- <string key="candidateClassName">NSTabView</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">../Source/SPWindowController.h</string>
- </object>
- </object>
- <object class="IBPartialClassDescription">
- <string key="className">SPWindowController</string>
- <dictionary class="NSMutableDictionary" key="actions">
- <string key="addNewConnection:">id</string>
- <string key="closeTab:">id</string>
- <string key="moveSelectedTabInNewWindow:">id</string>
- <string key="selectNextDocumentTab:">id</string>
- <string key="selectPreviousDocumentTab:">id</string>
- <string key="toggleTabBarShown:">id</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="actionInfosByName">
- <object class="IBActionInfo" key="addNewConnection:">
- <string key="name">addNewConnection:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="closeTab:">
- <string key="name">closeTab:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="moveSelectedTabInNewWindow:">
- <string key="name">moveSelectedTabInNewWindow:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="selectNextDocumentTab:">
- <string key="name">selectNextDocumentTab:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="selectPreviousDocumentTab:">
- <string key="name">selectPreviousDocumentTab:</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBActionInfo" key="toggleTabBarShown:">
- <string key="name">toggleTabBarShown:</string>
- <string key="candidateClassName">id</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBProjectSource</string>
- <string key="minorKey">../Source/SPWindowController.m</string>
- </object>
- </object>
- </array>
- <array class="NSMutableArray" key="referencedPartialClassDescriptionsV3.2+">
- <object class="IBPartialClassDescription">
- <string key="className">PSMTabBarControl</string>
- <string key="superclassName">NSControl</string>
- <dictionary class="NSMutableDictionary" key="outlets">
- <string key="delegate">id</string>
- <string key="partnerView">id</string>
- <string key="tabView">NSTabView</string>
- </dictionary>
- <dictionary class="NSMutableDictionary" key="toOneOutletInfosByName">
- <object class="IBToOneOutletInfo" key="delegate">
- <string key="name">delegate</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo" key="partnerView">
- <string key="name">partnerView</string>
- <string key="candidateClassName">id</string>
- </object>
- <object class="IBToOneOutletInfo" key="tabView">
- <string key="name">tabView</string>
- <string key="candidateClassName">NSTabView</string>
- </object>
- </dictionary>
- <object class="IBClassDescriptionSource" key="sourceIdentifier">
- <string key="majorKey">IBFrameworkSource</string>
- <string key="minorKey">PSMTabBar.framework/Headers/PSMTabBarControl.h</string>
- </object>
- </object>
- </array>
- </object>
- <int key="IBDocument.localizationMode">0</int>
- <string key="IBDocument.TargetRuntimeIdentifier">IBCocoaFramework</string>
- <bool key="IBDocument.previouslyAttemptedUpgradeToXcode5">YES</bool>
- <object class="NSMutableDictionary" key="IBDocument.PluginDeclaredDevelopmentDependencies">
- <string key="NS.key.0">com.apple.InterfaceBuilder.CocoaPlugin.InterfaceBuilder3</string>
- <integer value="4600" key="NS.object.0"/>
- </object>
- <bool key="IBDocument.PluginDeclaredDependenciesTrackSystemTargetVersion">YES</bool>
- <int key="IBDocument.defaultPropertyAccessControl">3</int>
- </data>
-</archive>
+<?xml version="1.0" encoding="UTF-8" standalone="no"?>
+<document type="com.apple.InterfaceBuilder3.Cocoa.XIB" version="3.0" toolsVersion="9532" systemVersion="15D21" targetRuntime="MacOSX.Cocoa" propertyAccessControl="none">
+ <dependencies>
+ <deployment identifier="macosx"/>
+ <plugIn identifier="com.apple.InterfaceBuilder.CocoaPlugin" version="9532"/>
+ </dependencies>
+ <objects>
+ <customObject id="-2" userLabel="File's Owner" customClass="SPWindowController">
+ <connections>
+ <outlet property="tabBar" destination="3" id="13"/>
+ <outlet property="tabView" destination="4" id="14"/>
+ <outlet property="window" destination="1" id="15"/>
+ </connections>
+ </customObject>
+ <customObject id="-1" userLabel="First Responder" customClass="FirstResponder"/>
+ <customObject id="-3" userLabel="Application" customClass="NSObject"/>
+ <window title="Window" allowsToolTipsWhenApplicationIsInactive="NO" autorecalculatesKeyViewLoop="NO" oneShot="NO" visibleAtLaunch="NO" animationBehavior="default" id="1" customClass="SPWindow">
+ <windowStyleMask key="styleMask" titled="YES" closable="YES" miniaturizable="YES" resizable="YES"/>
+ <windowPositionMask key="initialPositionMask" leftStrut="YES" rightStrut="YES" topStrut="YES" bottomStrut="YES"/>
+ <rect key="contentRect" x="238" y="168" width="948" height="555"/>
+ <rect key="screenRect" x="0.0" y="0.0" width="1440" height="878"/>
+ <value key="minSize" type="size" width="800" height="400"/>
+ <view key="contentView" id="2">
+ <rect key="frame" x="0.0" y="0.0" width="948" height="555"/>
+ <autoresizingMask key="autoresizingMask"/>
+ <subviews>
+ <customView id="3" customClass="PSMTabBarControl">
+ <rect key="frame" x="0.0" y="521" width="948" height="34"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
+ <connections>
+ <outlet property="delegate" destination="-2" id="12"/>
+ <outlet property="partnerView" destination="4" id="10"/>
+ <outlet property="tabView" destination="4" id="9"/>
+ </connections>
+ </customView>
+ <tabView drawsBackground="NO" type="noTabsNoBorder" id="4">
+ <rect key="frame" x="0.0" y="0.0" width="948" height="521"/>
+ <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
+ <font key="font" metaFont="system"/>
+ <tabViewItems/>
+ <connections>
+ <outlet property="delegate" destination="3" id="16"/>
+ </connections>
+ </tabView>
+ </subviews>
+ </view>
+ </window>
+ </objects>
+</document>