Scanframe Modular Application 0.1.0
Loading...
Searching...
No Matches
sf::InformationMonitor Class Referencefinal

Dialog showing the information on a single sf::Variable or sf::ResultData instance. More...

#include <InformationMonitor.h>

Inheritance diagram for sf::InformationMonitor:
[legend]
Collaboration diagram for sf::InformationMonitor:
[legend]

Public Member Functions

 InformationMonitor (QWidget *parent=nullptr)
 Constructor.
 ~InformationMonitor () override
 Destructor.
void setId (gii::TypeId typeId, gii::IdType id)
 Sets the id to be monitored.
bool selectId (gii::TypeId typeId, QWidget *parent=nullptr)
 Opens a dialog to select the id to monitor.

Detailed Description

Dialog showing the information on a single sf::Variable or sf::ResultData instance.

Instance is automatically delete on close.

Constructor & Destructor Documentation

◆ InformationMonitor()

sf::InformationMonitor::InformationMonitor ( QWidget * parent = nullptr)
explicit

Constructor.

Parameters
parentOptional parent which defaults to the sf::getGlobalParent()

◆ ~InformationMonitor()

sf::InformationMonitor::~InformationMonitor ( )
override

Destructor.

Member Function Documentation

◆ selectId()

bool sf::InformationMonitor::selectId ( gii::TypeId typeId,
QWidget * parent = nullptr )

Opens a dialog to select the id to monitor.

Parameters
typeIdType of the id Variable or Result-data type.
parentOptional parent which defaults to sf::getGlobalParent().
Returns
True when the dialog was accepted.

◆ setId()

void sf::InformationMonitor::setId ( gii::TypeId typeId,
gii::IdType id )

Sets the id to be monitored.

Parameters
typeIdType of the id Variable or Result-data type.
idInformation id.

The documentation for this class was generated from the following file: