Mercurial > hg > soniczoomios
annotate QuestionnaireViewController.h @ 16:fb2ef16dd013
Split alert views. Settled on using portrait mode.
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Thu, 17 Jan 2013 18:21:48 +0000 |
parents | e45c3e631d20 |
children | 650589cac373 |
rev | line source |
---|---|
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@14 | 11 @interface QuestionnaireViewController : UIViewController |
rt300@15 | 12 |
rt300@14 | 13 @property (retain, nonatomic) IBOutlet UILabel *questionText; |
rt300@15 | 14 @property (retain, nonatomic) IBOutlet UILabel *titleText; |
rt300@16 | 15 @property (retain, nonatomic) IBOutlet UIButton *finishButton; |
rt300@16 | 16 @property (retain, nonatomic) IBOutlet UIButton *nextButton; |
rt300@16 | 17 @property (retain, nonatomic) IBOutlet UISegmentedControl *segControl; |
rt300@14 | 18 |
rt300@14 | 19 //---------------------------------------------------------------- |
rt300@14 | 20 -(IBAction)hide:(id)sender; |
rt300@14 | 21 -(IBAction)show:(id)sender; |
rt300@14 | 22 - (IBAction)nextQuestionPressed:(id)sender; |
rt300@15 | 23 - (IBAction)previousQuestionPressed:(id)sender; |
rt300@16 | 24 - (IBAction)answerSelected:(id)sender; |
rt300@16 | 25 //---------------------------------------------------------------- |
rt300@16 | 26 - (void)setAppRef:(id)theOFApp; |
rt300@16 | 27 - (void)populateQuestionArray; |
rt300@16 | 28 - (void)populateAnswerArray; |
rt300@16 | 29 - (void)loadQuestion:(NSInteger)questionIndex; |
rt300@16 | 30 //---------------------------------------------------------------- |
rt300@14 | 31 @end |
rt300@14 | 32 |