MythTV  master
Public Member Functions | Public Attributes | List of all members
MythPainterWindowOpenGL Class Reference

#include <mythpainterwindowopengl.h>

Inheritance diagram for MythPainterWindowOpenGL:
Inheritance graph
Collaboration diagram for MythPainterWindowOpenGL:
Collaboration graph

Public Member Functions

 MythPainterWindowOpenGL (MythMainWindow *MainWin)
 ~MythPainterWindowOpenGL () override
bool IsValid (void) const
QPaintEngine * paintEngine (void) const override
void paintEvent (QPaintEvent *PaintEvent) override
- Public Member Functions inherited from MythPainterWindow
MythRenderGetRenderDevice ()
bool RenderIsShared ()
void resizeEvent (QResizeEvent *) override

Public Attributes

MythMainWindowm_parent { nullptr }
bool m_valid { false }

Additional Inherited Members

- Static Public Member Functions inherited from MythPainterWindow
static MUI_PUBLIC QString GetDefaultPainter ()
static MUI_PUBLIC QStringList GetPainters ()
static QString CreatePainters (MythMainWindow *MainWin, MythPainterWindow *&PaintWin, MythPainter *&Paint)
static void DestroyPainters (MythPainterWindow *&PaintWin, MythPainter *&Painter)
- Protected Member Functions inherited from MythPainterWindow
 MythPainterWindow (MythMainWindow *MainWin)
 ~MythPainterWindow () override
- Protected Attributes inherited from MythPainterWindow
MythRenderm_render { nullptr }

Detailed Description

Definition at line 12 of file mythpainterwindowopengl.h.

Constructor & Destructor Documentation

◆ MythPainterWindowOpenGL()

MythPainterWindowOpenGL::MythPainterWindowOpenGL ( MythMainWindow MainWin)

Definition at line 7 of file mythpainterwindowopengl.cpp.

◆ ~MythPainterWindowOpenGL()

MythPainterWindowOpenGL::~MythPainterWindowOpenGL ( )

Definition at line 37 of file mythpainterwindowopengl.cpp.

Member Function Documentation

◆ IsValid()

bool MythPainterWindowOpenGL::IsValid ( void  ) const

Definition at line 43 of file mythpainterwindowopengl.cpp.

◆ paintEngine()

QPaintEngine * MythPainterWindowOpenGL::paintEngine ( void  ) const

Definition at line 32 of file mythpainterwindowopengl.cpp.

◆ paintEvent()

void MythPainterWindowOpenGL::paintEvent ( QPaintEvent *  PaintEvent)

Definition at line 48 of file mythpainterwindowopengl.cpp.

Member Data Documentation

◆ m_parent

MythMainWindow* MythPainterWindowOpenGL::m_parent { nullptr }

Definition at line 24 of file mythpainterwindowopengl.h.

Referenced by paintEngine(), and paintEvent().

◆ m_valid

bool MythPainterWindowOpenGL::m_valid { false }

Definition at line 25 of file mythpainterwindowopengl.h.

Referenced by IsValid(), and MythPainterWindowOpenGL().

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