![]() |
ImFusion SDK 4.3
|
#include <ImFusion/Stream/TrackingInstrumentTable.h>
Widget to display and modify the TrackingInstruments of a TrackingStream. More...
Inheritance diagram for TrackingInstrumentTable:Widget to display and modify the TrackingInstruments of a TrackingStream.
Public Member Functions | |
| TrackingInstrumentTable (TrackingStream &stream, Flags< InstrumentTableConfiguration > config, QWidget *parent=nullptr) | |
| Constructor for given TrackingStream and user-defined configuration. | |
| bool | selectInstrument (const std::string &trackerId) |
Selects the instrument by id if trackerId is found, otherwise selection is not changed (requires InstrumentTableConfiguration::SelectInstrument flag). | |
| std::string | selectedInstrument () const |
| Returns the id of the currently selected tracking instrument (requires InstrumentTableConfiguration::SelectInstrument flag otherwise empty string is returned). | |
Public Member Functions inherited from SignalReceiver | |
| SignalReceiver ()=default | |
| Default constructor. | |
| SignalReceiver (const SignalReceiver &other) | |
| Copy constructor, does not copy any existing signal connections from other. | |
| SignalReceiver & | operator= (SignalReceiver rhs) |
| Assignment operator, disconnects all existing connections, does not copy any existing signal connections from rhs. | |
| virtual | ~SignalReceiver () |
| Virtual destructor disconnects from all connected signals. | |
Public Attributes | |
| Signal< const std::string & > | signalSelectedInstrumentChanged |
| Signal emits the tracker ID when the selection changed. | |
Protected Member Functions | |
| void | resizeEvent (QResizeEvent *event) override |
| Calls updateColumnWidths to resize the columns correctly after table resizing. | |
Protected Member Functions inherited from SignalReceiver | |
| void | disconnectAll () |
| Disconnects all existing connections. | |
| bool selectInstrument | ( | const std::string & | trackerId | ) |
Selects the instrument by id if trackerId is found, otherwise selection is not changed (requires InstrumentTableConfiguration::SelectInstrument flag).
Returns true if the specified instrument could be selected, false otherwise.