VR-Forces 4.1.1 Class Documentation
List of all members | 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]

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.
- Public Member Functions inherited from makVrv::DtPage
 DtPage (DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 CTOR for page.
virtual ~DtPage ()
 DTOR for page.
- Public Member Functions inherited from makVrv::DtFileCacheInterface
virtual ~DtFileCacheInterface ()
 DTOR.

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
- Protected Attributes inherited from makVrv::DtPage
DtDemyDe

Additional Inherited Members

- Public Attributes inherited from makVrv::DtFileCacheInterface
boost::signal< void(bool)> signal_enableAccelerationCachingChanged
 Signals.
boost::signal< void(bool)> signal_clearOnNewSceneChanged
 Called when the clear on new scene widget state changes.
boost::signal< void(bool)> signal_compressTexturesChanged
 Called when the user checks the texture compression checkbox.
boost::signal< void()> signal_clearAccelerationCache
 Called when the user presses the clear cache button.
boost::signal< void(bool)> signal_enableInstancingChanged
 Called when the user checks the runtime caching checkbox.
boost::signal< void()> signal_clearInstanceCache
 Called when the user presses the clear instance cache button.

Detailed Description

A dialog page controlling file caching.

Constructor & Destructor Documentation

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

CTOR.

virtual makVrv::DtFileCachePage::~DtFileCachePage ( )
virtual

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)
virtualslot

Called when the user checks the file caching checkbox.

virtual void makVrv::DtFileCachePage::onClearOnNewSceneChanged ( int  state)
virtualslot

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

virtual void makVrv::DtFileCachePage::onCompressTextureChanged ( int  state)
virtualslot

Called when the user checks the texture compression checkbox.

virtual void makVrv::DtFileCachePage::onClearAccelerationCacheClicked ( )
virtualslot

Called when the user presses the clear cache button.

virtual void makVrv::DtFileCachePage::onEnableInstancingChanged ( int  state)
virtualslot

Called when the user checks the runtime caching checkbox.

virtual void makVrv::DtFileCachePage::onClearInstanceCacheClicked ( )
virtualslot

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).

void makVrv::DtFileCachePage::connectToSignals ( )
protected

Connects widget signals to slots.

Non-virtual (Called from CTOR).

virtual void makVrv::DtFileCachePage::activate ( )
protectedvirtual

Enable the page.

Implements makVrv::DtPage.

virtual void makVrv::DtFileCachePage::deactivate ( )
protectedvirtual

Disable the page.

Implements makVrv::DtPage.

Member Data Documentation

DtDe& makVrv::DtFileCachePage::myDe
protected
QLabel* makVrv::DtFileCachePage::myAcceleratedLoadingDesc
protected

Widgets etc.

QLabel* makVrv::DtFileCachePage::myInstancingDescriptionLabel
protected
QCheckBox* makVrv::DtFileCachePage::myAcceleratedLoadingCheckBox
protected
QCheckBox* makVrv::DtFileCachePage::myCompressTextureCheckBox
protected
QVBoxLayout* makVrv::DtFileCachePage::myInstanceGroupBoxLayout
protected
QCheckBox* makVrv::DtFileCachePage::myClearOnNewSceneCheckBox
protected
QPushButton* makVrv::DtFileCachePage::myClearButton
protected
QPushButton* makVrv::DtFileCachePage::myClearInstancingButton
protected
DtPersistenceToolbarWidget* makVrv::DtFileCachePage::myToolbar
protected
DtVirtualBaseClass* makVrv::DtFileCachePage::myLogic
protected

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

Document ID: Generated on Mon Apr 8 19:24:01 EDT 2013 from SVN revision 125877
Copyright © 2005-2013 VT MÄK. All Rights Reserved (www.mak.com)