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