ZG  "1.00
 All Classes Namespaces Files Functions Variables Enumerator Friends Macros Pages
Signals | Public Member Functions | List of all members
ChoirWindow Class Reference

This is the main window of the ZGChoir application. More...

#include <ChoirWindow.h>

Inheritance diagram for ChoirWindow:
Inheritance graph
[legend]

Signals

void SetupTheBells ()
 This signal is emitted at startup to tell the Quasimodo thread to do his setup (start timers, load samples, etc) More...
 
void RequestBells (quint64 bellChord, bool localNotesOnly)
 This signal is emitted at startup to tell the Quasimodo thread to ring some bells now. More...
 
void LocalNoteAssignmentsChanged (quint64 localNotesChord)
 This signal is emitted when the set of bells assigned to us changed, to let Quasimodo know which bells to use now. More...
 
void DestroyTheBells ()
 This signal is emitted at shutdown to tell the Quasimodo thread to free his resources in preparation for exit. More...
 
void SetupTimer ()
 This signal is emitted at startup to tell the music-sheet-player thread to do his setup. More...
 
void SendMusicSheetToPlayer (const choir::ConstMusicSheetRef &newMusicSheet)
 This signal is emitted when our MusicSheet changes, in order to send the new MusicSheet to the music-sheet-player thread. More...
 
void SendPlaybackStateToPlayer (const choir::PlaybackState &newPlaybackState)
 This signal is emitted when our PlaybackState changes, in order to send the new PlaybackState to the music-sheet-player thread. More...
 
void DestroyTimer ()
 This signal is emitted at shutdown to tell the music-player thread to free his resources in preparation for exit. More...
 

Public Member Functions

 ChoirWindow ()
 Default constructor. More...
 
virtual ~ChoirWindow ()
 Destructor. More...
 
virtual void resizeEvent (QResizeEvent *)
 Called when the ZGChoir window is resized. More...
 
virtual void keyPressEvent (QKeyEvent *)
 Called when the user presses a key while the ZGChoir has the focus. More...
 

Detailed Description

This is the main window of the ZGChoir application.

All top-level GUI functionality is handled here.

Definition at line 31 of file ChoirWindow.h.

Constructor & Destructor Documentation

Default constructor.

virtual ~ChoirWindow ( )
virtual

Destructor.

Member Function Documentation

void DestroyTheBells ( )
signal

This signal is emitted at shutdown to tell the Quasimodo thread to free his resources in preparation for exit.

void DestroyTimer ( )
signal

This signal is emitted at shutdown to tell the music-player thread to free his resources in preparation for exit.

virtual void keyPressEvent ( QKeyEvent *  )
virtual

Called when the user presses a key while the ZGChoir has the focus.

void LocalNoteAssignmentsChanged ( quint64  localNotesChord)
signal

This signal is emitted when the set of bells assigned to us changed, to let Quasimodo know which bells to use now.

Parameters
localNotesChorda bit-chord of CHOIR_NOTE_* values indicating which bells are currently assigned to this peer.
void RequestBells ( quint64  bellChord,
bool  localNotesOnly 
)
signal

This signal is emitted at startup to tell the Quasimodo thread to ring some bells now.

Parameters
bellChorda bit-chord of CHOIR_NOTE_* values to play
localNotesOnlyif true, Quasidomodo will ring only those bells in (bellChord) that are assigned to this peer. otherwise Quasimodo will ring all the bells in (bellChord)
virtual void resizeEvent ( QResizeEvent *  )
virtual

Called when the ZGChoir window is resized.

void SendMusicSheetToPlayer ( const choir::ConstMusicSheetRef &  newMusicSheet)
signal

This signal is emitted when our MusicSheet changes, in order to send the new MusicSheet to the music-sheet-player thread.

Parameters
newMusicSheeta read-only reference to the new MusicSheet object
void SendPlaybackStateToPlayer ( const choir::PlaybackState newPlaybackState)
signal

This signal is emitted when our PlaybackState changes, in order to send the new PlaybackState to the music-sheet-player thread.

Parameters
newPlaybackStatethe new playback state for the MusicPlayer to use to control its playback behavior
void SetupTheBells ( )
signal

This signal is emitted at startup to tell the Quasimodo thread to do his setup (start timers, load samples, etc)

void SetupTimer ( )
signal

This signal is emitted at startup to tell the music-sheet-player thread to do his setup.


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