eyeDrops  v2.3
A new approach to detecting eye blinks.
PreferencesWindowController.h
Go to the documentation of this file.
1 
31 #import <Cocoa/Cocoa.h>
32 #import "Settings.h"
34 
46 @interface PreferencesWindowController : NSWindowController <NSTableViewDataSource, NSTableViewDelegate>
47 
51 @property BOOL autoScan;
52 
56 @property BOOL autoConnect;
57 
61 @property NSUInteger maxBlurRadius;
62 
66 @property float blurStep;
67 
71 @property float blurSpeed;
72 
76 @property float batteryLevel;
77 
81 @property NSUInteger blinkTimerValue;
82 
86 @property BOOL autoSelect;
87 
91 @property (strong) IBOutlet NSButton *autoSelectXMLFileCheckbox;
92 
96 @property (strong) IBOutlet NSButton *selectFile;
97 
101 @property (strong, nonatomic) IBOutlet NSTextField *path;
102 
106 @property IBOutlet NSTableView *tableView;
107 
111 @property IBOutlet NSTextView *textView;
112 
116 @property NSString *xmlFile;
117 
121 @property NSMutableArray *profiles;
122 
126 @property IBOutlet NSView *generalView;
127 
131 @property IBOutlet NSView *profilesView;
132 
136 @property IBOutlet NSButton *createNewProfileButton;
137 
141 @property IBOutlet NSButton *deleteProfileButton;
142 
146 @property (weak) IBOutlet NSButton *autoScanCheckbox;
147 
151 @property (weak) IBOutlet NSButton *autoConnectCheckbox;
152 
156 @property (weak) IBOutlet NSLevelIndicator *levelIndicator;
157 
161 @property (weak) IBOutlet NSSegmentedControl *segmentedControl;
162 
169 - (void)profilesNeedUpdate:(id)sender;
170 
177 - (void)setView:(NSString *)view;
178 
182 - (id)init;
183 
187 - (IBAction)maxBlurRadiusChanged:(id)sender;
188 
192 - (IBAction)blurStepChanged:(id)sender;
193 
197 - (IBAction)blurSpeedChanged:(id)sender;
198 
202 - (IBAction)blinkTimerValueChanged:(id)sender;
203 
207 - (IBAction)autoScanChanged:(id)sender;
208 
212 - (IBAction)autoConnectChanged:(id)sender;
213 
214 @end
Header file containing the shared settings class.
IBOutlet NSView * generalView
Definition: PreferencesWindowController.h:126
IBOutlet NSSegmentedControl * segmentedControl
Definition: PreferencesWindowController.h:161
NSMutableArray * profiles
Definition: PreferencesWindowController.h:121
BOOL autoConnect
Definition: PreferencesWindowController.h:56
IBOutlet NSTextView * textView
Definition: PreferencesWindowController.h:111
IBOutlet NSButton * autoScanCheckbox
Definition: PreferencesWindowController.h:146
IBOutlet NSButton * deleteProfileButton
Definition: PreferencesWindowController.h:141
IBOutlet NSLevelIndicator * levelIndicator
Definition: PreferencesWindowController.h:156
BOOL autoScan
Definition: PreferencesWindowController.h:51
IBOutlet NSView * profilesView
Definition: PreferencesWindowController.h:131
BOOL autoSelect
Definition: PreferencesWindowController.h:86
The preferences window (controller).
Definition: PreferencesWindowController.h:46
float batteryLevel
Definition: PreferencesWindowController.h:76
IBOutlet NSButton * autoConnectCheckbox
Definition: PreferencesWindowController.h:151
id init()
Definition: PreferencesWindowController.m:68
IBOutlet NSTableView * tableView
Definition: PreferencesWindowController.h:106
NSUInteger blinkTimerValue
Definition: PreferencesWindowController.h:81
float blurSpeed
Definition: PreferencesWindowController.h:71
IBOutlet NSButton * selectFile
Definition: PreferencesWindowController.h:96
float blurStep
Definition: PreferencesWindowController.h:66
Header file containing the calibration window controller class.
IBOutlet NSTextField * path
Definition: PreferencesWindowController.h:101
IBOutlet NSButton * autoSelectXMLFileCheckbox
Definition: PreferencesWindowController.h:91
IBOutlet NSButton * createNewProfileButton
Definition: PreferencesWindowController.h:136
NSString * xmlFile
Definition: PreferencesWindowController.h:116
NSUInteger maxBlurRadius
Definition: PreferencesWindowController.h:61