Class ShowControlWidget¶
Defined in File showcontrolwidget.h
Class Documentation¶
-
class
ShowControlWidget: public QWidget¶ Public Functions
-
ShowControlWidget(QWidget *parent = nullptr)¶
-
~ShowControlWidget()¶
-
void
add_event_to_history(uint8_t *cue)¶ Adds a Cue to the event history list.
- Parameters
cue: Cue to add.
-
bool
get_maestro_locked() const¶ Returns whether the user has locked the Maestro for editing.
- Return
If true, Maestro is locked.
-
void
initialize()¶
-
void
refresh()¶ Updates the UI in the event of a Maestro change.
-
void
set_maestro_locked(bool locked)¶ Sets whether the Maestro is locked for editing.
- Parameters
locked: If true, Cues won’t change the Maestro.
Protected Functions
-
bool
eventFilter(QObject *watched, QEvent *event)¶ Handle keypress events.
- Return
True on success.
- Parameters
watched: Object that the keypress occurred in.event: Keypress event.
-