13 #ifndef QmitkSegmentAnythingToolGUI_h 
   14 #define QmitkSegmentAnythingToolGUI_h 
   18 #include "ui_QmitkSegmentAnythingGUIControls.h" 
   21 #include <QMessageBox> 
   22 #include <QStandardPaths> 
   35   itkFactorylessNewMacro(Self);
 
   42   void OnResetPicksClicked();
 
   47   void OnActivateBtnClicked();
 
   58   void WriteStatusMessage(
const QString&);
 
   63   void WriteErrorMessage(
const QString&);
 
   68   void StatusMessageListener(
const std::string&);
 
   78   void ShowErrorMessage(
const std::string&, QMessageBox::Icon = QMessageBox::Critical);
 
   90   void ShowProgressBar(
bool);
 
   98   bool ActivateSAMDaemon();
 
  105   bool ValidatePrefences();
 
  111   void UpdateSAMStatusMessage(QString &initText);
 
  115   Ui_QmitkSegmentAnythingGUIControls m_Controls;
 
  117   bool m_FirstPreviewComputation = 
true;
 
  118     const std::string WARNING_SAM_NOT_FOUND =
 
  119     "SAM is not detected in the selected python environment. Please reinstall SAM.";