Aligned naming, Pickchars dialog now automatically closes when all characters are picked. Table columns now start at 1 instead of 0.

This commit is contained in:
Michael Starke
2018-12-28 19:27:37 +01:00
parent 7898d3c146
commit 56a6fce658
8 changed files with 38 additions and 32 deletions

View File

@@ -0,0 +1,39 @@
//
// MPPickcharViewController.h
// MacPass
//
// Created by Michael Starke on 23.11.17.
// Copyright © 2017 HicknHack Software GmbH. All rights reserved.
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
//
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
//
#import <Cocoa/Cocoa.h>
NS_ASSUME_NONNULL_BEGIN
@interface MPPickcharsViewController : NSViewController
@property (copy) NSString *sourceValue;
@property (nonatomic, copy) NSString *pickedValue;
@property NSInteger minimumCharacterCount;
@property (nonatomic) BOOL hidePickedCharacters;
- (IBAction)reset:(id)sender;
- (IBAction)submitValue:(id)sender;
@end
NS_ASSUME_NONNULL_END