Native class

SGBAAttributeSetWizard#

  • Declared in "Slate/SGBAAttributeSetWizard.h"
class SGBAAttributeSetWizard : public SCompoundWidget

Main slate widget wrapping a wizard with:

Wizard -> SGBAClassInfo -> SGBAHeaderView

Methods#

  • public
    • Construct&
    void
    Construct(​
    const FArguments& InArgs,
    const FAssetData& InAssetData
    )

    Constructs this widget with InArgs

    • SLATE_BEGIN_ARGS&
    • Tick&
    virtual void
    Tick(​
    const FGeometry& AllottedGeometry,
    const double InCurrentTime,
    const float InDeltaTime
    )

    Runs periodic check to check the class name/path for validity in case the disk contents changed and the location is now valid or invalid.

  • protected
    • CancelClicked&
    void

    Handler for when cancel is clicked

    • CanFinish&
    bool
    CanFinish(​) const

    Returns true if Finish is allowed

    • CloseContainingWindow&

    Closes the window that contains this widget

    • FinishClicked&
    void

    Handler for when finish is clicked

    • GetBlueprintName&
    static FString
    GetBlueprintName(​
    const FAssetData& InAssetData
    )

    Returns blueprint of passed in asset data, if it's a valid UBlueprint

    • GetGlobalErrorLabelText&
    FText

    Gets the text to display in the global error label

    • GetGlobalErrorLabelVisibility&
    EVisibility

    Gets the visibility of the global error label

    • HandleClassInfoChanged&
    void
    HandleClassInfoChanged(​
    const FNewClassInfo& InOldClassInfo,
    const FNewClassInfo& InNewClassInfo
    ) const

    Handler for when class parent is changed in model. Used to update the list of require module dependencies

    • HandleSelectedBlueprintChanged&
    void
    HandleSelectedBlueprintChanged(​
    const TWeakObjectPtr<UBlueprint>& InOldBlueprint,
    const TWeakObjectPtr<UBlueprint>& InNewBlueprint
    ) const

    Handler for when selected blueprint is changed in model. Used to update the list of require module dependencies

    • HandleSelectedModuleInfoChanged&
    void
    HandleSelectedModuleInfoChanged(​
    const TSharedPtr<FModuleContextInfo>& InOldModuleContextInfo,
    const TSharedPtr<FModuleContextInfo>& InNewModuleContextInfo
    ) const

    Handler for when selected module is changed in model. Used to update the list of require module dependencies

    • UpdateRequiredModuleDependenciesIfNeeded&
  • public
    • ~SGBAAttributeSetWizard&

Fields#

  • protected
    • AssetData&
    FAssetData AssetData

    Cached argument asset data to pass down to header view

    • HeaderViewWidget&
    TSharedPtr<SGBAHeaderView> HeaderViewWidget

    Header View widget

    • ViewModel&
    TSharedPtr<FGBAAttributeSetWizardViewModel> ViewModel

    Main model

    • Wizard&
    TSharedPtr<SWizard> Wizard

    Main wizard