Elaztek Developer Hub
Blamite Game Engine - Keystone  00307.01.26.21.0804.blamite
A library that enables the use of Qt in Blamite's editing tools.
sapien_main_window.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QMainWindow>
4 #include <qlabel.h>
5 
6 #include "../windows/game_window/sapien_game_window.h"
7 #include "../windows/preferences/sapien_preferences.h"
8 #include "api/keystone_api.h"
9 
10 #include "ui_sapien_main_window.h"
11 
15 class sapien_main_window : public QMainWindow
16 {
17  Q_OBJECT
18 
19 public:
20  sapien_main_window(QWidget* parent = Q_NULLPTR);
22 
23  void SetStatusBarText(const char* status);
24 
25 private:
26  Ui::sapien_main_window ui;
27  QLabel* status_text;
28  sapien_game_window game_window;
29  sapien_preferences preferences_window;
30 
31 private slots:
32  void SlotMenuFileNewInstance();
33  void SlotMenuFileOpenScenario();
34  void SlotMenuFileSaveScenario();
35  void SlotMenuFileSaveScenarioAs();
36  void SlotMenuFileDumpLoadedTags();
37  void SlotMenuFileExit();
38 
39  void SlotMenuEditUndo();
40  void SlotMenuEditRedo();
41  void SlotMenuEditSwitchBSP();
42  void SlotMenuEditExpertMode();
43  void SlotMenuEditResetObjectZ();
44  void SlotMenuEditCopyObjectTransform();
45  void SlotMenuEditApplyObjectTransform();
46  void SlotMenuEditHexadecimalMode();
47  void SlotMenuEditPreferences();
48 
49  void SlotMenuViewStatusBar();
50  void SlotMenuViewGameView();
51  void SlotMenuViewPropertyView();
52  void SlotMenuViewHierarchyView();
53  void SlotMenuViewOptionView();
54  void SlotMenuViewOutputView();
55  void SlotMenuViewCustomDirectorSpeed();
56 
57  void SlotMenuScenariosImportComments();
58  void SlotMenuScenariosDumpBaggage();
59  void SlotMenuScenariosResetScenario();
60  void SlotMenuScenariosRunCommand();
61  void SlotMenuScenariosEnableScriptExecution();
62  void SlotMenuScenariosUseInGameDisplaySettings();
63  void SlotMenuScenariosRestartEngine();
64 
65  void SlotMenuWindowCascade();
66  void SlotMenuWindowTileHorizontally();
67  void SlotMenuWindowTileVertically();
68  void SlotMenuWindowArrangeIcons();
69 
70  void SlotMenuHelpContents();
71  void SlotMenuHelpOpenScriptDocumentation();
72  void SlotMenuHelpAboutSapien();
73  void SlotMenuHelpOnlineDocumentation();
74  void SlotMenuHelpAboutQt();
75 };
sapien_preferences
Definition: sapien_preferences.h:8
sapien_main_window::sapien_main_window
sapien_main_window(QWidget *parent=Q_NULLPTR)
Definition: sapien_main_window.cpp:3
sapien_main_window::SetStatusBarText
void SetStatusBarText(const char *status)
Definition: sapien_main_window.cpp:67
sapien_game_window
Definition: sapien_game_window.h:6
sapien_main_window::~sapien_main_window
~sapien_main_window()
Definition: sapien_main_window.cpp:62
keystone_api.h
sapien_main_window
The main window for Sapien.
Definition: sapien_main_window.h:15