ObjectExplorerWidget Class Reference

This class provides a QWidget which displays all object classes from PriorKnowledge in their collections in a tree view. More...

#include <MemoryX/gui-plugins/SceneEditor/gui/ObjectExplorerWidget.h>

+ Inheritance diagram for ObjectExplorerWidget:

Public Member Functions

 ObjectExplorerWidget (const controller::ControllerPtr &control, QWidget *parent=0)
 Constructor. More...
 
void onConnect ()
 Populates the gui::ObjectExplorerModel with data and sets up all child widgets. More...
 
void retranslate ()
 Translates all translatable strings in this dialog. More...
 
 ~ObjectExplorerWidget () override
 

Detailed Description

This class provides a QWidget which displays all object classes from PriorKnowledge in their collections in a tree view.

The object class can be filtered via a line edit.

Definition at line 51 of file ObjectExplorerWidget.h.

Constructor & Destructor Documentation

◆ ObjectExplorerWidget()

ObjectExplorerWidget ( const controller::ControllerPtr control,
QWidget *  parent = 0 
)
explicit

Constructor.

Constructs a object explorer widget. Expects a controller::ControllerPtr to get the data to display and a parent Qt::QWidget.

Parameters
controlshared pointer to controller::Controller
parentparent widget

Definition at line 40 of file ObjectExplorerWidget.cpp.

◆ ~ObjectExplorerWidget()

~ObjectExplorerWidget ( )
override

Definition at line 97 of file ObjectExplorerWidget.cpp.

Member Function Documentation

◆ onConnect()

void onConnect ( )

Populates the gui::ObjectExplorerModel with data and sets up all child widgets.

See also
gui::ObjectExplorerModel

Definition at line 91 of file ObjectExplorerWidget.cpp.

◆ retranslate()

void retranslate ( )

Translates all translatable strings in this dialog.

Definition at line 102 of file ObjectExplorerWidget.cpp.


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