Widget for displaying a single region in the list of a QtRegionShapeManager.
More...
#include <QtSingleRegionShape.qo.h>
|
void | showHide_ (bool show) |
| Slot for checkbox. More...
|
|
void | deleteShape () |
| Deletes this shape by unregistering the region shape and then calling the manager's delete method. More...
|
|
|
void | setupGUI () |
| Sets up the GUI widgets to display information from the underlying region shape. More...
|
|
void | registerShape () |
| Registers the shape on the underlying display panel, if applicable. More...
|
|
void | unregisterShape () |
| Unregisters the shape on the underlying display panel, if applicable. More...
|
|
Widget for displaying a single region in the list of a QtRegionShapeManager.
QtSingleRegionShape is the main interaction between the GUI classes and the underlying RegionShape. Provides widgets for:
-
showing/hiding the region shape
-
deleting the region shape
-
editing the region shape
Is also responsible for registering/unregistering the region shape on the parent QtDisplayPanel as necessary.
Definition at line 53 of file QtSingleRegionShape.qo.h.
Constructor which takes the RegionShape, the manager parent, and the optional composite parent.
If a composite parent is given, some behaviors are different. The constructor will register the RegionShape IF compositeParent is NULL.
casa::QtSingleRegionShape::~QtSingleRegionShape |
( |
| ) |
|
RegionShape* casa::QtSingleRegionShape::compositeParent |
( |
| ) |
|
Returns this shape's composite parent, or NULL if it has none.
void casa::QtSingleRegionShape::deleteShape |
( |
| ) |
|
|
privateslot |
Deletes this shape by unregistering the region shape and then calling the manager's delete method.
void casa::QtSingleRegionShape::edit |
( |
| ) |
|
|
slot |
bool casa::QtSingleRegionShape::isShown |
( |
| ) |
const |
Returns whether this shape is currently showing (registered) on the panel or not.
Returns the parent manager.
Returns the display panel.
void casa::QtSingleRegionShape::refresh |
( |
| ) |
|
Refreshes the GUI display.
void casa::QtSingleRegionShape::registerShape |
( |
| ) |
|
|
private |
Registers the shape on the underlying display panel, if applicable.
void casa::QtSingleRegionShape::setShouldDelete |
( |
bool |
shouldDelete = true | ) |
|
void casa::QtSingleRegionShape::setupGUI |
( |
| ) |
|
|
private |
Sets up the GUI widgets to display information from the underlying region shape.
void casa::QtSingleRegionShape::showHide |
( |
bool |
show, |
|
|
bool |
reportErrors = true |
|
) |
| |
Show/hide the region shape by registering/unregistering.
Referenced by showHide_().
void casa::QtSingleRegionShape::showHide_ |
( |
bool |
show | ) |
|
|
inlineprivateslot |
void casa::QtSingleRegionShape::unregisterShape |
( |
| ) |
|
|
private |
Unregisters the shape on the underlying display panel, if applicable.
RegionShape* casa::QtSingleRegionShape::m_compositeParent |
|
private |
bool casa::QtSingleRegionShape::m_shouldDelete |
|
private |
The documentation for this class was generated from the following file: