Visual Computing Library
|
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 |
void * | displayId () const |
QPaintEngine * | paintEngine () 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 | |
void * | windowPtr () |
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 | |
auto * | derived () |
const auto * | derived () const |