Widget for viewing information about the selected mesh in a rendering window.
#include <Rendering/Widgets/selectedmeshwidget.h>
Inherits QWidget.
◆ SelectedMeshWidget()
◆ ~SelectedMeshWidget()
◆ elementSelected
◆ getAllowUpdateRequests()
bool getAllowUpdateRequests |
( |
| ) |
const |
◆ nodeSelected
◆ selectModel
- Parameters
-
item | Information specifying which model to select (e.g. id) |
filter | Information about the type of selection that was made (e.g. was the whole model selected, or just one of its elements?) |
Select the specified model in the widget, and display its information.
◆ selectNone
◆ setAllowUpdateRequests()
void setAllowUpdateRequests |
( |
bool |
b | ) |
|
- Parameters
-
b | If true, we are allowing update requests from this widget. |
This function allows the UI designer to decide whether they want to allow this widget to request updates from MeshModelSource operations on the underlying workflow. This means that in the case that a selection was performed a cached copy of MeshModelInterface data, such that the original MeshModelInterface data is not in memory, the widget will request that that data be brought into memory so that it can display the relevant information.
- See also
- getAllowUpdateRequests
◆ sizeHint()