diff options
author | Bibiko <bibiko@eva.mpg.de> | 2009-08-26 11:55:20 +0000 |
---|---|---|
committer | Bibiko <bibiko@eva.mpg.de> | 2009-08-26 11:55:20 +0000 |
commit | 07d42ca087e58f23f64f6cf9dfe212286b750e12 (patch) | |
tree | 66a3d2babe3db958bf781ea4dc6d917d70b59810 /Source/CustomQuery.h | |
parent | 6a8f423169cb76dec7e672ba8e34f5e5196f7283 (diff) | |
download | sequelpro-07d42ca087e58f23f64f6cf9dfe212286b750e12.tar.gz sequelpro-07d42ca087e58f23f64f6cf9dfe212286b750e12.tar.bz2 sequelpro-07d42ca087e58f23f64f6cf9dfe212286b750e12.zip |
• added to "Query Favorite" popup menu:
- "Replace Editor Content" check box menu item; if checked the chosen query will replace the editor's content if not it will insert it (setting will be saved in the prefs)
- Search Text Field to filter the list of names (by using a regular expressions)
- added a tooltip to each menu item displaying the query behind the name
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r-- | Source/CustomQuery.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h index eae2de5c..522cdd0d 100644 --- a/Source/CustomQuery.h +++ b/Source/CustomQuery.h @@ -39,8 +39,13 @@ { IBOutlet id tableDocumentInstance; IBOutlet id tableWindow; + IBOutlet id queryFavoritesButton; + IBOutlet NSMenuItem *queryFavoritesSearchMenuItem; + IBOutlet id queryFavoritesSearchFieldView; + IBOutlet NSSearchField *queryFavoritesSearchField; IBOutlet id queryHistoryButton; + IBOutlet CMTextView *textView; IBOutlet CMCopyTable *customQueryView; IBOutlet id errorText; @@ -122,6 +127,7 @@ - (IBAction)helpSelectHelpTargetMySQL:(id)sender; - (IBAction)helpSelectHelpTargetPage:(id)sender; - (IBAction)helpSelectHelpTargetWeb:(id)sender; +- (IBAction)filterQueryFavorites:(id)sender; // Query actions - (void)performQueries:(NSArray *)queries; |