aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2009-08-26 11:55:20 +0000
committerBibiko <bibiko@eva.mpg.de>2009-08-26 11:55:20 +0000
commit07d42ca087e58f23f64f6cf9dfe212286b750e12 (patch)
tree66a3d2babe3db958bf781ea4dc6d917d70b59810 /Source/CustomQuery.h
parent6a8f423169cb76dec7e672ba8e34f5e5196f7283 (diff)
downloadsequelpro-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.h6
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;