From e4272ce9fba25abc8b52f7e8240f14f589547ffb Mon Sep 17 00:00:00 2001 From: Bibiko Date: Tue, 4 Aug 2009 07:51:35 +0000 Subject: =?UTF-8?q?=E2=80=A2=20changed=20keyboard=20navigation=20-=20set?= =?UTF-8?q?=20focus=20to=20Table=20List=20filter=20field=20after=20selecti?= =?UTF-8?q?ng=20a=20database=20-=20TAB=20key=20in=20Table=20List=20filter?= =?UTF-8?q?=20field=20sets=20focus=20to=20Table=20List=20for=20selection/n?= =?UTF-8?q?avigation?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Interfaces/English.lproj/DBView.xib | 210 +++++++++++++++++++++++++++++++++--- Source/TableDocument.h | 2 + Source/TableDocument.m | 3 + 3 files changed, 202 insertions(+), 13 deletions(-) diff --git a/Interfaces/English.lproj/DBView.xib b/Interfaces/English.lproj/DBView.xib index 08b0e686..e3bddb97 100644 --- a/Interfaces/English.lproj/DBView.xib +++ b/Interfaces/English.lproj/DBView.xib @@ -8,6 +8,7 @@ 353.00 YES + @@ -47,7 +48,7 @@ {3.40282e+38, 3.40282e+38} {780, 480} - + 256 YES @@ -2242,8 +2243,8 @@ YES YES - . - , + , + . NO YES NO @@ -3101,7 +3102,7 @@ -2042609409 35 - + NSImage button_action @@ -3116,10 +3117,7 @@ 1048576 2147483647 - - NSImage - button_action - + _popUpItemAction: @@ -4553,6 +4551,7 @@ {944, 550} + {{0, 0}, {1920, 1178}} {780, 502} @@ -14714,6 +14713,22 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 6321 + + + nextKeyView + + + + 6322 + + + + listFilterField + + + + 6323 + @@ -23021,9 +23036,9 @@ IGRvIHlvdSB3YW50IHRvIGFkZCBmb3IgdGhpcyBmaWVsZD8 com.apple.InterfaceBuilder.CocoaPlugin com.apple.InterfaceBuilder.CocoaPlugin - {{60, 100}, {944, 550}} + {{147, -321}, {944, 550}} - {{60, 100}, {944, 550}} + {{147, -321}, {944, 550}} {{62, 352}, {845, 504}} @@ -23860,8 +23875,8 @@ Y2hhbmdlIHRoZSBvcmRlcg com.apple.InterfaceBuilder.CocoaPlugin - {{626, 273}, {411, 341}} - {{626, 273}, {411, 341}} + {{520, 273}, {411, 341}} + {{520, 273}, {411, 341}} {{321, 508}, {411, 341}} @@ -24000,7 +24015,7 @@ Y2hhbmdlIHRoZSBvcmRlcg - 6321 + 6323 @@ -25283,6 +25298,175 @@ Y2hhbmdlIHRoZSBvcmRlcg + + YES + + TableDocument + NSDocument + + YES + + YES + addConnectionToFavorites: + addDatabase: + analyzeTable: + checkTable: + checksumTable: + chooseDatabase: + chooseEncoding: + closeDatabaseSheet: + closeErrorConnectionSheet: + closeSheet: + copyCreateTableSyntax: + export: + exportMultipleTables: + exportTable: + flushPrivileges: + flushTable: + import: + optimizeTable: + removeDatabase: + repairTable: + saveServerVariables: + setDatabases: + showCreateTableSyntax: + showMySQLHelp: + showVariables: + viewContent: + viewQuery: + viewRelations: + viewStatus: + viewStructure: + + + YES + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + id + + + + YES + + YES + addDatabaseButton + chooseDatabaseButton + connectionErrorDialog + contentViewSplitter + createTableSyntaxWindow + customQueryInstance + customQueryTextView + databaseDataInstance + databaseEncodingButton + databaseNameField + databaseSheet + dbTablesTableView + extendedTableInfoInstance + favoritesButton + historyControl + listFilterField + queryProgressBar + saveVariablesButton + sidebarGrabber + spExportControllerInstance + spHistoryControllerInstance + syntaxView + syntaxViewContent + tableContentInstance + tableDataInstance + tableDumpInstance + tableInfoCollapseButton + tableInfoTable + tableListSplitter + tableRelationsInstance + tableSourceInstance + tableTabView + tableWindow + tablesListInstance + titleAccessoryView + titleImageView + titleStringView + variablesSearchField + variablesSheet + variablesTableView + + + YES + id + id + NSWindow + NSSplitView + NSWindow + id + NSTextView + id + id + id + id + NSTableView + id + id + id + NSSearchField + id + NSButton + id + id + id + id + id + id + id + id + NSButton + NSTableView + NSSplitView + id + id + NSTabView + id + id + id + id + id + NSSearchField + id + id + + + + IBDocumentRelativeSource + ../../Source/TableDocument.h + + + 0 ../../sequel-pro.xcodeproj diff --git a/Source/TableDocument.h b/Source/TableDocument.h index b3327198..29296e9b 100644 --- a/Source/TableDocument.h +++ b/Source/TableDocument.h @@ -49,6 +49,8 @@ IBOutlet id spHistoryControllerInstance; IBOutlet id spExportControllerInstance; + IBOutlet NSSearchField *listFilterField; + IBOutlet id tableWindow; IBOutlet id titleAccessoryView; diff --git a/Source/TableDocument.m b/Source/TableDocument.m index 77bc78d7..c2c41a13 100644 --- a/Source/TableDocument.m +++ b/Source/TableDocument.m @@ -430,6 +430,9 @@ // Add a history entry [spHistoryControllerInstance updateHistoryEntries]; + + // Set focus to table list filter field + [tableWindow makeFirstResponder:listFilterField]; } /** -- cgit v1.2.3