Class MaestroControlWidget¶
Defined in File maestrocontrolwidget.h
Class Documentation¶
-
class
MaestroControlWidget
: public QWidget¶ Public Functions
-
MaestroControlWidget
(QWidget *parent)¶ Constructor.
- Parameters
parent
: The QWidget containing this controller.
-
~MaestroControlWidget
()¶
-
bool
get_maestro_modified
() const¶ Returns whether the Maestro has been modified.
- Return
If true, the Maestro has been modified.
-
void
edit_palettes
(QString palette)¶
-
MaestroController *
get_maestro_controller
()¶ Returns the control widget’s MaestroController.
- Return
-
void
load_cuefile
(const QByteArray &byte_array)¶ Loads a Cuefile into the Maestro.
- Parameters
byte_array
: Byte array containing the Cuefile.
-
void
refresh_section_settings
()¶ Updates the UI to reflect a Section change.
-
void
refresh_maestro_settings
()¶ Updates the UI to reflect the Maestro’s current settings.
-
void
run_cue
(uint8_t *cue, int run_targets = (RunTarget::Local | RunTarget::Remote))¶ Forwards the specified Cue to the drawing area and/or serial device.
- Parameters
cue
: Cue to perform.run_targets
: Bitmask of RunTargets specifying where to run the Cue.
-
void
set_maestro_controller
(MaestroController &maestro_controller)¶ Sets the widget’s target MaestroController.
- Parameters
maestro_controller
: New MaestroController.
-
void
set_maestro_modified
(bool modified)¶ Sets whether the Maestro has been modified.
- Parameters
modified
: If true, Maestro has been modified.
-
void
set_refresh_needed
(bool refresh_needed)¶ Sets whether the Maestro has been modified by an actor other than the user (e.g. by a Show)
- Parameters
refresh_needed
: If true, highlight the refresh button
-
void
toggle_maestro_drawing_area
(bool enabled)¶ Enable or disable the MainWindow Maestro output.
- Parameters
enabled
: If true, show Maestro.
Public Members
-
PaletteController
palette_controller_
¶ The controller for managing Palettes.
-
CueController *
cue_controller_
= nullptr¶
-
AnimationCueHandler *
animation_handler
= nullptr¶
-
CanvasCueHandler *
canvas_handler
= nullptr¶
-
MaestroCueHandler *
maestro_handler
= nullptr¶
-
SectionCueHandler *
section_handler
= nullptr¶
-
ShowCueHandler *
show_handler
= nullptr¶
-
QSharedPointer<AnimationControlWidget>
animation_control_widget_
¶
-
QSharedPointer<CanvasControlWidget>
canvas_control_widget_
¶
-
QSharedPointer<DeviceControlWidget>
device_control_widget_
¶
-
QSharedPointer<SectionControlWidget>
section_control_widget_
¶
-
QSharedPointer<ShowControlWidget>
show_control_widget_
¶
-