diff QuestionnaireViewController.mm @ 33:92dba082d957

Added trail and EVALUATION_POINT event type.
author Robert Tubb <rt300@eecs.qmul.ac.uk>
date Tue, 26 Mar 2013 18:41:42 +0000
parents ab7c86d0f3d8
children a42903c61558
line wrap: on
line diff
--- a/QuestionnaireViewController.mm	Fri Mar 08 14:54:55 2013 +0000
+++ b/QuestionnaireViewController.mm	Tue Mar 26 18:41:42 2013 +0000
@@ -59,7 +59,7 @@
     // load question 1    
     [self loadQuestion:self.currentQuestionIndex];
     
-    self.previousButton.hidden = YES; // dont bother
+    self.previousButton.hidden = NO; //  bother
     self.commentText.hidden = YES;
     self.finishButton.hidden = YES;
     self.nextButton.hidden = YES;
@@ -171,7 +171,7 @@
     self.numberChooser.hidden = YES;
     self.commentText.hidden = NO;
     
-    self.questionText.text = @"Thanks for helping science help you. Feel free to add further comments in the text box below, and then press 'finish' to go back and use the app, unhassled.";
+    self.questionText.text = @"Thanks for helping science help you. Feel free to add further comments in the text box below, and then press 'finish' to go back and use the app.";
 }
 
 //----------------------------------------------------------------
@@ -187,7 +187,7 @@
     
     
     // refresh picker view content
-    [picker reloadComponent:0];
+    //[picker reloadComponent:0];
 
     // show correct option number labels
     if(curQ.questionType == AGREE_DISAGREE){
@@ -199,7 +199,9 @@
     }
 
     //NSLog(@"Prev answer answerInt %d", curQ.answer);
-    [picker selectRow:2 inComponent:0 animated:YES];
+    //[picker selectRow:2 inComponent:0 animated:YES];
+    
+    // what about unselecting segment?
 
 }
 // 1/3/13 removed q 6 and 15. now only 15 qs
@@ -220,7 +222,6 @@
                           [[Question alloc] initWithTextAndType:@"The interface better for generating new ideas was...":SLIDERS_ZOOMER], 
                           [[Question alloc] initWithTextAndType:@"The interface better for performing live would be...":SLIDERS_ZOOMER],
                           [[Question alloc] initWithTextAndType:@"The Zoomer was an improvement on just using a randomiser.":AGREE_DISAGREE],
-                        
                           [[Question alloc] initWithTextAndType:@"The combination of Zoomer and Sliders was better than either individually.":AGREE_DISAGREE],
                           [[Question alloc] initWithTextAndType:@"Overall, the interface I preferred using was...":SLIDERS_ZOOMER], // ??????
                           nil];