Imaging Control 4 C++ Library 1.2.0
Loading...
Searching...
No Matches
DisplayWindow Class Reference

A Qt display window. More...

Inheritance diagram for DisplayWindow:

Public Member Functions

 DisplayWindow (QWidget *parent=nullptr, ::Qt::WindowFlags f=::Qt::WindowFlags())
 Create a new Qt display window.
 
std::shared_ptr< ic4::DisplayasDisplay ()
 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()

DisplayWindow ( QWidget *  parent = nullptr,
::Qt::WindowFlags  f = ::Qt::WindowFlags() 
)
inline

Create a new Qt display window.

Parameters
parentA parent widget
fWindow flags

Member Function Documentation

◆ asDisplay()

std::shared_ptr< ic4::Display > 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.