forked from bettar/miele-lxiv
-
Notifications
You must be signed in to change notification settings - Fork 0
/
AnonymizationViewController.h
48 lines (35 loc) · 1.48 KB
/
AnonymizationViewController.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
/*=========================================================================
Program: OsiriX
Copyright (c) OsiriX Team
All rights reserved.
Distributed under GNU - LGPL
See http://www.osirix-viewer.com/copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE.
=========================================================================*/
#import <Cocoa/Cocoa.h>
@class N2AdaptiveBox, AnonymizationTagsView, DCMAttributeTag;
@interface AnonymizationViewController : NSViewController {
IBOutlet N2AdaptiveBox* annotationsBox;
IBOutlet NSPopUpButton* templatesPopup;
IBOutlet AnonymizationTagsView* tagsView;
IBOutlet NSButton* saveTemplateButton;
IBOutlet NSButton* deleteTemplateButton;
NSMutableArray* tags;
BOOL formatsAreOk;
}
@property(readonly) N2AdaptiveBox* annotationsBox;
@property(readonly) NSPopUpButton* templatesPopup;
@property(readonly) AnonymizationTagsView* tagsView;
@property(readonly,retain) NSMutableArray* tags; // do not add elements directly! use addTag and removeTag
@property(readonly,nonatomic) BOOL formatsAreOk;
-(id)initWithTags:(NSArray*)shownDcmTags values:(NSArray*)values;
-(void)adaptBoxToAnnotations;
-(void)addTag:(DCMAttributeTag*)tag;
-(void)removeTag:(DCMAttributeTag*)tag;
-(NSArray*)tagsValues;
-(void)setTagsValues:(NSArray*)t;
-(IBAction)saveTemplateAction:(id)sender;
-(IBAction)deleteTemplateAction:(id)sender;
@end