aboutsummaryrefslogtreecommitdiffstats
path: root/Source/CustomQuery.h
diff options
context:
space:
mode:
authorstuconnolly <stuart02@gmail.com>2010-07-06 21:10:20 +0000
committerstuconnolly <stuart02@gmail.com>2010-07-06 21:10:20 +0000
commitd3d7ed84f9c56d83d4a92f6f1c40d1280502adad (patch)
treed4873f535caca1fec0c1af5f7491f78b5320ef33 /Source/CustomQuery.h
parentb5fa14109a046aee489d93e39897a30579df22f4 (diff)
downloadsequelpro-d3d7ed84f9c56d83d4a92f6f1c40d1280502adad.tar.gz
sequelpro-d3d7ed84f9c56d83d4a92f6f1c40d1280502adad.tar.bz2
sequelpro-d3d7ed84f9c56d83d4a92f6f1c40d1280502adad.zip
- Make the query info/error display collapsible.
- Add a 'gear menu' with the option to export the current result set as either CSV or XML. (Note, that the collapsiable view currently suffers from the same BWToolKit issue as the table information pane).
Diffstat (limited to 'Source/CustomQuery.h')
-rw-r--r--Source/CustomQuery.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/Source/CustomQuery.h b/Source/CustomQuery.h
index f4299db0..add6be7f 100644
--- a/Source/CustomQuery.h
+++ b/Source/CustomQuery.h
@@ -47,7 +47,7 @@
#define SP_HISTORY_SAVE_MENUITEM_TAG 300001
#define SP_HISTORY_CLEAR_MENUITEM_TAG 300002
-@class SPQueryFavoriteManager, SPDataStorage;
+@class SPQueryFavoriteManager, SPDataStorage, BWSplitView;
@interface CustomQuery : NSObject
{
@@ -107,6 +107,9 @@
IBOutlet NSSearchFieldCell *helpSearchFieldCell;
IBOutlet NSSegmentedControl *helpNavigator;
IBOutlet NSSegmentedControl *helpTargetSelector;
+
+ IBOutlet NSButton *queryInfoButton;
+ IBOutlet BWSplitView *queryInfoPaneSplitView;
SPQueryFavoriteManager *favoritesManager;
@@ -178,6 +181,7 @@
- (IBAction)copyQueryHistory:(id)sender;
- (IBAction)clearQueryHistory:(id)sender;
- (IBAction)showCompletionList:(id)sender;
+- (IBAction)toggleQueryInfoPaneCollapse:(id)sender;
// Query actions
- (void)performQueries:(NSArray *)queries withCallback:(SEL)customQueryCallbackMethod;