Loading...
Searching...
No Matches
Inheritance diagram for score::StartScreen:

Public Member Functions

 StartScreen (const QPointer< QRecentFilesMenu > &recentFiles, QWidget *parent=nullptr)
 
void openNewDocument ()
 
void openFile (const QString &file)
 
void openTemplate (const QString &file)
 Opens the file as a new untitled document (templates, examples).
 
void openFileDialog ()
 
void loadCrashedSession ()
 
void joinSession ()
 Join a collaborative session hosted by another instance of score.
 
void exitApp ()
 
void addLoadCrashedSession ()
 Shows the "Restore last session" entry.
 
void addJoinSession ()
 Shows the "Join a collaborative session" entry.
 
void dismiss ()
 Closes the start screen without opening anything (something else took over).
 
void reopen ()
 Shows the start screen again after an action that led nowhere (cancelled dialog...)
 

Static Public Attributes

static constexpr int Width = 880
 
static constexpr int Height = 640
 
static constexpr int HeaderHeight = 220
 
static constexpr int NavWidth = 190
 
static constexpr int MaxRecentFiles = 8
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 
bool eventFilter (QObject *watched, QEvent *event) override
 
void keyPressEvent (QKeyEvent *event) override
 
void closeEvent (QCloseEvent *event) override
 
void showEvent (QShowEvent *event) override
 

The documentation for this class was generated from the following file: