PeriDyno 1.0.0
Loading...
Searching...
No Matches
PPropertyWidget.h File Reference
#include <map>
#include <QWidget>
#include <typeinfo>
#include <memory>
Include dependency graph for PPropertyWidget.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dyno::PPropertyWidget
 
struct  dyno::PPropertyWidget::FieldWidgetMeta
 

Namespaces

namespace  Qt
 
namespace  dyno
 This is an implementation of AdditiveCCD based on peridyno.
 

Macros

#define DECLARE_FIELD_WIDGET
 
#define IMPL_FIELD_WIDGET(_data_type_, _type_)
 

Macro Definition Documentation

◆ DECLARE_FIELD_WIDGET

#define DECLARE_FIELD_WIDGET
Value:
static int reg_field_widget; \
static QWidget* createWidget(dyno::FBase*);

Definition at line 110 of file PPropertyWidget.h.

◆ IMPL_FIELD_WIDGET

#define IMPL_FIELD_WIDGET ( _data_type_,
_type_ )
Value:
int _type_::reg_field_widget = \
dyno::PPropertyWidget::registerWidget(dyno::PPropertyWidget::FieldWidgetMeta {&typeid(_data_type_), &_type_::createWidget}); \
QWidget* _type_::createWidget(dyno::FBase* f) { return new _type_(f); }

Definition at line 114 of file PPropertyWidget.h.