view QuestionnaireViewController.h @ 29:fabb3a5cdfc9

Timed session improvements. Desperate pathetic attempts to send a simple HTTP POST.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Fri, 22 Feb 2013 17:41:38 +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

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