The SKIRT project
advanced radiative transfer for astrophysics
Public Slots | Public Member Functions | List of all members
EnumPropertyWizardPane Class Reference

#include <EnumPropertyWizardPane.hpp>

Inheritance diagram for EnumPropertyWizardPane:
Inheritance graph
[legend]

Public Slots

void updateValueFor (QAbstractButton *button)
 

Public Member Functions

 EnumPropertyWizardPane (std::unique_ptr< PropertyHandler > handler, QObject *target)
 
- Public Member Functions inherited from PropertyWizardPane
 PropertyWizardPane (std::unique_ptr< PropertyHandler > handler, QObject *target)
 
 ~PropertyWizardPane ()
 
PropertyHandlerhandler ()
 
virtual void updateInterface ()
 

Additional Inherited Members

- Signals inherited from PropertyWizardPane
void propertyValidChanged (bool valid)
 
void propertyValueChanged ()
 
- Protected Member Functions inherited from PropertyWizardPane
QLabel * createHeader (string text)
 
template<class T >
T * handlerCast ()
 
void showEvent (QShowEvent *event) override
 

Detailed Description

An EnumPropertyWizardPane instance displays the user interface corresponding to an EnumPropertyHandler. When the user makes a choice, the corresponding value is updated in the target property.

Constructor & Destructor Documentation

◆ EnumPropertyWizardPane()

EnumPropertyWizardPane::EnumPropertyWizardPane ( std::unique_ptr< PropertyHandler handler,
QObject *  target 
)
explicit

The default (and only) constructor creates and initializes the GUI for this pane. For a description of the arguments, see the PropertyWizardPane constructor.

Member Function Documentation

◆ updateValueFor

void EnumPropertyWizardPane::updateValueFor ( QAbstractButton *  button)
slot

This function stores the value corresponding to the specified button into the target property.


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