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

#include <CreateRootWizardPane.hpp>

Inheritance diagram for CreateRootWizardPane:
Inheritance graph
[legend]

Public Slots

void selectTypeFor (QAbstractButton *button)
 

Signals

void rootTypeChanged (string newRootType)
 

Public Member Functions

 CreateRootWizardPane (const SchemaDef *schema, string initialType, QObject *target)
 

Detailed Description

A CreateRootWizardPane instance displays the user interface for selecting the type of the root item of a SMILE dataset. When the user makes a choice, the selected type is passed on to the target object.

Constructor & Destructor Documentation

◆ CreateRootWizardPane()

CreateRootWizardPane::CreateRootWizardPane ( const SchemaDef schema,
string  initialType,
QObject *  target 
)
explicit

The default (and only) constructor creates and initializes the GUI for this pane. The first argument specifies the schema definition for the dataset under construction. The second argument specifies the name of the current root type, which is used to determine the choice that will be selected when the pane is initially displayed. If the name is empty, none of the choices will be selected. The third argument specifies the object that will be notified of changes in the selection through invocation of the object's setRootType() slot.

Member Function Documentation

◆ rootTypeChanged

void CreateRootWizardPane::rootTypeChanged ( string  newRootType)
signal

This signal is emitted when the user selects a new root type.

◆ selectTypeFor

void CreateRootWizardPane::selectTypeFor ( QAbstractButton *  button)
slot

This function passed the type selected by the user to the target object by invoking its setRootType() slot.


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