The SKIRT project
advanced radiative transfer for astrophysics
ItemPropertyWizardPane Class Reference

#include <ItemPropertyWizardPane.hpp>

Inheritance diagram for ItemPropertyWizardPane:

Public Slots

void selectTypeFor (QAbstractButton *button)

Public Member Functions

 ItemPropertyWizardPane (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 ItemPropertyWizardPane instance displays the user interface corresponding to an ItemPropertyHandler. When the user makes a choice, a new simulation item of the selected type is created and stored in the target property.

Constructor & Destructor Documentation

◆ ItemPropertyWizardPane()

ItemPropertyWizardPane::ItemPropertyWizardPane ( 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

◆ selectTypeFor

void ItemPropertyWizardPane::selectTypeFor ( QAbstractButton * button)
slot

This function creates a simulation item of the type selected by the user and stores it into the target property.


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