• RhythmGameQml
  • StandardMainActions
  • StandardMainActions QML Type

    Opens the standard destinations from a main menu. More...

    Import Statement: import RhythmGameQml
    Inherited By:

    StandardMainController

    Properties

    Methods

    Detailed Description

    StandardMainController includes this component and background music. Use StandardMainActions on its own when you only want actions and Start input.

    Create buttons in your theme and connect them to openSelect, openArena, openSettings or quit. The component draws no menu. Each method uses the corresponding globalRoot operation unless you provide a replacement action. A replacement handles the whole operation, and its return value is ignored.

    The component also listens for either player's bound Start button. Start opens song selection while enabled and startOpensSelect are true. Set startOpensSelect to false if your theme handles Start itself.

    See the first menu lesson for an installable example.

    Property Documentation

    openArenaAction : var

    Calls openArenaAction() in place of the standard action.


    openSelectAction : var

    Calls openSelectAction() in place of the standard action.


    openSettingsAction : var

    Calls openSettingsAction() in place of the standard action.


    quitAction : var

    Calls quitAction() in place of the standard action.


    startOpensSelect : bool

    Controls whether the controller Start button opens song selection.


    Method Documentation

    openArena()

    Opens the Arena browser using the replacement or built-in action.


    openSelect()

    Opens song selection using the replacement or built-in action.


    openSettings()

    Opens settings using the replacement or built-in action.


    quit()

    Quits using the replacement or built-in action.