Elaztek Developer Hub
Blamite Game Engine - Keystone  00382.05.09.23.1235.blamite
A library that enables the use of Qt in Blamite's editing tools.
drag_drop_zone.h
Go to the documentation of this file.
1 #pragma once
2 
3 #include <QWidget>
4 #include <qframe.h>
5 #include "ui_drag_drop_zone.h"
6 
7 class drag_drop_zone : public QFrame
8 {
9  Q_OBJECT
10 
11 private:
12  Ui::drag_drop_zone ui;
13  bool last_active_state = false;
14 
15 
16  void UpdateStylesheet(bool active);
17 
18 public:
19  drag_drop_zone(QWidget *parent = Q_NULLPTR);
21 
22  void SetDropDisplayActive(bool active);
23 };
drag_drop_zone
Definition: drag_drop_zone.h:7
drag_drop_zone::drag_drop_zone
drag_drop_zone(QWidget *parent=Q_NULLPTR)
Definition: drag_drop_zone.cpp:8
drag_drop_zone::~drag_drop_zone
~drag_drop_zone()
Definition: drag_drop_zone.cpp:19
drag_drop_zone::SetDropDisplayActive
void SetDropDisplayActive(bool active)
Definition: drag_drop_zone.cpp:24