videoLat  2.1
Video conferencing delay measurements
DocumentView.h
Go to the documentation of this file.
1 //
5 // Copyright 2010-2019 Centrum voor Wiskunde en Informatica. Licensed under GPL3.
6 //
7 //
8 
9 #import "Protocols.h"
11 #import "GraphView.h"
12 #import "Document.h"
13 
18 @interface DocumentView
19 #ifdef WITH_UIKIT
20 : UIScrollView <UIScrollViewDelegate>
21 #else
22 : NSView
23 #endif
24 {
25  BOOL initialValues;
27 #ifdef WITH_UIKIT
28  CGPoint _pointToCenterAfterResize;
29  CGFloat _scaleToRestoreAfterResize;
30 #endif
31 };
32 
33 @property(weak) IBOutlet DocumentDescriptionView *status;
34 @property(weak) IBOutlet GraphView *values;
35 @property(weak) IBOutlet GraphView *distribution;
36 @property(weak) IBOutlet Document *modelObject;
37 #ifdef WITH_UIKIT
38 @property(weak) IBOutlet UIView *scrolledView;
39 #endif
40 
41 - (void)_updateView;
42 
43 #ifdef WITH_APPKIT
44 - (void)viewWillDraw;
45 - (IBAction)openInputCalibration:(id)sender;
46 - (IBAction)openOutputCalibration:(id)sender;
47 #endif
48 
49 #ifdef WITH_UIKIT
50 - (NSData *)generatePDF;
51 #endif
52 @end
Definition: DocumentView.h:18
Definition: Document.h:19
Defines Document object, part of the standard Cocoa application structure.
Defines the GraphView object.
Defines the DocumentDescriptionView object.
void _updateView()
Updates variables in status view so they reflect the document values.
Definition: DocumentView.m:78
Definition: GraphView.h:16
IBOutlet DocumentDescriptionView * status
Set by NIB: view containing our metadata.
Definition: DocumentView.h:31
IBOutlet GraphView * values
Set by NIB: view showing the raw measurement values.
Definition: DocumentView.h:34
Definition: DocumentDescriptionView.h:18
IBOutlet GraphView * distribution
Set by NIB: view showing the measurement distribution.
Definition: DocumentView.h:35
Various protocols for which multiple implementations exist.
__weak Document * _modelObject
Our document.
Definition: DocumentView.h:26
IBOutlet Document * modelObject
Set by NIB: pointer to our Document.
Definition: DocumentView.h:36