PeriDyno 1.2.1
Loading...
Searching...
No Matches
QRealFieldWidget.h
Go to the documentation of this file.
1
19#pragma once
20#include "QFieldWidget.h"
21#include "PCustomWidgets.h"
23
24namespace dyno
25{
27 {
28 Q_OBJECT
29 public:
31
33 ~QRealFieldWidget() override;
34
35 public slots:
36 //Called when the field is updated
37 void updateWidget();
38
39 //Called when the widget is updated
40 void updateField(double);
41
42 void onSliderValueChanged(double val);
43
44 void onSpinnerEditingFinished(double val);
45
46 private:
49
50 bool m_updating = false;
51
52 };
53}
#define DECLARE_FIELD_WIDGET
QFieldWidget(FBase *field)
QPiecewiseDoubleSpinBox * spinner
DECLARE_FIELD_WIDGET QRealFieldWidget(FBase *field)
void onSpinnerEditingFinished(double val)
void onSliderValueChanged(double val)
This is an implementation of AdditiveCCD based on peridyno.
Definition Array.h:25