view QuestionnaireViewController.h @ 49:178642d134a7 tip

xtra files
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Wed, 01 May 2013 17:34:33 +0100
parents ab7c86d0f3d8
children
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)unlockAll;
//----------------------------------------------------------------
- (void)setAppRef:(id)theOFApp;
- (void)populateQuestionArray;
- (void)loadQuestion:(NSInteger)questionIndex;
//----------------------------------------------------------------
@end

//----------------------------------------------------------------
//----------------------------------------------------------------
//----------------------------------------------------------------