Mercurial > hg > soniczoomios
diff 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 |
line wrap: on
line diff
--- a/QuestionnaireViewController.h Thu Jan 17 13:01:19 2013 +0000 +++ b/QuestionnaireViewController.h Thu Jan 17 18:21:48 2013 +0000 @@ -12,15 +12,21 @@ @property (retain, nonatomic) IBOutlet UILabel *questionText; @property (retain, nonatomic) IBOutlet UILabel *titleText; +@property (retain, nonatomic) IBOutlet UIButton *finishButton; +@property (retain, nonatomic) IBOutlet UIButton *nextButton; +@property (retain, nonatomic) IBOutlet UISegmentedControl *segControl; //---------------------------------------------------------------- -(IBAction)hide:(id)sender; -//---------------------------------------------------------------- -(IBAction)show:(id)sender; -//---------------------------------------------------------------- - (IBAction)nextQuestionPressed:(id)sender; - (IBAction)previousQuestionPressed:(id)sender; - --(void)populateQuestionArray; +- (IBAction)answerSelected:(id)sender; +//---------------------------------------------------------------- +- (void)setAppRef:(id)theOFApp; +- (void)populateQuestionArray; +- (void)populateAnswerArray; +- (void)loadQuestion:(NSInteger)questionIndex; +//---------------------------------------------------------------- @end