Visual Computing Library
Loading...
Searching...
No Matches
vcl::qt::WidgetManager< DerivedRenderApp > Class Template Reference

Public Types

using ParentType = QWidget
 The ParentType is the type of the parent class. It is used to initialize the base class (if any). In the qt::WidgetManager, the parent class is the QWidget class.
 

Public Member Functions

 WidgetManager (QWidget *parent=nullptr)
 
 WidgetManager (const std::string &windowTitle, uint width=1024, uint height=768, QWidget *parent=nullptr)
 
const std::string & windowTitle () const
 
void setWindowTitle (const std::string &title)
 
Point2f dpiScale () const
 
voiddisplayId () const
 
QPaintEnginepaintEngine () const override
 

Static Public Attributes

static const uint WINDOW_MANAGER_ID = WindowManagerId::QT_WIDGET
 The WINDOW_MANAGER_ID is the ID of the window manager. It is used to identify the window manager implementation (if necessary) by the DerivedRenderApp class.
 

Protected Member Functions

voidwindowPtr ()
 
void keyPressEvent (QKeyEvent *event) override
 
void keyReleaseEvent (QKeyEvent *event) override
 
void mouseMoveEvent (QMouseEvent *event) override
 
void mousePressEvent (QMouseEvent *event) override
 
void mouseReleaseEvent (QMouseEvent *event) override
 
void mouseDoubleClickEvent (QMouseEvent *event) override
 
void wheelEvent (QWheelEvent *event) override
 
double pixelRatio () const
 

Private Member Functions

autoderived ()
 
const autoderived () const
 

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