![]() |
VR-Forces Developer's Guide
|
A dialog page controlling file caching.

Public Slots | |
User input slots. | |
Receives notification that the user has changed a widget's value. | |
| virtual void | onEnableAccelerationCachingChanged (int state) |
| virtual void | onClearOnNewSceneChanged (int state) |
| virtual void | onCompressTextureChanged (int state) |
| virtual void | onClearAccelerationCacheClicked () |
| virtual void | onEnableInstancingChanged (int state) |
| virtual void | onClearInstanceCacheClicked () |
Public Member Functions | |
| DtFileCachePage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget) | |
| virtual | ~DtFileCachePage () |
| virtual QIcon | icon () |
| virtual DtQIconConfigurations | qIconConfigurations () const |
| virtual QString | title () |
| virtual const std::string & | pageClassName () const |
Field value setters. | |
Sets the values of the widget's corresponding fields. | |
| virtual void | setEnableAccelerationCaching (bool enabled) |
| virtual void | setCompressTexture (bool enabled) |
| virtual void | setEnableInstancing (bool enabled) |
| virtual void | setClearOnNewScene (bool enabled) |
Public Member Functions inherited from makVrv::DtPage | |
| DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0) | |
| virtual | ~DtPage () |
| virtual PageAction | pageAction () |
| virtual void | setPageAction (PageAction action) |
| virtual void | setActionFlag (int flag) |
| virtual int | actionFlag () |
| virtual void | setParentDialog (QWidget *paraentDialog) |
| virtual QWidget * | parentDialog () |
| virtual bool | shouldAskBeforeAction (PageAction action) |
| virtual void | askBeforeAction () |
| virtual void | executeAfterAsk (bool revert) |
| virtual void | resumeLastAction () |
| virtual void | onCloseEvent () |
| virtual void | onSwitchEvent () |
Public Member Functions inherited from makVrv::DtFileCacheInterface | |
| virtual | ~DtFileCacheInterface () |
Static Public Member Functions | |
| static const std::string & | thePageClassName () |
Protected Member Functions | |
| void | setupGui () |
| void | connectToSignals () |
| virtual void | activate () |
| virtual void | deactivate () |
Protected Attributes | |
| QLabel * | myAcceleratedLoadingDesc |
| QLabel * | myInstancingDescriptionLabel |
| QCheckBox * | myAcceleratedLoadingCheckBox |
| QCheckBox * | myCompressTextureCheckBox |
| QVBoxLayout * | myInstanceGroupBoxLayout |
| QCheckBox * | myClearOnNewSceneCheckBox |
| QPushButton * | myClearButton |
| QPushButton * | myClearInstancingButton |
| DtPersistenceToolbarWidget * | myToolbar |
| DtVirtualBaseClass * | myLogic |
Protected Attributes inherited from makVrv::DtPage | |
| DtDe & | myDe |
| QWidget * | myParentDialog |
| PageAction | myCurrentPageAction |
| int | myActionFlag |
Additional Inherited Members | |
Public Types inherited from makVrv::DtPage | |
| enum | PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 } |
Public Attributes inherited from makVrv::DtFileCacheInterface | |
| boost::signalslib::signal < void(bool)> | signal_enableAccelerationCachingChanged |
| boost::signalslib::signal < void(bool)> | signal_clearOnNewSceneChanged |
| boost::signalslib::signal < void(bool)> | signal_compressTexturesChanged |
| boost::signalslib::signal< void()> | signal_clearAccelerationCache |
| boost::signalslib::signal < void(bool)> | signal_enableInstancingChanged |
| boost::signalslib::signal< void()> | signal_clearInstanceCache |
| makVrv::DtFileCachePage::DtFileCachePage | ( | DtDe & | de, |
| QWidget * | parent, | ||
| Qt::WindowFlags | f = Qt::Widget |
||
| ) |
CTOR.
|
virtual |
DTOR.
|
virtual |
Get the icon of the page.
Implements makVrv::DtPage.
|
virtual |
Get the icon configurations for the page. This is used to style the page's icon based on application settings.
Implements makVrv::DtPage.
|
virtual |
Get the title of the page.
Implements makVrv::DtPage.
|
virtual |
Get the class name of the page.
Implements makVrv::DtPage.
|
static |
Get the class name of the page (static).
|
virtual |
Enable/disable file caching.
Implements makVrv::DtFileCacheInterface.
|
virtual |
Enable/disable texture compression.
Implements makVrv::DtFileCacheInterface.
|
virtual |
Enable/disable runtime object caching.
Implements makVrv::DtFileCacheInterface.
|
virtual |
Enable/disable clearing instances on new scene.
Implements makVrv::DtFileCacheInterface.
|
virtualslot |
Called when the user checks the file caching checkbox.
|
virtualslot |
Called when the user checks the clear instances on new scene checkbox.
|
virtualslot |
Called when the user checks the texture compression checkbox.
|
virtualslot |
Called when the user presses the clear cache button.
|
virtualslot |
Called when the user checks the runtime caching checkbox.
|
virtualslot |
Called when the user presses the clear instance cache button.
|
protected |
Sets up the widget's fields. Non-virtual (Called from CTOR).
|
protected |
Connects widget signals to slots. Non-virtual (Called from CTOR).
|
protectedvirtual |
Enable the page.
Implements makVrv::DtPage.
|
protectedvirtual |
Disable the page.
Implements makVrv::DtPage.
|
protected |
Widgets etc.
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |
|
protected |