 |
Blamite Game Engine - Keystone
00386.06.16.23.0646.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
Go to the documentation of this file.
4 #include "ui_about_guerilla.h"
17 void lbl_version_Click();
27 void btn_blamite_Click();
30 Ui::about_guerilla ui;
35 void resizeEvent(QResizeEvent* event);
40 void showEvent(QShowEvent* event);
45 void mousePressEvent(QMouseEvent* event);
Class representing a Tag document.
Definition: tag.h:15
BlamEditorDocumentType GetDocumentType()
Retrieves the type of this document.
Definition: BlamEditorDocument.cpp:16
BlamEditorDocument * GetActiveDocument()
Get the current active document.
Definition: BlamEditorWindow.cpp:343
@ GameWindow
Special document type used for the Game Viewport window.
void ApplyWorkspace()
Definition: BlamEditorWorkspace.cpp:16
bool show_invisibles
Whether or not to show invisible (hidden) fields in the editor.
Definition: tag.h:21
BlamWorkspaceLayoutType workspace_type
The layout type the window is currently using.
Definition: BlamEditorWindow.h:59
KEYSTONE QApplication * GetQApplication()
Retrieves the pointer to the current Qt application.
Definition: keystone_main.cpp:92
bool LoadFromDisk(std::string file_path)
Definition: BlamEditorWorkspace.cpp:181
bool do_scenario_load
Definition: open_scenario.h:19
~about_guerilla()
Destroys the about box.
Definition: about_guerilla.cpp:42
The tag editor widget.
Definition: tag_editor.h:18
Definition: open_scenario.h:8
void SaveToDisk()
Definition: BlamEditorWorkspace.cpp:114
BlamProject * project_to_load
Definition: open_scenario.h:21
@ TagDesigner
Special document type used for the Tag Designer window.
void LoadScenario(std::string _project_name, std::string _tag_path)
Definition: ScenarioLoadingDialog.cpp:44
@ Tag
Indicates the document represents a tag file.
std::string workspace_name
Definition: BlamEditorWorkspace.h:37
KEYSTONE BlamEditorToolWindow * GetToolWindow(BlamEditorToolWindowType type)
Retrieves a desired tool window.
Definition: editor_data.cpp:37
KEYSTONE_API bool OpenWebURL(std::string url)
Opens a URL in the user's default web browser.
Definition: keystone_api.cpp:63
Definition: BlamEditorWorkspace.h:30
void StoreWorkspaceFromWindow()
Definition: BlamEditorWorkspace.cpp:73
virtual void SaveAs()
Attempts to save the document, prompting the user to save as a new file.
Definition: BlamEditorDocument.h:131
@ MDI
Sub-windows will be organized using MDI (Multiple Document Interface).
bool IsToolWindowOpen(BlamEditorToolWindowType tool_type)
Checks if a given tool window type is open.
Definition: BlamEditorWindow.cpp:317
KEYSTONE BlamEditorWindow * GetMainEditorWindow()
Retrieves the main editor window.
Definition: editor_data.cpp:32
KEYSTONE bool IsPointWithinGeometry(QWidget *widget, QPoint point)
Definition: utils.cpp:309
virtual void Save()
Attempts to save the document, replacing the original file.
Definition: BlamEditorDocument.h:126
Interface class that any types of editor documents inherit from.
Definition: BlamEditorDocument.h:37
SkinnableMdiArea * mdi_area
The MDI area used for documents. Only set when using MDI layout.
Definition: BlamEditorWindow.h:61
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:48
about_guerilla(QWidget *parent=Q_NULLPTR)
Constructs the about box.
Definition: about_guerilla.cpp:13
void ToggleToolWindow(BlamEditorToolWindowType tool_type)
Toggles the specified tool window.
Definition: BlamEditorWindow.cpp:305
Definition: sapien_about.h:6
void GenerateTagEditorUI()
Generates the UI for tag editing.
Definition: tag_editor.cpp:136
The Guerilla about dialog.
Definition: about_guerilla.h:9
KEYSTONE BlamVersion GetVersion()
Retrieves the current version of Keystone.
Definition: version.cpp:8
Definition: guerilla_tag_details.h:8
std::string scenario_path_to_load
Definition: open_scenario.h:20
virtual bool Close()
Closes the document and releases any resources being used by it.
Definition: BlamEditorDocument.cpp:77
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
KEYSTONE void SetGraphicsViewImage(QGraphicsView *graphics_view, std::string image_path, Qt::AspectRatioMode aspect_ratio_mode)
Applies an image to a graphics view, without the need for extra scene/pixmap management.
Definition: utils.cpp:221
Class for the new unified Settings dialog.
Definition: shared_settings.h:18
Definition: scenario_loading.h:29
The Blamite About dialog.
Definition: about_blamite.h:10
bool show_unused_fields
Whether or not to show unused fields in the editor.
Definition: tag.h:22
BlamEditorDocumentWidget * ui
The GUI widget associated with this document.
Definition: BlamEditorDocument.h:50