HDK
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
RE_QPainterDrawable Class Reference

Window drawable that uses only QPainter for the new UI path. More...

#include <RE_QPainterDrawable.h>

+ Inheritance diagram for RE_QPainterDrawable:

Public Member Functions

 RE_QPainterDrawable (QWidget *parent=nullptr)
 
 ~RE_QPainterDrawable () override
 
void setREWindow (RE_Window *window)
 
const RE_WindowgetREWindow () const
 Return the window that the drawable is currently assigned to. More...
 
RE_WindowDrawablePainterpainter ()
 Return the painter used to paint the contents of the drawable. More...
 

Static Public Member Functions

static const char * widgetTag ()
 

Protected Member Functions

void paintEvent (QPaintEvent *event) override
 
void showEvent (QShowEvent *event) override
 

Detailed Description

Window drawable that uses only QPainter for the new UI path.

Definition at line 38 of file RE_QPainterDrawable.h.

Constructor & Destructor Documentation

RE_QPainterDrawable::RE_QPainterDrawable ( QWidget *  parent = nullptr)
explicit
RE_QPainterDrawable::~RE_QPainterDrawable ( )
override

Member Function Documentation

const RE_Window* RE_QPainterDrawable::getREWindow ( ) const
inline

Return the window that the drawable is currently assigned to.

Definition at line 49 of file RE_QPainterDrawable.h.

RE_WindowDrawablePainter& RE_QPainterDrawable::painter ( )

Return the painter used to paint the contents of the drawable.

void RE_QPainterDrawable::paintEvent ( QPaintEvent *  event)
overrideprotected
void RE_QPainterDrawable::setREWindow ( RE_Window window)

Assign the drawable to the given window. The given drawable will be used to render the contents of the window.

void RE_QPainterDrawable::showEvent ( QShowEvent *  event)
overrideprotected
static const char* RE_QPainterDrawable::widgetTag ( )
inlinestatic

Definition at line 51 of file RE_QPainterDrawable.h.


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