|
Pokered Save Editor 2
Pokemon Red & Blue save file editor - Qt 6 C++/QML
|
One registered screen: its QML url, title, and modal/home-button flags. More...
#include <router.h>
Public Member Functions | |
| protected::void | modalChanged () |
| < Opens as a full-window modal. | |
| void | titleChanged () |
| void | urlChanged () |
| void | homeBtnChanged () |
| Screen () | |
| Empty screen. | |
| Screen (bool modal, QString title, QString url, bool homeBtn=true) | |
| Fully-specified screen. | |
Public Attributes | |
| bool | modal = false |
| QString | title = "" |
| QString | url = "" |
| bool | homeBtn = true |
One registered screen: its QML url, title, and modal/home-button flags.
A small record in the Router's screen registry. modal screens take over the whole window; homeBtn controls whether the header shows a home button.
| Screen::Screen | ( | ) |
Empty screen.
Definition at line 27 of file router.cpp.
| Screen::Screen | ( | bool | modal, |
| QString | title, | ||
| QString | url, | ||
| bool | homeBtn = true ) |
| protected::void Screen::modalChanged | ( | ) |
< Opens as a full-window modal.
Header title for the screen. QML file url for the screen. Whether the home button shows.
| void Screen::titleChanged | ( | ) |
| void Screen::urlChanged | ( | ) |
| bool Screen::homeBtn = true |
Definition at line 59 of file router.h.
Referenced by Router::closeScreen(), homeBtnChanged(), and Screen().
| bool Screen::modal = false |
Definition at line 51 of file router.h.
Referenced by Router::closeScreen(), homeBtnChanged(), and Screen().
| QString Screen::title = "" |
Definition at line 54 of file router.h.
Referenced by Router::closeScreen(), homeBtnChanged(), and Screen().
| QString Screen::url = "" |
Definition at line 57 of file router.h.
Referenced by homeBtnChanged(), and Screen().