Plasma Engine  2.0
Loading...
Searching...
No Matches
ExposedBoneWidget.moc.h
1#pragma once
2
3#include <Foundation/Basics.h>
4#include <GuiFoundation/PropertyGrid/PropertyBaseWidget.moc.h>
5#include <GuiFoundation/Widgets/DoubleSpinBox.moc.h>
6#include <RendererCore/AnimationSystem/EditableSkeleton.h>
7
8class QSlider;
9
11{
12 Q_OBJECT
13
14public:
16
17 virtual void SetSelection(const plHybridArray<plPropertySelection, 8>& items) override;
18
19private Q_SLOTS:
20 void onBeginTemporary();
21 void onEndTemporary();
22 void SlotValueChanged();
23
24protected:
25 virtual void OnInit() override;
26 virtual void InternalSetValue(const plVariant& value) override;
27
28 bool m_bTemporaryCommand = false;
29 QHBoxLayout* m_pLayout = nullptr;
30 plQtDoubleSpinBox* m_pRotWidget[3];
31};
A hybrid array uses in-place storage to handle the first few elements without any allocation....
Definition HybridArray.h:12
Definition DoubleSpinBox.moc.h:8
Definition ExposedBoneWidget.moc.h:11
virtual void SetSelection(const plHybridArray< plPropertySelection, 8 > &items) override
This is called whenever the selection in the editor changes and thus the widget may need to display a...
Definition ExposedBoneWidget.cpp:41
Base class for most 'simple' property type widgets. Implements some of the standard functionality.
Definition PropertyBaseWidget.moc.h:118
plVariant is a class that can store different types of variables, which is useful in situations where...
Definition Variant.h:44