#include "HelpTopics.h"
QString HelpText(HelpTopic topic)
{
switch (topic)
{
case HelpTopic::AcquireImage:
return
"<b>Acquire Image</b><br>"
"Acquires a single image using the current settings.";
case HelpTopic::ZStack:
return
"<b>Z Stack</b><br>"
"Captures a sequence of images at different Z positions.";
case HelpTopic::CollisionAvoidance:
return
"<b>Collision Avoidance</b><br>"
"Prevents the objective from contacting the sample.";
case HelpTopic::WorkingDistance:
return
"<b>Working Distance</b><br>"
"Distance from the front of the objective to the sample when in focus.";
}
return QString();
}
void RegisterHelp(QWidget *widget, HelpTopic topic)
{
widget->setWhatsThis(HelpText(topic));
}