![]() |
Blamite Game Engine - Keystone
00440.08.07.25.2124.blamite
A library that enables the use of Qt in Blamite's editing tools.
|
A basic interface class which can be used for drag and drop behaviors. More...
#include <drag_container.h>
Inheritance diagram for drag_list:Public Member Functions | |
| void | GenerateDropZones (bool clear_existing=true) |
| Generates drop zones for the given drag list. More... | |
| void | AddContentWidget (QWidget *widget) |
| Adds a content item to the drag list. More... | |
| std::vector< QWidget * > | GetContentWidgets () |
| Retrieves a list of all content widgets within the drag list. More... | |
Public Attributes | |
| QBoxLayout * | drag_layout = nullptr |
| The layout container that holds all drag and drop widgets. More... | |
A basic interface class which can be used for drag and drop behaviors.
| void drag_list::AddContentWidget | ( | QWidget * | widget | ) |
Adds a content item to the drag list.
| widget | - Pointer to the widget to add. |
Here is the caller graph for this function:| void drag_list::GenerateDropZones | ( | bool | clear_existing = true | ) |
Generates drop zones for the given drag list.
| clear_existing | - Whether or not to clear all existing drop zones by default. Defaults to true. Typically, this should always be set to true - as duplicate drop zones will exist otherwise. |
Here is the caller graph for this function:| std::vector< QWidget * > drag_list::GetContentWidgets | ( | ) |
Retrieves a list of all content widgets within the drag list.
This will generate a list of all widgets that exist within the list - excluding any drop zones.
Here is the caller graph for this function:| QBoxLayout* drag_list::drag_layout = nullptr |
The layout container that holds all drag and drop widgets.