aboutsummaryrefslogtreecommitdiffstats
path: root/Source/SPTableContent.h
diff options
context:
space:
mode:
authorBibiko <bibiko@eva.mpg.de>2010-09-28 11:57:26 +0000
committerBibiko <bibiko@eva.mpg.de>2010-09-28 11:57:26 +0000
commit8516506a682a8218727fcab92266b5ce0177dcd3 (patch)
treef6e7eb64e55df7988ae17c151ce0708ea7a93002 /Source/SPTableContent.h
parent6d5b9ce9387a093b7e6889c944cfa7af33a707df (diff)
downloadsequelpro-8516506a682a8218727fcab92266b5ce0177dcd3.tar.gz
sequelpro-8516506a682a8218727fcab92266b5ce0177dcd3.tar.bz2
sequelpro-8516506a682a8218727fcab92266b5ce0177dcd3.zip
• some progress on the filter table approach
Diffstat (limited to 'Source/SPTableContent.h')
-rw-r--r--Source/SPTableContent.h15
1 files changed, 14 insertions, 1 deletions
diff --git a/Source/SPTableContent.h b/Source/SPTableContent.h
index fca3fdae..e6d41ca9 100644
--- a/Source/SPTableContent.h
+++ b/Source/SPTableContent.h
@@ -71,6 +71,9 @@
IBOutlet NSButton *filterTableFilterButton;
IBOutlet NSButton *filterTableClearButton;
IBOutlet SPTextView *filterTableWhereClause;
+ IBOutlet id filterTableNegateCheckbox;
+ IBOutlet id filterTableDistinctCheckbox;
+ IBOutlet NSMenuItem *filterTableGearLookAllFields;
MCPConnection *mySQLConnection;
@@ -82,7 +85,6 @@
NSString *selectedTable, *usedQuery;
SPDataStorage *tableValues;
NSMutableArray *dataColumns, *keys, *oldRow;
- NSMutableDictionary *filterTableData;
NSUInteger tableRowsCount, previousTableRowsCount;
NSString *compareType;
NSNumber *sortCol;
@@ -97,6 +99,12 @@
id contentFilterManager;
NSUInteger contentPage;
+ NSMutableDictionary *filterTableData;
+ BOOL filterTableNegate;
+ BOOL filterTableDistinct;
+ NSString *filterTableDefaultOperator;
+ NSString *lastEditedFilterTableValue;
+
BOOL sortColumnToRestoreIsAsc;
BOOL tableRowsSelectable;
NSString *sortColumnToRestore;
@@ -154,6 +162,11 @@
- (IBAction)tableFilterExecute:(id)sender;
- (IBAction)tableFilterClear:(id)sender;
- (IBAction)showTableFilter:(id)sender;
+- (IBAction)toggleNegateClause:(id)sender;
+- (IBAction)toggleDistinctSelect:(id)sender;
+- (IBAction)setDefaultOperator:(id)sender;
+- (IBAction)swapFilterTable:(id)sender;
+- (IBAction)toggleLookAllFieldsMode:(id)sender;
// Getter methods
- (NSArray *)currentResult;