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