VR-Engage  2.2
Loading...
Searching...
No Matches
makVrv::DtRadioPageCreator Class Reference

Detailed Description

This class is responsible for creating instances of the DtRadioPage class. It implements the factory pattern to create and initialize radio pages.

#include <radioPage.h>

Inheritance diagram for makVrv::DtRadioPageCreator:
[legend]

Public Member Functions

 DtRadioPageCreator (DtDe &de)
 
virtual ~DtRadioPageCreator ()
 
virtual std::string pageClassName () const
 
virtual DtPage * create (QWidget *parent=0, Qt::WindowFlags f=0)
 

Constructor & Destructor Documentation

◆ DtRadioPageCreator()

makVrv::DtRadioPageCreator::DtRadioPageCreator ( DtDe & de)

Constructor.

Parameters
deThe document environment providing access to application resources

Creates a new radio page creator with the specified document environment.

References de().

◆ ~DtRadioPageCreator()

virtual makVrv::DtRadioPageCreator::~DtRadioPageCreator ( )
virtual

Virtual destructor.

Cleans up resources used by the radio page creator.

Member Function Documentation

◆ pageClassName()

virtual std::string makVrv::DtRadioPageCreator::pageClassName ( ) const
virtual

Gets the name of the page class this creator creates.

Returns
The unique class name string for the created page type

Returns the unique class name that identifies the type of page this creator produces. This is NOT the title of the page. When replacing a page in the application, the pageClassName should remain the same to ensure proper page replacement behavior.

◆ create()

virtual DtPage * makVrv::DtRadioPageCreator::create ( QWidget * parent = 0,
Qt::WindowFlags f = 0 )
virtual

Creates a new radio page instance.

Parameters
parentThe parent widget (optional)
fWindow flags (optional)
Returns
Pointer to the newly created page

Creates and initializes a new instance of DtRadioPage with the specified parent widget and window flags.


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