VR-Forces 4.7 Class Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions
makVrf::DtVrfFileCachePage Class Reference

Override to hide clear instances on new scene check box which is not used by VR-Forces. More...

Inheritance diagram for makVrf::DtVrfFileCachePage:
Inheritance graph
[legend]

Public Member Functions

 DtVrfFileCachePage (makVrv::DtDe &de, QWidget *parent=0, Qt::WindowFlags f=0)
 Constructor of the page.
virtual ~DtVrfFileCachePage ()
 DTOR.
- Public Member Functions inherited from makVrv::DtFileCachePage
 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.
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.
virtual PageAction pageAction ()
 return the current action on the page
virtual void setPageAction (PageAction action)
 set the curret action on the page
virtual void setActionFlag (int flag)
 set the action flag of the page
virtual int actionFlag ()
 return the action flag of the page
virtual void setParentDialog (QWidget *paraentDialog)
 set the parent dialog that owns this page
virtual QWidget * parentDialog ()
 return the parent dialog that own this page
virtual bool shouldAskBeforeAction (PageAction action)
 test the action flag with the action, return true if we should ask before executing the action /param action the current page action
virtual void askBeforeAction ()
 Called when the action flag is set and before the action is beind executed, default do nothing.
virtual void executeAfterAsk (bool revert)
 Called after askBeforeAction(), whether user wants to revert the action or resume the action /param revert if true, the user wants to revert the action, otherwise resume it.
virtual void resumeLastAction ()
 resume the last action of the page
virtual void onCloseEvent ()
 will be called when user hit the close button of this page, default do nothing.
virtual void onSwitchEvent ()
 will be called when user try switch to another page, default do nothing.
- Public Member Functions inherited from makVrv::DtFileCacheInterface
virtual ~DtFileCacheInterface ()
 DTOR.

Additional Inherited Members

- Public Types inherited from makVrv::DtPage
enum  PageAction { None = 0x0000, Switching = 0x0001, Closing = 0x0010 }
- Public Slots inherited from makVrv::DtFileCachePage
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.
- Static Public Member Functions inherited from makVrv::DtFileCachePage
static const std::string & thePageClassName ()
 Get the class name of the page (static).
- 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.
- Protected Member Functions inherited from makVrv::DtFileCachePage
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 inherited from makVrv::DtFileCachePage
QLabelmyAcceleratedLoadingDesc
 Widgets etc.
QLabelmyInstancingDescriptionLabel
QCheckBoxmyAcceleratedLoadingCheckBox
QCheckBoxmyCompressTextureCheckBox
QVBoxLayout * myInstanceGroupBoxLayout
QCheckBoxmyClearOnNewSceneCheckBox
QPushButtonmyClearButton
QPushButtonmyClearInstancingButton
DtPersistenceToolbarWidgetmyToolbar
DtVirtualBaseClassmyLogic

Detailed Description

Override to hide clear instances on new scene check box which is not used by VR-Forces.

Constructor & Destructor Documentation

makVrf::DtVrfFileCachePage::DtVrfFileCachePage ( makVrv::DtDe de,
QWidget *  parent = 0,
Qt::WindowFlags  f = 0 
)

Constructor of the page.

virtual makVrf::DtVrfFileCachePage::~DtVrfFileCachePage ( )
virtual

DTOR.


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

Document ID: Generated on Fri Apr 26 21:53:14 EDT 2019 from SVN revision 197883
Copyright © 2005-2019 VT MAK. All Rights Reserved (www.mak.com)