 |
Blamite Game Engine - Keystone
00390.07.02.23.1947.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file.
10 Qt::DockWidgetArea
dock_position = Qt::DockWidgetArea::LeftDockWidgetArea;
33 std::vector<BlamEditorWorkspace_WindowInfo> open_tool_windows = std::vector<BlamEditorWorkspace_WindowInfo>();
34 std::vector<BlamEditorWorkspace_DocumentInfo> open_documents = std::vector<BlamEditorWorkspace_DocumentInfo>();
BlamEditorDocumentType GetDocumentType()
Retrieves the type of this document.
Definition: BlamEditorDocument.cpp:17
Definition: BlamEditorWorkspace.h:6
KEYSTONE std::string ConvertDocumentTypeToString(BlamEditorDocumentType document_type)
Definition: workspace.cpp:73
std::string file_path
The path to the file associated with this document.
Definition: BlamEditorDocument.h:58
void ApplyWorkspace()
Definition: BlamEditorWorkspace.cpp:16
KEYSTONE Qt::DockWidgetArea ConvertStringToDockWidgetArea(std::string value)
Definition: workspace.cpp:49
std::vector< BlamEditorDocument * > open_documents
The list of open documents.
Definition: BlamEditorWindow.h:65
bool LoadFromDisk(std::string file_path)
Definition: BlamEditorWorkspace.cpp:181
BlamEditorDocumentType
Enumerator containing all possible editor document types.
Definition: BlamEditorDocument.h:23
Qt::DockWidgetArea dock_position
Definition: BlamEditorWorkspace.h:10
int width
Definition: BlamEditorWorkspace.h:11
This folder contains built in editor themes You probably shouldn t touch these You we won t stop you but if you are looking to customize how your editor we encourage you to instead add a new user theme instead User themes are found in the following path
Definition: readme.txt:5
Definition: BlamEditorWorkspace.h:46
KEYSTONE BlamEditorToolWindowType ConvertStringToToolWindowType(std::string value)
Definition: workspace.cpp:21
KEYSTONE std::string ConvertToolWindowTypeToString(BlamEditorToolWindowType window_type)
Definition: workspace.cpp:91
void SaveToDisk()
Definition: BlamEditorWorkspace.cpp:114
std::string workspace_name
Definition: BlamEditorWorkspace.h:37
Definition: BlamEditorWorkspace.h:30
BlamEditorDocumentType type
Definition: BlamEditorWorkspace.h:20
void StoreWorkspaceFromWindow()
Definition: BlamEditorWorkspace.cpp:73
KEYSTONE BlamEditorDocumentType ConvertStringToDocumentType(std::string value)
Definition: workspace.cpp:5
Definition: BlamEditorWorkspace.h:18
int pos_y
Definition: BlamEditorWorkspace.h:15
KEYSTONE BlamEditorWindow * GetMainEditorWindow()
Retrieves the main editor window.
Definition: editor_data.cpp:32
bool OpenToolWindow(BlamEditorToolWindowType tool_type, Qt::DockWidgetArea position)
Opens the specified tool window within the main window.
Definition: BlamEditorWindow.cpp:235
std::string document_context
The context of this document. Will generally be a project or tag folder.
Definition: BlamEditorDocument.h:59
std::vector< BlamEditorToolWindow * > open_tool_windows
The list of open tool windows.
Definition: BlamEditorWindow.h:64
Interface class that any types of editor documents inherit from.
Definition: BlamEditorDocument.h:37
void CloseAllDocuments()
Closes all open documents.
Definition: BlamEditorWindow.cpp:216
bool docked
Definition: BlamEditorWorkspace.h:9
std::string path
Definition: BlamEditorWorkspace.h:21
std::string context
Definition: BlamEditorWorkspace.h:22
KEYSTONE std::string ConvertDockWidgetAreaToString(Qt::DockWidgetArea dock_position)
Definition: workspace.cpp:121
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:48
@ Unspecified
Indicates the document type is unspecified or invalid.
void CloseAllToolWindows()
Closes all tool windows.
Definition: BlamEditorWindow.cpp:294
BlamEditorToolWindowType window_type
Definition: BlamEditorWorkspace.h:8
int height
Definition: BlamEditorWorkspace.h:12
bool OpenDocument(std::string file_path, BlamTagTreeNode *tree_node, BlamEditorDocumentType doctype)
Attempts to open the specified document in the main window.
Definition: BlamEditorWindow.cpp:99
BlamEditorToolWindow * GetToolWindow(BlamEditorToolWindowType tool_type)
Definition: BlamEditorWindow.cpp:330
#define KEYSTONE
Definition: keystone_api.h:20
int pos_x
Definition: BlamEditorWorkspace.h:14