Mercurial > hg > soniczoomios
view QuestionnaireViewController.h @ 31:23ef179c3748
Ben / Christian 0.2
author | Robert Tubb <rt300@eecs.qmul.ac.uk> |
---|---|
date | Fri, 01 Mar 2013 13:28:45 +0000 |
parents | e2c62db1e265 |
children | ab7c86d0f3d8 |
line wrap: on
line source
// // QuestionnaireViewController.h // oscSenderExample // // Created by Robert Tubb on 16/01/2013. // // #import <UIKit/UIKit.h> #import "Question.h" @interface QuestionnaireViewController : UIViewController <UIPickerViewDelegate, UIPickerViewDataSource, UITextFieldDelegate> { UIPickerView *picker; } @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 UIButton *previousButton; @property (strong, nonatomic) IBOutlet UIPickerView *picker; @property (retain, nonatomic) IBOutlet UITextView *commentText; @property (retain, nonatomic) IBOutlet UISegmentedControl *numberChooser; @property (retain, nonatomic) IBOutlet UIView *interfacePreferenceOptions; @property (retain, nonatomic) IBOutlet UIView *lickertOptions; @property (retain, nonatomic) IBOutlet UILabel *pleaseAnswer; //---------------------------------------------------------------- - (IBAction)answerChosen:(id)sender; -(IBAction)hide:(id)sender; -(IBAction)show:(id)sender; - (IBAction)nextQuestionPressed:(id)sender; - (IBAction)previousQuestionPressed:(id)sender; //---------------------------------------------------------------- - (void)setAppRef:(id)theOFApp; - (void)populateQuestionArray; - (void)loadQuestion:(NSInteger)questionIndex; //---------------------------------------------------------------- @end //---------------------------------------------------------------- //---------------------------------------------------------------- //----------------------------------------------------------------