mirror of
https://github.com/MacPass/MacPass.git
synced 2025-12-20 09:29:29 +00:00
Restrucutred Settings and extracts Password edit
Introduced custom save palen accessory view to enable save in different formats (unfunctional for now) Started reworking drag and drop of entries and groups
This commit is contained in:
34
MacPass/MPPasswordEditWindowController.h
Normal file
34
MacPass/MPPasswordEditWindowController.h
Normal file
@@ -0,0 +1,34 @@
|
||||
//
|
||||
// MPPasswordEditWindowController.h
|
||||
// MacPass
|
||||
//
|
||||
// Created by Michael Starke on 10.08.13.
|
||||
// Copyright (c) 2013 HicknHack Software GmbH. All rights reserved.
|
||||
//
|
||||
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#import "MPSheetWindowController.h"
|
||||
@class MPDocument;
|
||||
@class HNHRoundedSecureTextField;
|
||||
|
||||
@interface MPPasswordEditWindowController : MPSheetWindowController <NSTextFieldDelegate>
|
||||
|
||||
@property (weak) IBOutlet HNHRoundedSecureTextField *passwordTextField;
|
||||
@property (weak) IBOutlet HNHRoundedSecureTextField *passwordRepeatTextField;
|
||||
@property (weak) IBOutlet NSPathControl *keyfilePathControl;
|
||||
@property (weak) IBOutlet NSButton *togglePasswordButton;
|
||||
@property (weak) IBOutlet NSTextField *errorTextField;
|
||||
@property (weak) IBOutlet NSButton *changePasswordButton;
|
||||
|
||||
/**
|
||||
* Dedicated initializer for the Windowcontroller
|
||||
* @param document The Database document that is currently active
|
||||
* @return initalized windowcontroller
|
||||
*/
|
||||
- (id)initWithDocument:(MPDocument *)document;
|
||||
|
||||
- (IBAction)clearKey:(id)sender;
|
||||
- (IBAction)generateKey:(id)sender;
|
||||
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user