Updated views to new Password input.

This commit is contained in:
michael starke
2013-07-09 02:41:22 +02:00
parent a98720a00c
commit 79a8c05e95
7 changed files with 866 additions and 564 deletions

View File

@@ -16,10 +16,10 @@ typedef NS_ENUM(NSUInteger, MPDatabaseSettingsTab) {
};
@class MPDocument;
@class HNHRoundedSecureTextField;
@interface MPDatabaseSettingsWindowController : NSWindowController
@property (weak) IBOutlet NSTabView *sectionTabView;
/* General Tab */
@@ -27,8 +27,9 @@ typedef NS_ENUM(NSUInteger, MPDatabaseSettingsTab) {
@property (unsafe_unretained) IBOutlet NSTextView *databaseDescriptionTextView;
/* Protection */
@property (weak) IBOutlet NSTextField *passwordTextField;
@property (weak) IBOutlet HNHRoundedSecureTextField *passwordTextField;
@property (weak) IBOutlet NSPathControl *keyfilePathControl;
@property (weak) IBOutlet NSButton *togglePasswordButton;
- (IBAction)clearKey:(id)sender;
- (IBAction)generateKey:(id)sender;