minor updates to mussa setup widget
[mussa.git] / qui / mussa_setup_dialog / MussaSetupWidget.cpp
index ad25e4386527833d566274b78606c51b083ae9fd..85ad1cbdd8754e3d8ed9ad077af03eb2277e2ad3 100644 (file)
@@ -40,29 +40,37 @@ MussaSetupWidget::MussaSetupWidget(QWidget *parent)
   // Analysis name
   QLabel *analysisNameLabel = new QLabel(tr("Analysis Name"));
   analysisNameLabel->setBuddy(analysisNameLineEdit);
+  analysisNameLabel->setWhatsThis("Meaningful name for your analysis ");
+  analysisNameLineEdit->setWhatsThis("Meaningful name for your analysis ");
 
   // Window
   windowEdit->setMinimum(1);
   windowEdit->setValue(30);
+  windowEdit->setWhatsThis("Sliding window size to use in analysis.\n\nSee Mussagl Manual for more information by selecting the 'Help > Mussagl Manual' menu option. ");
   QLabel *windowLabel = new QLabel(tr("Window (nt)"));
   windowLabel->setBuddy(windowEdit);
+  windowLabel->setWhatsThis("Sliding window size to use in analysis.\n\nSee Mussagl Manual for more information by selecting the 'Help > Mussagl Manual' menu option. ");
 
   // Threshold
   thresholdEdit->setMinimum(1);
   thresholdEdit->setMaximum(windowEdit->value());
   thresholdEdit->setValue(21);
+  thresholdEdit->setWhatsThis("Threshold of minimum number of matches required in a window to be considered a match.\n\nSee Mussagl Manual for more information by selecting the 'Help > Mussagl Manual' menu option. ");
   QLabel *thresholdLabel = new QLabel(tr("Threshold (nt)"));
   thresholdLabel->setBuddy(thresholdEdit);
+  thresholdLabel->setWhatsThis("Threshold of minimum number of matches required in a window to be considered a match.\n\nSee Mussagl Manual for more information by selecting the 'Help > Mussagl Manual' menu option. ");
   connect(windowEdit, SIGNAL(valueChanged(int)),
           this, SLOT(updateThreshold(int)));
 
   // Number of sequences
   QLabel *numOfSequencesLabel = new QLabel(tr("Number of sequences"));
   numOfSequencesLabel->setBuddy(numOfSequencesSpinBox);
+  numOfSequencesLabel->setWhatsThis("Number of sequences to include in analysis. ");
   numOfSequencesSpinBox->setMinimum(1);
+  numOfSequencesSpinBox->setWhatsThis("Number of sequences to include in analysis. ");
 
   //Sequence setup frame
-  seqSetupFrame = new SequenceSetupFrame;
+  seqSetupFrame = new SequenceSetupFrame(this);
 
   connect(numOfSequencesSpinBox, SIGNAL(valueChanged(int)),
          seqSetupFrame, SLOT(changeSequenceCount(int)));
@@ -73,7 +81,7 @@ MussaSetupWidget::MussaSetupWidget(QWidget *parent)
   connect(createPushButton, SIGNAL(pressed()),
          this, SLOT(mussaCreatePushed()));
   
-  // Cancle Button
+  // Cancel Button
   connect(cancelPushButton, SIGNAL(pressed()),
          this, SLOT(mussaCancelPushed()));