view QuestionnaireViewController.h @ 30:c0a6f7c66719

Josh M test "in house" version 0.1
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Wed, 27 Feb 2013 11:39:07 +0000
parents e2c62db1e265
children 23ef179c3748
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;

//----------------------------------------------------------------
-(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

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