-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathGeneralMappingWindowController.h
68 lines (57 loc) · 2.7 KB
/
GeneralMappingWindowController.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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
//
// GeneralMappingWindowController.h
// OsirixBidsOutput
//
// Copyright (c) 2018 Michał Szczepanik.
//
// This file is part of Osirix / Horos BIDS Output Extension.
//
// BIDS Output Extension 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.
//
// BIDS Output Extension 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 BIDS Output Extension. If not, see <http://www.gnu.org/licenses/>.
#import <Foundation/Foundation.h>
#import <OsiriXAPI/DicomStudy.h>
#import <OsiriXAPI/DicomSeries.h>
@interface GeneralMappingWindowController : NSObject <NSTableViewDataSource, NSTableViewDelegate>
@property (weak) IBOutlet NSWindow *window;
@property (weak) IBOutlet NSTableView *tableView;
@property (weak) IBOutlet NSTextField *minimumBoldField;
@property (weak) IBOutlet NSPopover *sessionPopover;
@property (weak) IBOutlet NSTextField *studyNameRegexpField;
@property (weak) IBOutlet NSTextField *sessionLabelTemplateField;
@property (weak) IBOutlet NSTextField *subjectLabelTemplateField;
@property (weak) IBOutlet NSButton *useSeriesLabelsCheckbox;
@property (weak) IBOutlet NSPopover *descriptionPopover;
@property (weak) IBOutlet NSTextField *datasetNameField;
@property (weak) IBOutlet NSTextField *bidsVersionField;
@property (weak) IBOutlet NSTextField *licenseField;
@property (weak) IBOutlet NSTextField *authorsField;
@property (weak) IBOutlet NSTextField *acknowledgementsField;
@property (weak) IBOutlet NSTextField *howToAcknowledgeField;
@property (weak) IBOutlet NSTextField *fundingField;
@property (weak) IBOutlet NSTextField *referencesAndLinksField;
@property (weak) IBOutlet NSTextField *datasetDoiField;
@property (weak) IBOutlet NSButton *noDescriptionCheckBox;
@property BOOL seriesCheckBoxIsEnabled;
@property (nonatomic, strong) NSWindowController *SummaryWindow;
- (IBAction)itemTextFieldUpdated:(id)sender;
- (IBAction)saveMapping:(id)sender;
- (IBAction)showSessionPopover:(id)sender;
- (IBAction)showDescriptionPopover:(id)sender;
- (IBAction)storeMappingForLater:(id)sender;
- (IBAction)useStoredMapping:(id)sender;
- (void) annotateAllSeries;
- (void) assignFieldMapSuffixes:(NSArray*)fieldMapTriplet;
- (void) createDatasetDescription;
- (NSString*) createSessionLabelForStudy:(DicomStudy*)study;
- (NSString*) createSubjectNameForStudy:(DicomStudy*)study;
@end