21 #ifndef __qSlicerGPUMemoryComboBox_h 22 #define __qSlicerGPUMemoryComboBox_h 28 #include "qSlicerVolumeRenderingModuleWidgetsExport.h" 30 class qSlicerGPUMemoryComboBoxPrivate;
36 Q_PROPERTY(
double currentGPUMemory READ currentGPUMemory WRITE setCurrentGPUMemory)
37 Q_PROPERTY(QString currentGPUMemoryString READ currentGPUMemoryAsString WRITE setCurrentGPUMemoryFromString DESIGNABLE false)
46 Q_INVOKABLE
int totalGPUMemoryInMB()const;
48 Q_INVOKABLE
double currentGPUMemory()const;
50 Q_INVOKABLE
int currentGPUMemoryInMB()const;
52 Q_INVOKABLE QString currentGPUMemoryAsString()const;
56 void setCurrentGPUMemory(
double memory);
59 void setCurrentGPUMemoryFromString(const QString& memoryString);
62 QScopedPointer<qSlicerGPUMemoryComboBoxPrivate> d_ptr;
QComboBox Superclass
Constructors.