#include <legendoverlay.h>
|
| void | hideRequested () |
| | Emitted when the user selects "Hide Legend" from the context menu. The toolbar should toggle actionShowLegend off to match; the overlay itself only calls hide().
|
| |
◆ LegendOverlay()
| openswmmvis::ui::LegendOverlay::LegendOverlay |
( |
MapCanvas * |
canvas | ) |
|
|
explicit |
◆ ~LegendOverlay()
| openswmmvis::ui::LegendOverlay::~LegendOverlay |
( |
| ) |
|
|
override |
◆ contextMenuEvent()
| void openswmmvis::ui::LegendOverlay::contextMenuEvent |
( |
QContextMenuEvent * |
event | ) |
|
|
overrideprotected |
◆ eventFilter()
| bool openswmmvis::ui::LegendOverlay::eventFilter |
( |
QObject * |
watched, |
|
|
QEvent * |
event |
|
) |
| |
|
overrideprotected |
◆ hideRequested
| void openswmmvis::ui::LegendOverlay::hideRequested |
( |
| ) |
|
|
signal |
Emitted when the user selects "Hide Legend" from the context menu. The toolbar should toggle actionShowLegend off to match; the overlay itself only calls hide().
◆ mouseMoveEvent()
| void openswmmvis::ui::LegendOverlay::mouseMoveEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mousePressEvent()
| void openswmmvis::ui::LegendOverlay::mousePressEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ mouseReleaseEvent()
| void openswmmvis::ui::LegendOverlay::mouseReleaseEvent |
( |
QMouseEvent * |
event | ) |
|
|
overrideprotected |
◆ paintEvent()
| void openswmmvis::ui::LegendOverlay::paintEvent |
( |
QPaintEvent * |
event | ) |
|
|
overrideprotected |
◆ setCanvas()
| void openswmmvis::ui::LegendOverlay::setCanvas |
( |
MapCanvas * |
canvas | ) |
|
Re-bind to a (possibly null) canvas; disconnects from the old canvas's signals and connects to the new one's.
◆ setStyle()
Swap in a different (project- or canvas-scoped) style. The overlay disconnects from the previous style's signals and takes ownership of style only if takeOwnership is true.
◆ style()
Returns the LegendOverlayStyle this overlay paints with. Never null while the overlay exists. Caller should not delete the returned object.
The documentation for this class was generated from the following files: