diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-28 11:36:30 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-28 11:36:30 +0000 |
commit | 87f5d0a9f91c49e9e4ae5f9411fc3a0e716911b1 (patch) | |
tree | 71f0532b6e0a751cdcf91c2c3321e840625bc2df /Source/CustomQuery.h | |
parent | 7053b1fe3330b469e79d0f0689b6a2af931fb665 (diff) | |
download | sequelpro-87f5d0a9f91c49e9e4ae5f9411fc3a0e716911b1.tar.gz sequelpro-87f5d0a9f91c49e9e4ae5f9411fc3a0e716911b1.tar.bz2 sequelpro-87f5d0a9f91c49e9e4ae5f9411fc3a0e716911b1.zip |
• Custom Query:
- added to History list "Replace Editor Content" (stored in the prefs) and a search field
- "Save ... to Favorites" menu title changes according to selection in the textView
Problem: How can we allow if the user hits RETURN in a search field (fav/history) to select the next menu item if any and to change the first responder to popup button menu list?
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r-- | Source/CustomQuery.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h index 522cdd0d..0e6d2bc6 100644 --- a/Source/CustomQuery.h +++ b/Source/CustomQuery.h @@ -42,9 +42,13 @@ IBOutlet id queryFavoritesButton; IBOutlet NSMenuItem *queryFavoritesSearchMenuItem; + IBOutlet NSMenuItem *queryFavoritesSaveAsMenuItem; IBOutlet id queryFavoritesSearchFieldView; IBOutlet NSSearchField *queryFavoritesSearchField; IBOutlet id queryHistoryButton; + IBOutlet NSMenuItem *queryHistorySearchMenuItem; + IBOutlet id queryHistorySearchFieldView; + IBOutlet NSSearchField *queryHistorySearchField; IBOutlet CMTextView *textView; IBOutlet CMCopyTable *customQueryView; @@ -128,6 +132,7 @@ - (IBAction)helpSelectHelpTargetPage:(id)sender; - (IBAction)helpSelectHelpTargetWeb:(id)sender; - (IBAction)filterQueryFavorites:(id)sender; +- (IBAction)filterQueryHistory:(id)sender; // Query actions - (void)performQueries:(NSArray *)queries; |