|
roviz
0.7
Code Documentation of roviz
|
Provides a shared window that displays data from all items. More...
#include <shared_window.h>


Public Member Functions | |
| void | addItem (RovizItemBaseDev *item) |
| Add an item to the shared window. More... | |
| void | removeItem (RovizItemBaseDev *item) |
| Remove an item from the shared window. More... | |
| void | load (void) |
| Loads the config (if not already done) and shows the window. | |
| void | closeEvent (QCloseEvent *event) override |
| Called when the window is closed. More... | |
Static Public Member Functions | |
| static SharedWindow * | instance (SettingsScope *proj) |
| Get the SharedWindow instance of a certain project. More... | |
Provides a shared window that displays data from all items.
There is one SharedWindow per project, each one displaying the images of all items on the scene in one aggregated window. It also handles the start/pause/stop mechanism.
| void SharedWindow::addItem | ( | RovizItemBaseDev * | item | ) |
Add an item to the shared window.
| item | The item to add |
All items are added to the shared window right from the beginning, because the shared window also has to handle the start/pause/stop events of the items that are not visible.

|
override |
Called when the window is closed.
| event | The close event |
See QWidget::closeEvent
|
static |
Get the SharedWindow instance of a certain project.
| proj | The current project |
Projects are identified through their SettingsScope.

| void SharedWindow::removeItem | ( | RovizItemBaseDev * | item | ) |
Remove an item from the shared window.
| item | The item to remove |


1.8.13