rt300@14
|
1 //
|
rt300@14
|
2 // QuestionnaireViewController.h
|
rt300@14
|
3 // oscSenderExample
|
rt300@14
|
4 //
|
rt300@14
|
5 // Created by Robert Tubb on 16/01/2013.
|
rt300@14
|
6 //
|
rt300@14
|
7 //
|
rt300@14
|
8
|
rt300@14
|
9 #import <UIKit/UIKit.h>
|
rt300@14
|
10
|
rt300@22
|
11 #import "Question.h"
|
rt300@22
|
12
|
rt300@14
|
13 @interface QuestionnaireViewController : UIViewController
|
rt300@28
|
14 <UIPickerViewDelegate, UIPickerViewDataSource, UITextFieldDelegate>
|
rt300@21
|
15 {
|
rt300@22
|
16
|
rt300@21
|
17 UIPickerView *picker;
|
rt300@22
|
18
|
rt300@21
|
19
|
rt300@21
|
20 }
|
rt300@14
|
21 @property (retain, nonatomic) IBOutlet UILabel *questionText;
|
rt300@15
|
22 @property (retain, nonatomic) IBOutlet UILabel *titleText;
|
rt300@16
|
23 @property (retain, nonatomic) IBOutlet UIButton *finishButton;
|
rt300@16
|
24 @property (retain, nonatomic) IBOutlet UIButton *nextButton;
|
rt300@22
|
25 @property (retain, nonatomic) IBOutlet UIButton *previousButton;
|
rt300@14
|
26
|
rt300@21
|
27 @property (strong, nonatomic) IBOutlet UIPickerView *picker;
|
rt300@22
|
28
|
rt300@28
|
29 @property (retain, nonatomic) IBOutlet UITextView *commentText;
|
rt300@31
|
30 @property (retain, nonatomic) IBOutlet UISegmentedControl *numberChooser;
|
rt300@31
|
31 @property (retain, nonatomic) IBOutlet UIView *interfacePreferenceOptions;
|
rt300@31
|
32 @property (retain, nonatomic) IBOutlet UIView *lickertOptions;
|
rt300@31
|
33 @property (retain, nonatomic) IBOutlet UILabel *pleaseAnswer;
|
rt300@21
|
34
|
rt300@14
|
35 //----------------------------------------------------------------
|
rt300@31
|
36 - (IBAction)answerChosen:(id)sender;
|
rt300@31
|
37
|
rt300@14
|
38 -(IBAction)hide:(id)sender;
|
rt300@14
|
39 -(IBAction)show:(id)sender;
|
rt300@14
|
40 - (IBAction)nextQuestionPressed:(id)sender;
|
rt300@15
|
41 - (IBAction)previousQuestionPressed:(id)sender;
|
rt300@32
|
42 -(void)unlockAll;
|
rt300@16
|
43 //----------------------------------------------------------------
|
rt300@16
|
44 - (void)setAppRef:(id)theOFApp;
|
rt300@16
|
45 - (void)populateQuestionArray;
|
rt300@16
|
46 - (void)loadQuestion:(NSInteger)questionIndex;
|
rt300@16
|
47 //----------------------------------------------------------------
|
rt300@14
|
48 @end
|
rt300@14
|
49
|
rt300@21
|
50 //----------------------------------------------------------------
|
rt300@21
|
51 //----------------------------------------------------------------
|
rt300@21
|
52 //----------------------------------------------------------------
|