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