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

#include <SubItemPropertyWizardPane.hpp>

Inheritance diagram for SubItemPropertyWizardPane:
Inheritance graph
[legend]

Public Slots

void selectTypeFor (QAbstractButton *button)
 

Public Member Functions

 SubItemPropertyWizardPane (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 ()
 

Private Member Functions

int selectedIndex ()
 

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

A SubItemPropertyWizardPane instance displays the user interface for editing a particular sub-item in an item list property. 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

◆ SubItemPropertyWizardPane()

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

◆ selectedIndex()

int SubItemPropertyWizardPane::selectedIndex ( )
private

This function returns the zero-based index of the currently selected item for this combination of target simulation item and item list property.

◆ selectTypeFor

void SubItemPropertyWizardPane::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: