VR-Vantage 3.2 API Documentation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
List of all members | Public Member Functions | Protected Slots | Protected Attributes
DerivedDialogWidget Class Reference

The main widget for the dialog-page. More...

Inheritance diagram for DerivedDialogWidget:
Inheritance graph
[legend]

Public Member Functions

 DerivedDialogWidget (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DerivedDialogWidget ()
 DTOR.
virtual void setFlipDdsEnabled (bool enabled)
 Enables/disables the Flip DDS checkbox in the base class.
- Public Member Functions inherited from makVrv::DtLoaderSettingsWidget
 DtLoaderSettingsWidget (QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 CTOR.
virtual ~DtLoaderSettingsWidget ()
 DTOR.
virtual void setDdsFlip (bool state) override
 Set the DDS flip enabled state.
virtual void setIndirectBufferUpdateTimeBudget (int milliseconds) override
 Time budget for each indirect geometry, limits how many model buffers the indirect geomtry can be update in a frame.
virtual void setCdbParallelForThreadCount (int threadCount) override
 Set number of threads that CDB model loaders can use in parallel for loops.
- Public Member Functions inherited from makVrv::DtLoaderSettingsInterface
virtual ~DtLoaderSettingsInterface ()
 DTOR.

Protected Slots

virtual void on_enableFlagChanged (int state)
 Converts a Qt signal into a boost-signal.
- Protected Slots inherited from makVrv::DtLoaderSettingsWidget
void on_ddsFlipCheckChanged (int state)
 This slot receives notification that the user changed the DDS flip widget.
void on_indirectBufferUpdateTimeBudgetChanged (int milliseconds)
void on_cdbParallelForThreadCountChanged (int threads)

Protected Attributes

QCheckBoxmyEnableFlagCheckbox
 The new checkbox that extends the base class widget.
- Protected Attributes inherited from makVrv::DtLoaderSettingsWidget
QCheckBoxmyDdsFlipCheckbox
QVBoxLayout * myMainLayout
DtSliderSpinboxWidgetmyIndirectSlider
DtSliderSpinboxWidgetmyCdbThreadSlider

Additional Inherited Members

- Public Attributes inherited from makVrv::DtLoaderSettingsInterface
boost::signalslib::signal
< void(bool)> 
signal_ddsFlipSet
 Emitted by the widget when the user changes a setting.
boost::signalslib::signal
< void(int)> 
signal_indirectBufferUpdateTimeBudget
boost::signalslib::signal
< void(int)> 
signal_cdbParallelForThreadCount
- Public Attributes inherited from ExtraDialogInterface
makVrv::vrvSignalsLib::signal
< void(bool)> 
signal_enableFlagSet
 Signal state changes for the checkbox.
- Protected Member Functions inherited from makVrv::DtLoaderSettingsWidget
void setupGui ()
 Sets up the widget's fields.

Detailed Description

The main widget for the dialog-page.

This class does not contain any application logic, but instead delegates the logic to another object (a logic-object) through signals emitted via the interface of this class. The interface allows the widget or logic to be independently re-factored without affecting the other. This widget extends the existing makVrv::DtLoaderSettingsWidget by adding a new checkbox which (when checked/unchecked) enables/disables the Flip DDS checkbox already existing in the base class.

Examples

Constructor & Destructor Documentation

DerivedDialogWidget::DerivedDialogWidget ( QWidget parent = 0,
Qt::WindowFlags  f = Qt::Widget 
)

CTOR.

virtual DerivedDialogWidget::~DerivedDialogWidget ( )
virtual

DTOR.

Member Function Documentation

virtual void DerivedDialogWidget::setFlipDdsEnabled ( bool  enabled)
virtual

Enables/disables the Flip DDS checkbox in the base class.

Implements ExtraDialogInterface.

virtual void DerivedDialogWidget::on_enableFlagChanged ( int  state)
protectedvirtualslot

Converts a Qt signal into a boost-signal.

This slot is connected to the Qt signal of the new QCheckBox. When called, this slot emits a boost signal_enableFlagSet signal, passing along the current checkbox state.

Member Data Documentation

QCheckBox* DerivedDialogWidget::myEnableFlagCheckbox
protected

The new checkbox that extends the base class widget.


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


Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)