DisplayWidget Class Reference
A Qt display widget. More...
Inheritance diagram for DisplayWidget:
Namespaces
Qt | Contains classes for displaying camera images in Qt5 or Qt6 applications. |
---|
Public Member Functions
Create a new Qt display widget. |
|
std::shared_ptr< ic4::Display > |
Returns a ic4::Display to connect this display widget to a data stream. |
Detailed Description
A Qt display widget.
Use asDisplay to get a ic4::Display representing the display. The ic4::Display can then be passed to ic4::Grabber::streamSetup.
Constructor & Destructor Documentation
◆ DisplayWidget()
|
inline |
Create a new Qt display widget.
- Parameters
-
parent A parent widget f Window flags
Member Function Documentation
◆ asDisplay()
|
inline |
Returns a ic4::Display to connect this display widget to a data stream.
- Returns
- A
shared_ptr
to a ic4::Display for this display widget.
- Remarks
- Pass the return value of this function to ic4::Grabber::streamSetup to display live video on this display widget.