Elaztek Developer Hub
Blamite Game Engine - Keystone  00454.07.12.26.2151.blamite
A library that enables the use of Qt in Blamite's editing tools.
new_tag.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QDialog>
4 #include <Strings/components/settings/config/config.h>
5 
7 #include "ui_new_tag.h"
8 
15 class GuerillaNewTagDialog : public QDialog
16 {
17  Q_OBJECT
18 
19 private:
20  Ui::new_tag ui;
21  std::string location = "";
22  bool show_file_name_input = false;
23 
24 public:
25  GuerillaNewTagDialog(QWidget* parent = Q_NULLPTR);
26 
27  void SetOutputFileLocation(std::string _location);
28  void SetAllowFileName(bool value);
29 
30 private slots:
31 
35  void OKButtonClicked();
36 
40  void CancelButtonClicked();
41 
47  void OnFileNameChanged();
48 };
BlamEditorDocument_Tag
Class representing a Tag document.
Definition: tag.h:14
editor_data.h
new_tag.h
GuerillaNewTagDialog::GuerillaNewTagDialog
GuerillaNewTagDialog(QWidget *parent=Q_NULLPTR)
Definition: new_tag.cpp:11
GuerillaNewTagDialog::SetAllowFileName
void SetAllowFileName(bool value)
Definition: new_tag.cpp:87
BlamEditorDocument_Tag::is_compiled
bool is_compiled
Whether or not this tag was loaded from a compiled/binary tag, rather than a decompiled/XML tag.
Definition: tag.h:21
GuerillaNewTagDialog::SetOutputFileLocation
void SetOutputFileLocation(std::string _location)
Definition: new_tag.cpp:82
BlamEditorWindow::config
BlamConfigurationFile * config
The configuration file for this editor window.
Definition: BlamEditorWindow.h:55
BlamKeystone::EditorData::GetMainEditorWindow
KEYSTONE BlamEditorWindow * GetMainEditorWindow()
Retrieves the main editor window.
Definition: editor_data.cpp:35
BlamEditorWindow::OpenDocument
bool OpenDocument(std::string file_path, BlamTagTreeNode *tree_node, BlamEditorDocumentType doctype, std::string custom_editor_id="")
Attempts to open the specified document in the main window.
Definition: BlamEditorWindow.cpp:136
GuerillaNewTagDialog
Class for the Guerilla New Tag dialog.
Definition: new_tag.h:15
BlamEditorWindow
Interface class that all main editing tool windows inherit from.
Definition: BlamEditorWindow.h:34
tag.h
BlamKeystone::UI::TagFields::SetWidgetValidAppearance
KEYSTONE void SetWidgetValidAppearance(QWidget *widget, bool valid)
Applies the configured invalid field colors to a given widget.
Definition: tag_fields.cpp:157
tag_fields.h