Visual Computing Library  devel
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

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

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

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

Private Member Functions

autoderived ()
 
const autoderived () const
 

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