#include <QMessageBox>
#include <QFileDialog>
+#ifdef Q_OS_OSX
+# include "vvOSXHelper.h"
+#endif
+
//====================================================================
vvSegmentationDialog::vvSegmentationDialog(QWidget * parent, Qt::WindowFlags f)
:QDialog(parent,f), Ui::vvSegmentationDialog()
erodeButton->setEnabled(0);
dilateButton->setEnabled(0);
infoLabel->setText("Select Up and Down threshold before clicking binarise !");
+
+#ifdef Q_OS_OSX
+ disableGLHiDPI(viewWidget->winId());
+#endif
}
vvSegmentationDialog::~vvSegmentationDialog()
#include <QMessageBox>
#include <QFileDialog>
+#ifdef Q_OS_OSX
+# include "vvOSXHelper.h"
+#endif
+
//----------------------------------------------------------------------------
class vvManagerCallback : public vtkCommand
{
mCurrentTime = 0;
connect(loadButton,SIGNAL(clicked()),this,SLOT(LoadSurface()));
+
+#ifdef Q_OS_OSX
+ disableGLHiDPI(renderWidget->winId());
+#endif
}
vvSurfaceViewerDialog::~vvSurfaceViewerDialog()