The UserInterface class defines the methods and signals that a user interface needs to have. More...
#include <userinterface.h>
Protected Member Functions | |
virtual void | calculationCancelRequested ()=0 |
Emitted when the user requests to cancel the calculation. | |
virtual void | calculationContinueRequested ()=0 |
Emitted when the user requests to continue the calculation. | |
virtual void | calculationPauseRequested ()=0 |
Emitted when the user requests to pause the calculation. | |
virtual void | calculationStartRequested ()=0 |
Emitted when the user requests to start the calculation. | |
virtual void | calculationStopRequested ()=0 |
Emitted when the user requests to stop the calculation. | |
virtual void | calibrationPointsReady (const std::vector< CalibrationPoint > &points)=0 |
Emitted when the user has set all the calibration points. More... | |
virtual void | exportRequested (const ExportOptions &options)=0 |
Emitted when the user requests to export data from the graph. More... | |
virtual void | generalSettingsChanged (const GeneralSettings &settings)=0 |
Emitted when the user changes a general setting. More... | |
virtual void | graphPositionSelected (FrameTime time)=0 |
Emitted when the user selects a position in the activity graph. More... | |
virtual void | locationChanged (int x, int y)=0 |
Emitted when the interface is moved. More... | |
virtual void | markersReady (const std::vector< GraphMarker > &markers)=0 |
Emitted when the user has placed all the markers. More... | |
virtual void | metadataOpened (const std::string &path)=0 |
Emitted when the user requests to open a metadata file. More... | |
virtual void | metadataReady (const Metadata &metadata)=0 |
Emitted when the user has input all the metadata. More... | |
virtual void | newMeasurementRequested ()=0 |
Emitted when the user wants to start a new measurement. | |
virtual void | openMeasurementRequested (const std::string &path)=0 |
Emitted when the user wants to open an existing measurement. More... | |
virtual void | redoMeasurementRequested ()=0 |
Emitted when the user wants to redo the measurement. | |
virtual void | refreshRequested ()=0 |
Emitted when the user requests to refresh cameras. | |
virtual void | sizeChanged (int width, int height, bool fullscreen)=0 |
Emitted when the size of the interface changes. More... | |
virtual void | sourceAddRequested (const std::string &path)=0 |
Emitted when the user adds a new video source. More... | |
virtual void | sourcePauseRequested (SourceID source)=0 |
Emitted when the user requests to pause a source. More... | |
virtual void | sourcePlayRequested (SourceID source)=0 |
Emitted when the user requests to play a source. More... | |
virtual void | sourceSeekRequested (SourceID source, FrameTime position)=0 |
Emitted when the user requests to seek a source to a certain position. More... | |
virtual void | sourceRemoveRequested (SourceID source)=0 |
Emitted when the user removes a source. More... | |
virtual void | sourceSettingsChanged (SourceID source, const SourceSettings &settings)=0 |
Emitted when the user changes a setting for a source. More... | |
virtual void | sourceStepBackward (SourceID source)=0 |
Emitted when the user steps a video one frame back. More... | |
virtual void | sourceStepForward (SourceID source)=0 |
Emitted when the user steps a video one frame forward. More... | |
virtual void | statisticsRequested (FrameTime start, FrameTime stop, int points)=0 |
Emitted when the user wants the frame statistics to be retrieved. More... | |
virtual void | interfaceClosed ()=0 |
Emitted when the user closes the interface. | |
Friends | |
class | Controller |
The UserInterface class defines the methods and signals that a user interface needs to have.
|
protectedpure virtual |
Emitted when the user has set all the calibration points.
points | The set of calibration points. |
|
protectedpure virtual |
Emitted when the user requests to export data from the graph.
options | The parameters for the export. |
|
protectedpure virtual |
Emitted when the user changes a general setting.
settings | The new GeneralSettings object. |
|
protectedpure virtual |
Emitted when the user selects a position in the activity graph.
time | The time of the position. |
|
protectedpure virtual |
Emitted when the interface is moved.
x | The x-coordinate of the interface. |
y | The y-coordinate of the interface. |
|
protectedpure virtual |
Emitted when the user has placed all the markers.
markers | The vector containing the markers. |
|
protectedpure virtual |
Emitted when the user requests to open a metadata file.
path | The path of the file that was selected. |
|
protectedpure virtual |
Emitted when the user has input all the metadata.
metadata | The Metadata object representing the user input. |
|
protectedpure virtual |
Emitted when the user wants to open an existing measurement.
path | The path to the measurement's XML file. |
|
protectedpure virtual |
Emitted when the size of the interface changes.
width | The new width of the interface. |
height | The new height of the interface. |
fullscreen | Whether the interface is in fullscreen mode or not. |
|
protectedpure virtual |
Emitted when the user adds a new video source.
path | The path of the source. |
|
protectedpure virtual |
Emitted when the user requests to pause a source.
source | The id of the source to be paused. |
|
protectedpure virtual |
Emitted when the user requests to play a source.
source | The id of the source to play. |
|
protectedpure virtual |
Emitted when the user removes a source.
source | The source ID to be removed. |
|
protectedpure virtual |
Emitted when the user requests to seek a source to a certain position.
source | The id of the source to be sought. |
position | The requested position. |
|
protectedpure virtual |
Emitted when the user changes a setting for a source.
source | The source ID for which a setting was changed. |
settings | The new settings for the source. |
|
protectedpure virtual |
Emitted when the user steps a video one frame back.
source | The source that was stepped. |
|
protectedpure virtual |
Emitted when the user steps a video one frame forward.
source | The source that was stepped. |
|
protectedpure virtual |
Emitted when the user wants the frame statistics to be retrieved.
start | The starting point of the period. |
stop | The end point of the period. |
points | The number of points desired to be returned. |