diff 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
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/QuestionnaireViewController.h	Fri Oct 10 11:46:42 2014 +0100
@@ -0,0 +1,52 @@
+//
+//  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)unlockAll;
+//----------------------------------------------------------------
+- (void)setAppRef:(id)theOFApp;
+- (void)populateQuestionArray;
+- (void)loadQuestion:(NSInteger)questionIndex;
+//----------------------------------------------------------------
+@end
+
+//----------------------------------------------------------------
+//----------------------------------------------------------------
+//----------------------------------------------------------------