mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-04 07:36:50 +00:00
VisualBuilder: Add a widget registry and a property class.
I need somewhere to centralize the knowledge about the different widget types available. And VBProperty represents a property key/value of arbitrary type (it uses a GVariant for the value.)
This commit is contained in:
11
Applications/VisualBuilder/VBProperty.cpp
Normal file
11
Applications/VisualBuilder/VBProperty.cpp
Normal file
@@ -0,0 +1,11 @@
|
||||
#include "VBProperty.h"
|
||||
|
||||
VBProperty::VBProperty(const String& name, const GVariant& value)
|
||||
: m_name(name)
|
||||
, m_value(value)
|
||||
{
|
||||
}
|
||||
|
||||
VBProperty::~VBProperty()
|
||||
{
|
||||
}
|
||||
Reference in New Issue
Block a user