The main window content of the Singularity karaoke application. More...
| Header: | #include <Singularity> |
| Since: | 1.0 |
| Inherits: | QWidget |
Singularity is a stack of pages: the lobby, the track inventory, the sing session, the scores, the high scores, the players, the settings and a debug page. It moves between them as a game goes on: the user picks a track in the inventory, sings it in the session, and sees the score after.
It is created without a store. configure() binds the Settings its host owns and builds everything that depends on it: the track database, the audio graph and the jingle player. Call configure() once, before the widget is shown; a null store means nothing is saved. SingularityMain creates it directly, or inside a LaserWrapper that adds an animated background.
See also SingularityMain.