VR-Forces 5.0.3 Developer's Guide
 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. 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
Inheritance diagram for DerivedDialogWidget:
Inheritance graph
[legend]

Public Member Functions

 DerivedDialogWidget (QWidget *parent=0, Qt::WindowFlags f=Qt::Widget)
 
virtual ~DerivedDialogWidget ()
 
virtual void setFlipDdsEnabled (bool enabled)
 
- Public Member Functions inherited from makVrv::DtLoaderSettingsWidget
 DtLoaderSettingsWidget (QWidget *parent, Qt::WindowFlags f=Qt::Widget)
 
virtual ~DtLoaderSettingsWidget ()
 
virtual void setDdsFlip (bool state)
 
- Public Member Functions inherited from makVrv::DtLoaderSettingsInterface
virtual ~DtLoaderSettingsInterface ()
 

Protected Slots

virtual void on_enableFlagChanged (int state)
 
- Protected Slots inherited from makVrv::DtLoaderSettingsWidget
void on_ddsFlipCheckChanged (int state)
 

Protected Attributes

QCheckBoxmyEnableFlagCheckbox
 
- Protected Attributes inherited from makVrv::DtLoaderSettingsWidget
QCheckBoxmyDdsFlipCheckbox
 
QVBoxLayout * myMainLayout
 

Additional Inherited Members

- Public Attributes inherited from makVrv::DtLoaderSettingsInterface
boost::signalslib::signal
< void(bool)> 
signal_ddsFlipSet
 
- Public Attributes inherited from ExtraDialogInterface
boost::signalslib::signal
< void(bool)> 
signal_enableFlagSet
 
- Protected Member Functions inherited from makVrv::DtLoaderSettingsWidget
void setupGui ()
 

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:

Document ID: Generated on Thu Jun 1 17:58:13 EDT 2023 from SVN revision 255404
Copyright © 2005-2021 MAK Technologies. All Rights Reserved (www.mak.com)