Elaztek Developer Hub
Blamite Game Engine - Keystone  00326.06.27.21.0407.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 
7 #include "../windows/game_window/sapien_game_window.h"
8 #include "../windows/preferences/sapien_preferences.h"
9 #include "api/keystone_api.h"
10 
11 #include "ui_sapien_main_window.h"
12 
17 {
18  Q_OBJECT
19 
20 public:
21  sapien_main_window(QWidget* parent = Q_NULLPTR);
23 
24  void SetStatusBarText(const char* status);
25 
26 private:
27  Ui::sapien_main_window ui;
28  QLabel* status_text;
29  sapien_game_window game_window;
30  sapien_preferences preferences_window;
31 
32 private slots:
33  void SlotMenuFileNewInstance();
34  void SlotMenuFileOpenScenario();
35  void SlotMenuFileSaveScenario();
36  void SlotMenuFileSaveScenarioAs();
37  void SlotMenuFileDumpLoadedTags();
38  void SlotMenuFileExit();
39 
40  void SlotMenuEditUndo();
41  void SlotMenuEditRedo();
42  void SlotMenuEditSwitchBSP();
43  void SlotMenuEditExpertMode();
44  void SlotMenuEditResetObjectZ();
45  void SlotMenuEditCopyObjectTransform();
46  void SlotMenuEditApplyObjectTransform();
47  void SlotMenuEditHexadecimalMode();
48  void SlotMenuEditPreferences();
49 
50  void SlotMenuViewStatusBar();
51  void SlotMenuViewGameView();
52  void SlotMenuViewPropertyView();
53  void SlotMenuViewHierarchyView();
54  void SlotMenuViewOptionView();
55  void SlotMenuViewOutputView();
56  void SlotMenuViewCustomDirectorSpeed();
57 
58  void SlotMenuScenariosImportComments();
59  void SlotMenuScenariosDumpBaggage();
60  void SlotMenuScenariosResetScenario();
61  void SlotMenuScenariosRunCommand();
62  void SlotMenuScenariosEnableScriptExecution();
63  void SlotMenuScenariosUseInGameDisplaySettings();
64  void SlotMenuScenariosRestartEngine();
65 
66  void SlotMenuWindowCascade();
67  void SlotMenuWindowTileHorizontally();
68  void SlotMenuWindowTileVertically();
69  void SlotMenuWindowArrangeIcons();
70 
71  void SlotMenuHelpContents();
72  void SlotMenuHelpOpenScriptDocumentation();
73  void SlotMenuHelpAboutSapien();
74  void SlotMenuHelpOnlineDocumentation();
75  void SlotMenuHelpAboutQt();
76 };
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
BlamEditorWindow.h
keystone_api.h
sapien_main_window
The main window for Sapien.
Definition: sapien_main_window.h:16
BlamEditorWindow
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:47