|
ddt
0.1
|
#include <ddtGraphicalOverlay.hpp>
Public Member Functions | |
| DdtGraphicalOverlay () | |
| virtual | ~DdtGraphicalOverlay () |
| void | AddGraphicalElement (DdtGraphicalElement *element) |
| void | RemoveGraphicalElement (DdtGraphicalElement *element) |
| QList< DdtGraphicalElement * > * | GetListOfGraphicalElements () |
| QList< DdtGraphicalElement * > | GetElementByTag (QString tag) |
| void | ShowAllElements () |
| void | HideAllElements () |
| void | ShowElementsOfType (DdtOverlayType type) |
| void | HideElementsOfType (DdtOverlayType type) |
| void | ShowElementsOfTag (QString tag) |
| void | HideElementsOfTag (QString tag) |
| void | RemoveElementsOfType (DdtOverlayType type) |
Protected Member Functions | |
| void | SetShowHideFlags (DdtOverlayType type, bool show, QString tag="") |
Class for the graphical overlays
|
explicitdefault |
Constructor
|
virtualdefault |
Destructor
| void DdtGraphicalOverlay::AddGraphicalElement | ( | DdtGraphicalElement * | element | ) |
Adds a graphical element to the overlay
| element | Pointer to the element object |
| QList< DdtGraphicalElement * > DdtGraphicalOverlay::GetElementByTag | ( | QString | tag | ) |
Return a list of graphical elements with a given tag that are contained in the overlay
| QList< DdtGraphicalElement * > * DdtGraphicalOverlay::GetListOfGraphicalElements | ( | ) |
Return a list of graphical elements that are contained in the overlay
| void DdtGraphicalOverlay::HideAllElements | ( | ) |
Removes the show flag for all elements in the overlay
| void DdtGraphicalOverlay::HideElementsOfTag | ( | QString | tag | ) |
Removes the show flag for all elements of a given tag in the overlay
| tag | Overlay element tag |
| void DdtGraphicalOverlay::HideElementsOfType | ( | DdtOverlayType | type | ) |
Removes the show flag for all elements of a given type in the overlay
| type | Overlay element type |
| void DdtGraphicalOverlay::RemoveElementsOfType | ( | DdtOverlayType | type | ) |
Remove all elements of given type
| type | Overlay element type |
| void DdtGraphicalOverlay::RemoveGraphicalElement | ( | DdtGraphicalElement * | element | ) |
Removes a graphical elemet from the overlay
| element | Pointer to the element object |
|
protected |
Set show / hide flags for different elements selected by type, tag etc. Optional argument tag can be used to filer by tag
| type | Type of overlay element |
| show | Show or hide flag |
| tag | Tag of elements to show or hide |
| void DdtGraphicalOverlay::ShowAllElements | ( | ) |
Sets the show flag for all elements in the overlay
| void DdtGraphicalOverlay::ShowElementsOfTag | ( | QString | tag | ) |
Sets the show flag for all elements of a given tag in the overlay
| tag | Overlay element tag |
| void DdtGraphicalOverlay::ShowElementsOfType | ( | DdtOverlayType | type | ) |
Sets the show flag for all elements of a given type in the overlay
| type | Overlay element type |