WhatsThis update
[mussa.git] / qui / mussa_setup_dialog / MussaSetupWidget.cpp
index ad25e4386527833d566274b78606c51b083ae9fd..c116a9a2e12fc6e9983760a6f80f83906cd69961 100644 (file)
@@ -40,26 +40,34 @@ 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;