RioEngine  0.1
My first attempt to create a 3D WYSIWYG Game Engine
EditorWindow Class Reference

#include <editorwindow.h>

Inheritance diagram for EditorWindow:

Public Types

enum  State { EDITING, PLAYING }
 

Public Slots

void onGameWindowDestroyedCallback (QObject *obj=0)
 
void propertyChanged (QObject *obj, QString property_name, QVariant value, QVariant old_value)
 
void selectGameObject (QString)
 
void onEditPropertyBegin ()
 
void onEditPropertyEnd ()
 

Public Member Functions

 EditorWindow (QWidget *parent=0)
 
State currentState () const
 
bool areResourcesLoaded ()
 
void loadResourcesIfNeeded ()
 
void selectGameObjectHavingUID (uint gameobj_uid)
 
void selectGameObject (CGameObject *game_object)
 
void setSelectedTransformMode (Transform::TransformMode transform_mode)
 
void setSelectedManipulatorType (QGLGameEditorViewport::ManipulatorTypes manipulator_type)
 
void updateGUIState ()
 
void clearSelection ()
 
void repopulatePropertyBrowser ()
 
void selectMostRecentGameObject ()
 
void removeChildFromInspector (QString child_name)
 
void addSceneFilenameToRecentSceneList (QString scene_filename)
 
 ~EditorWindow ()
 

Static Public Attributes

static EditorWindowcurrentInstance = NULL
 

Protected Slots

void timeout (void)
 

Protected Member Functions

virtual void closeEvent (QCloseEvent *event)
 

Detailed Description

Definition at line 59 of file editorwindow.h.

Member Enumeration Documentation

Enumerator
EDITING 
PLAYING 

Definition at line 63 of file editorwindow.h.

Constructor & Destructor Documentation

EditorWindow::EditorWindow ( QWidget *  parent = 0)
explicit

Definition at line 65 of file editorwindow.cpp.

EditorWindow::~EditorWindow ( )

Definition at line 1053 of file editorwindow.cpp.

Member Function Documentation

void EditorWindow::addSceneFilenameToRecentSceneList ( QString  scene_filename)

Definition at line 528 of file editorwindow.cpp.

bool EditorWindow::areResourcesLoaded ( )

Definition at line 148 of file editorwindow.cpp.

void EditorWindow::clearSelection ( )

Definition at line 253 of file editorwindow.cpp.

void EditorWindow::closeEvent ( QCloseEvent *  event)
protectedvirtual

Definition at line 320 of file editorwindow.cpp.

EditorWindow::State EditorWindow::currentState ( ) const

Definition at line 142 of file editorwindow.cpp.

void EditorWindow::loadResourcesIfNeeded ( )

Definition at line 160 of file editorwindow.cpp.

void EditorWindow::onEditPropertyBegin ( )
slot

Definition at line 764 of file editorwindow.cpp.

void EditorWindow::onEditPropertyEnd ( )
slot

Definition at line 769 of file editorwindow.cpp.

void EditorWindow::onGameWindowDestroyedCallback ( QObject *  obj = 0)
slot

Definition at line 521 of file editorwindow.cpp.

void EditorWindow::propertyChanged ( QObject *  obj,
QString  property_name,
QVariant  value,
QVariant  old_value 
)
slot

Definition at line 678 of file editorwindow.cpp.

void EditorWindow::removeChildFromInspector ( QString  child_name)

Definition at line 286 of file editorwindow.cpp.

void EditorWindow::repopulatePropertyBrowser ( )

Definition at line 259 of file editorwindow.cpp.

void EditorWindow::selectGameObject ( CGameObject game_object)

Definition at line 307 of file editorwindow.cpp.

void EditorWindow::selectGameObject ( QString  name)
slot

Definition at line 185 of file editorwindow.cpp.

void EditorWindow::selectGameObjectHavingUID ( uint  gameobj_uid)

Definition at line 168 of file editorwindow.cpp.

void EditorWindow::selectMostRecentGameObject ( )

Definition at line 269 of file editorwindow.cpp.

void EditorWindow::setSelectedManipulatorType ( QGLGameEditorViewport::ManipulatorTypes  manipulator_type)

Definition at line 208 of file editorwindow.cpp.

void EditorWindow::setSelectedTransformMode ( Transform::TransformMode  transform_mode)

Definition at line 199 of file editorwindow.cpp.

void EditorWindow::timeout ( void  )
protectedslot

Definition at line 292 of file editorwindow.cpp.

void EditorWindow::updateGUIState ( )

Definition at line 219 of file editorwindow.cpp.

Member Data Documentation

EditorWindow * EditorWindow::currentInstance = NULL
static

Definition at line 69 of file editorwindow.h.


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