void Init(berry::IWorkbench::Pointer workbench) override
bool PerformOk() override
void WriteStatusMessage(const QString &)
QString GetPythonPathFromUI(const QString &) const
Get the virtual env path from UI combobox removing any extra special characters.
~QmitkSegmentAnythingPreferencePage() override
QWidget * GetQtControl() const override
QmitkSegmentAnythingPreferencePage()
int FetchSelectedDeviceFromUI() const
Returns GPU id of the selected GPU from the Combo box.
bool IsSAMInstalled(const QString &pythonPath)
Checks if SegmentAnything is found inside the selected python virtual environment.
void PerformCancel() override
void CreateQtControl(QWidget *parent) override
void WriteErrorMessage(const QString &)
void SetDeviceInfo()
Adds GPU information to the gpu combo box. In case, there aren't any GPUs available,...