 |
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.
5 #include "ui_drag_drop_zone.h"
12 Ui::drag_drop_zone ui;
13 bool last_active_state =
false;
16 void UpdateStylesheet(
bool active);
void GenerateDropZones(bool clear_existing=true)
Generates drop zones for the given drag list.
Definition: drag_list.cpp:5
std::string GetResource(std::string group_id, std::string id)
Retrieves a resource path from the theme.
Definition: BlamEditorTheme.cpp:158
Definition: drag_drop_zone.h:7
grip_frame()
Definition: grip_frame.cpp:6
drag_drop_zone(QWidget *parent=Q_NULLPTR)
Definition: drag_drop_zone.cpp:8
std::vector< QWidget * > GetContentWidgets()
Retrieves a list of all content widgets within the drag list.
Definition: drag_list.cpp:56
QBoxLayout * drag_layout
The layout container that holds all drag and drop widgets.
Definition: drag_container.h:22
KEYSTONE BlamEditorTheme * GetActiveTheme()
Retrieves the currently selected theme.
Definition: themes.cpp:335
KEYSTONE BlamEditorWindow * GetMainEditorWindow()
Retrieves the main editor window.
Definition: editor_data.cpp:32
~drag_drop_zone()
Definition: drag_drop_zone.cpp:19
void SetDropDisplayActive(bool active)
Definition: drag_drop_zone.cpp:24
void AddContentWidget(QWidget *widget)
Adds a content item to the drag list.
Definition: drag_list.cpp:38
void paintEvent(QPaintEvent *event) override
Definition: grip_frame.cpp:22