The preferences window (controller).
More...
#import <PreferencesWindowController.h>
Inherits NSWindowController, <NSTableViewDataSource>, and <NSTableViewDelegate>.
The preferences window (controller).
This class represents the preferences window where all the settings are stored. It also visualizes the user profile manager in a tableview and a textview. All changed settings will be automatically stored to a file called settings.txt if the application is terminated.
- Author
- Benjamin Thiemann
- Date
- 2017/01/17
◆ autoConnectChanged:()
- (IBAction) autoConnectChanged: |
|
(id) |
sender |
|
Invoked when value of autoConnect changed.
◆ autoScanChanged:()
- (IBAction) autoScanChanged: |
|
(id) |
sender |
|
Invoked when value of autoScan changed.
◆ blinkTimerValueChanged:()
- (IBAction) blinkTimerValueChanged: |
|
(id) |
sender |
|
Invoked when value of blinkTimerValue changed.
◆ blurSpeedChanged:()
- (IBAction) blurSpeedChanged: |
|
(id) |
sender |
|
Invoked when value of blurSpeed changed.
◆ blurStepChanged:()
- (IBAction) blurStepChanged: |
|
(id) |
sender |
|
Invoked when value of blurStep changed.
◆ init()
◆ maxBlurRadiusChanged:()
- (IBAction) maxBlurRadiusChanged: |
|
(id) |
sender |
|
Invoked when value of maxBlurRadius changed.
◆ profilesNeedUpdate:()
- (void) profilesNeedUpdate: |
|
(id) |
sender |
|
This method is called when the profiles have changed.
- Parameters
-
sender | The sending instance. |
◆ setView:()
- (void) setView: |
|
(NSString *) |
view |
|
This method changes the active view (general or profiles).
- Parameters
-
view | The view to activate. |
◆ autoConnect
Boolean value that indicates whether an autoconnect to the last known device is desired.
◆ autoConnectCheckbox
- (IBOutlet NSButton*) autoConnectCheckbox |
|
readwriteatomicweak |
The checkbox to selecct autoConnect.
◆ autoScan
Boolean value that indicates whether an autoscan is desired.
◆ autoScanCheckbox
- (IBOutlet NSButton*) autoScanCheckbox |
|
readwriteatomicweak |
The checkbox to selecct autoScan.
◆ autoSelect
Boolean value that indicates whether the app automatically selects the XML file.
◆ autoSelectXMLFileCheckbox
- (IBOutlet NSButton*) autoSelectXMLFileCheckbox |
|
readwriteatomicstrong |
The checkbox to selecct XML file autoSelect.
◆ batteryLevel
Float value that represents the battery level.
◆ blinkTimerValue
- (NSUInteger) blinkTimerValue |
|
readwriteatomic |
Integer value that represents the allowed time without a blink.
◆ blurSpeed
Float value that represents the blur speed.
◆ blurStep
Float value that represents the blur step.
◆ createNewProfileButton
- (IBOutlet NSButton*) createNewProfileButton |
|
readwriteatomic |
The button to create a new profile.
◆ deleteProfileButton
- (IBOutlet NSButton*) deleteProfileButton |
|
readwriteatomic |
The button to delete a profile.
◆ generalView
- (IBOutlet NSView*) generalView |
|
readwriteatomic |
The general preferences view.
◆ levelIndicator
- (IBOutlet NSLevelIndicator*) levelIndicator |
|
readwriteatomicweak |
The levelIndicator to show the battery level.
◆ maxBlurRadius
- (NSUInteger) maxBlurRadius |
|
readwriteatomic |
Integer value that represents the maximum blur radius.
◆ path
- (IBOutlet NSTextField*) path |
|
readwritenonatomicstrong |
The textfield displaying the XML file path.
◆ profiles
- (NSMutableArray*) profiles |
|
readwriteatomic |
The container for the profiles.
◆ profilesView
- (IBOutlet NSView*) profilesView |
|
readwriteatomic |
The profiles preferences view.
◆ segmentedControl
- (IBOutlet NSSegmentedControl*) segmentedControl |
|
readwriteatomicweak |
The segmented control to swtich between general and profiles view.
◆ selectFile
- (IBOutlet NSButton*) selectFile |
|
readwriteatomicstrong |
The button to select a XML file from disk.
◆ tableView
- (IBOutlet NSTableView*) tableView |
|
readwriteatomic |
The table view displaying the profiles.
◆ textView
- (IBOutlet NSTextView*) textView |
|
readwriteatomic |
The text view displaying a profiles content.
◆ xmlFile
The path to the XML file.
The documentation for this class was generated from the following files: