Radium Engine  1.5.20
Loading...
Searching...
No Matches
SimpleWindow.hpp
1#pragma once
2#include <Gui/MainWindowInterface.hpp>
3#include <Gui/RaGui.hpp>
4#include <Gui/TreeModel/EntityTreeModel.hpp>
5
6namespace Ra {
7namespace Gui {
8
15{
16 Q_OBJECT
17
18 public:
23 explicit SimpleWindow( uint w = 800, uint h = 640, QWidget* parent = nullptr );
24 SimpleWindow( const SimpleWindow& ) = delete;
25 SimpleWindow& operator=( const SimpleWindow& ) = delete;
26 SimpleWindow( SimpleWindow&& ) = delete;
27 SimpleWindow& operator=( SimpleWindow&& ) = delete;
28 ~SimpleWindow() override;
32 Ra::Gui::Viewer* getViewer() override;
33
35 Ra::Gui::SelectionManager* getSelectionManager() override;
36
38 Ra::Gui::Timeline* getTimeline() override;
39
41 void updateUi( Ra::Plugins::RadiumPluginInterface* plugin ) override;
42
45 void onFrameComplete() override;
46
48 void addRenderer( const std::string& name,
50
51 public slots:
56 void prepareDisplay() override;
57
59 void cleanup() override;
60
61 // Display help dialog about Viewer key-bindings
62 void displayHelpDialog() override;
63
64 signals:
67
68 private:
70 void createConnections();
71
74
78
81};
82
83} // namespace Gui
84} // namespace Ra
void frameUpdate()
Emitted when frame must be updated.
The Timeline class provides display and management of time, as well as keyframes.
Definition Timeline.hpp:38
Interface class for Radiums plugins.
hepler function to manage enum as underlying types in VariableSet
Definition Cage.cpp:3