|
SILICON
|
#include <waveformController.hpp>
Public Member Functions | |
| WaveformController (ProjectSession &session, DiagramScene &scene, ProjectDocumentController &documents, QWidget *window) | |
| ~WaveformController () override | |
| void | bindActions (const WaveformActions &actions) |
| Connects the main-window waveform actions to their viewer commands. | |
| void | toggle (bool enabled) |
Private Member Functions | |
| void | handleActiveDocumentChanged (const QString &path, SILICON::project::DocumentCategory category) |
| Keeps the viewer bound to the diagram that is now active. | |
| void | closeViewer () |
| Hides the viewer and leaves the scene in a non-simulating state. | |
| void | setTraceActionChecked (bool checked) |
Private Attributes | |
| DiagramScene & | scene |
| QAction * | toggleAction = nullptr |
| waveform::Viewer * | viewer = nullptr |
| QString | activeDocumentPath |
| bool | activeIsDiagram = false |
| std::unique_ptr< QDialog > | window |
| CallbackScope | callbacks |
Owns the waveform window and its scene connections.
Definition at line 36 of file waveformController.hpp.
| WaveformController | ( | ProjectSession & | session, |
| DiagramScene & | scene, | ||
| ProjectDocumentController & | documents, | ||
| QWidget * | window ) |
Definition at line 36 of file waveformController.cpp.
|
overridedefault |
| void bindActions | ( | const WaveformActions & | actions | ) |
Connects the main-window waveform actions to their viewer commands.
Definition at line 74 of file waveformController.cpp.
|
private |
Hides the viewer and leaves the scene in a non-simulating state.
Definition at line 126 of file waveformController.cpp.
|
private |
Keeps the viewer bound to the diagram that is now active.
Definition at line 99 of file waveformController.cpp.
|
private |
Definition at line 118 of file waveformController.cpp.
| void toggle | ( | bool | enabled | ) |
Definition at line 83 of file waveformController.cpp.
|
private |
Definition at line 58 of file waveformController.hpp.
|
private |
Definition at line 59 of file waveformController.hpp.
|
private |
Definition at line 61 of file waveformController.hpp.
|
private |
Definition at line 55 of file waveformController.hpp.
|
private |
Definition at line 56 of file waveformController.hpp.
|
private |
Definition at line 57 of file waveformController.hpp.
|
private |
Definition at line 60 of file waveformController.hpp.