Adds F2, F3, F11 and F12 actions to a selector. More...
| Import Statement: | import RhythmGameQml |
Assign selectState for the standard reload and open-folder operations. StandardSelectController already includes the shortcuts, so use this component separately only when composing your own selector.
| Key | Action |
|---|---|
| F2 | Use reloadAction if set. Otherwise ask the state to reload, then emit reloadRequested if it cannot handle the request. |
| F3 | Use openSelectedFolderAction if set. Otherwise ask the state to open the folder, then emit openSelectedFolderRequested if unhandled. |
| F11 | Use openInternetRankingAction if set, otherwise emit openInternetRankingRequested. |
| F12 | Use openSettingsAction if set, otherwise open Settings. |
Without selectState, F2 and F3 emit their request signals unless a replacement action is supplied. A replacement handles the whole operation, and its return value is ignored. Each shortcut can be disabled separately. Disabling the component disables all four.
openInternetRankingAction : var |
Calls openInternetRankingAction() in place of the F11 request signal.
openInternetRankingEnabled : bool |
Controls whether the F11 shortcut is active.
openSelectedFolderAction : var |
Calls openSelectedFolderAction() in place of F3.
openSelectedFolderEnabled : bool |
Controls whether the F3 shortcut is active.
openSettingsAction : var |
Calls openSettingsAction() in place of F12.
openSettingsEnabled : bool |
Controls whether the F12 settings shortcut is active.
reloadAction : var |
Calls reloadAction() in place of F2.
reloadEnabled : bool |
Controls whether the F2 shortcut is active.
selectState : StandardSelectState |
Standard selection state used by the built-in F2 and F3 implementations.
openInternetRankingRequested() |
Emitted when F11 requests the theme's ranking view.
Note: The corresponding handler is onOpenInternetRankingRequested.
openSelectedFolderRequested() |
Emitted when no replacement handles F3 and the state cannot open the folder.
Note: The corresponding handler is onOpenSelectedFolderRequested.
reloadRequested() |
Emitted when no replacement handles F2 and the state cannot reload.
Note: The corresponding handler is onReloadRequested.