VR-Forces 4.0.4 Class Documentation
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes
makVrv::DtFileCachePage Class Reference

A dialog page controlling file caching. More...

Inheritance diagram for makVrv::DtFileCachePage:
Inheritance graph
[legend]

List of all members.

Public Slots

User input slots.

Receives notification that the user has changed a widget's value.

virtual void onEnableAccelerationCachingChanged (int state)
 Called when the user checks the file caching checkbox.
virtual void onClearOnNewSceneChanged (int state)
 Called when the user checks the clear instances on new scene checkbox.
virtual void onCompressTextureChanged (int state)
 Called when the user checks the texture compression checkbox.
virtual void onClearAccelerationCacheClicked ()
 Called when the user presses the clear cache button.
virtual void onEnableInstancingChanged (int state)
 Called when the user checks the runtime caching checkbox.
virtual void onClearInstanceCacheClicked ()
 Called when the user presses the clear instance cache button.

Public Member Functions

 DtFileCachePage (DtDe &de, QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtFileCachePage ()
 DTOR.
virtual QIcon icon ()
 Get the icon of the page.
virtual QString title ()
 Get the title of the page.
virtual const std::string & pageClassName () const
 Get the class name of the page.
Field value setters.

Sets the values of the widget's corresponding fields.

virtual void setEnableAccelerationCaching (bool enabled)
 Enable/disable file caching.
virtual void setCompressTexture (bool enabled)
 Enable/disable texture compression.
virtual void setEnableInstancing (bool enabled)
 Enable/disable runtime object caching.
virtual void setClearOnNewScene (bool enabled)
 Enable/disable clearing instances on new scene.

Static Public Member Functions

static const std::string & thePageClassName ()
 Get the class name of the page (static).

Protected Member Functions

void setupGui ()
 Sets up the widget's fields.
void connectToSignals ()
 Connects widget signals to slots.
virtual void activate ()
 Enable the page.
virtual void deactivate ()
 Disable the page.

Protected Attributes

DtDemyDe
QLabelmyAcceleratedLoadingDesc
 Widgets etc.
QLabelmyInstancingDescriptionLabel
QCheckBoxmyAcceleratedLoadingCheckBox
QCheckBoxmyCompressTextureCheckBox
QVBoxLayout * myInstanceGroupBoxLayout
QCheckBoxmyClearOnNewSceneCheckBox
QPushButtonmyClearButton
QPushButtonmyClearInstancingButton
DtPersistenceToolbarWidgetmyToolbar
DtVirtualBaseClassmyLogic

Detailed Description

A dialog page controlling file caching.


Constructor & Destructor Documentation

makVrv::DtFileCachePage::DtFileCachePage ( DtDe de,
QWidget parent,
Qt::WindowFlags  f = Qt::Widget 
)

CTOR.

DTOR.


Member Function Documentation

virtual QIcon makVrv::DtFileCachePage::icon ( ) [virtual]

Get the icon of the page.

Implements makVrv::DtPage.

virtual QString makVrv::DtFileCachePage::title ( ) [virtual]

Get the title of the page.

Implements makVrv::DtPage.

virtual const std::string& makVrv::DtFileCachePage::pageClassName ( ) const [virtual]

Get the class name of the page.

Implements makVrv::DtPage.

static const std::string& makVrv::DtFileCachePage::thePageClassName ( ) [static]

Get the class name of the page (static).

virtual void makVrv::DtFileCachePage::setEnableAccelerationCaching ( bool  enabled) [virtual]

Enable/disable file caching.

Implements makVrv::DtFileCacheInterface.

virtual void makVrv::DtFileCachePage::setCompressTexture ( bool  enabled) [virtual]

Enable/disable texture compression.

Implements makVrv::DtFileCacheInterface.

virtual void makVrv::DtFileCachePage::setEnableInstancing ( bool  enabled) [virtual]

Enable/disable runtime object caching.

Implements makVrv::DtFileCacheInterface.

virtual void makVrv::DtFileCachePage::setClearOnNewScene ( bool  enabled) [virtual]

Enable/disable clearing instances on new scene.

Implements makVrv::DtFileCacheInterface.

virtual void makVrv::DtFileCachePage::onEnableAccelerationCachingChanged ( int  state) [virtual, slot]

Called when the user checks the file caching checkbox.

virtual void makVrv::DtFileCachePage::onClearOnNewSceneChanged ( int  state) [virtual, slot]

Called when the user checks the clear instances on new scene checkbox.

virtual void makVrv::DtFileCachePage::onCompressTextureChanged ( int  state) [virtual, slot]

Called when the user checks the texture compression checkbox.

Called when the user presses the clear cache button.

virtual void makVrv::DtFileCachePage::onEnableInstancingChanged ( int  state) [virtual, slot]

Called when the user checks the runtime caching checkbox.

virtual void makVrv::DtFileCachePage::onClearInstanceCacheClicked ( ) [virtual, slot]

Called when the user presses the clear instance cache button.

void makVrv::DtFileCachePage::setupGui ( ) [protected]

Sets up the widget's fields.

Non-virtual (Called from CTOR).

Connects widget signals to slots.

Non-virtual (Called from CTOR).

virtual void makVrv::DtFileCachePage::activate ( ) [protected, virtual]

Enable the page.

Implements makVrv::DtPage.

virtual void makVrv::DtFileCachePage::deactivate ( ) [protected, virtual]

Disable the page.

Implements makVrv::DtPage.


Member Data Documentation

Reimplemented from makVrv::DtPage.

Widgets etc.


The documentation for this class was generated from the following file:

Document ID: Generated on Fri Jun 29 16:33:32 EDT 2012 from SVN revision 116588
Copyright © 2005-2012 VT MÄK Inc. All Rights Reserved (www.mak.com)