Elaztek Developer Hub
Blamite Game Engine - Keystone  00390.07.02.23.1947.blamite
A library that enables the use of Qt in Blamite's editing tools.
BlamEngineViewportWidget Class Reference

Class representing the engine viewport widget. More...

#include <engine.h>

+ Inheritance diagram for BlamEngineViewportWidget:
+ Collaboration diagram for BlamEngineViewportWidget:

Public Member Functions

 BlamEngineViewportWidget ()
 
 ~BlamEngineViewportWidget ()
 
void mouseMoveEvent (QMouseEvent *event)
 
void mousePressEvent (QMouseEvent *event)
 
void mouseReleaseEvent (QMouseEvent *event)
 
void keyPressEvent (QKeyEvent *event)
 
void keyReleaseEvent (QKeyEvent *event)
 
void focusInEvent (QFocusEvent *focusInEvent)
 
void focusOutEvent (QFocusEvent *focusInEvent)
 
void UpdateStatusBar ()
 Updates the viewport status bar information. More...
 

Public Attributes

game_viewportviewport_main_widget = nullptr
 The viewport parent widget pointer. See game_viewport for details. More...
 

Detailed Description

Class representing the engine viewport widget.

This widget is a basic widget that the game engine renders onto. This widget is created from the SDL2 native window handle and used in any case where we need to have a real-time preview of any engine content.

Constructor & Destructor Documentation

◆ BlamEngineViewportWidget()

BlamEngineViewportWidget::BlamEngineViewportWidget ( )

◆ ~BlamEngineViewportWidget()

BlamEngineViewportWidget::~BlamEngineViewportWidget ( )

Member Function Documentation

◆ focusInEvent()

void BlamEngineViewportWidget::focusInEvent ( QFocusEvent *  focusInEvent)
+ Here is the call graph for this function:

◆ focusOutEvent()

void BlamEngineViewportWidget::focusOutEvent ( QFocusEvent *  focusInEvent)
+ Here is the call graph for this function:

◆ keyPressEvent()

void BlamEngineViewportWidget::keyPressEvent ( QKeyEvent *  event)
+ Here is the call graph for this function:

◆ keyReleaseEvent()

void BlamEngineViewportWidget::keyReleaseEvent ( QKeyEvent *  event)
+ Here is the call graph for this function:

◆ mouseMoveEvent()

void BlamEngineViewportWidget::mouseMoveEvent ( QMouseEvent *  event)
+ Here is the call graph for this function:

◆ mousePressEvent()

void BlamEngineViewportWidget::mousePressEvent ( QMouseEvent *  event)
+ Here is the call graph for this function:

◆ mouseReleaseEvent()

void BlamEngineViewportWidget::mouseReleaseEvent ( QMouseEvent *  event)
+ Here is the call graph for this function:

◆ UpdateStatusBar()

void BlamEngineViewportWidget::UpdateStatusBar ( )

Updates the viewport status bar information.

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

Member Data Documentation

◆ viewport_main_widget

game_viewport* BlamEngineViewportWidget::viewport_main_widget = nullptr

The viewport parent widget pointer. See game_viewport for details.


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