33#include <NDEVR/QTDesignObject.h>
34#include <NDEVR/Toggle.h>
35#include <NDEVR/ManagedDesignCommand.h>
36#include <NDEVR/JSONNode.h>
148 bool toggle = isChecked();
166 bool checked =
false;
A low-level database object that can be used to access general stored properties within the NDEVR Mod...
constexpr decltype(auto) get(t_property_type property) const
Retrieves a property value from the database, cast to the requested type.
bool hasMetaData(const StringView &index) const
Checks whether a metadata entry exists for the given key.
Provides a modifiable pointer that has shared ownership of a dynamically allocated object.
static DynamicPointer< ManagedDesignCommand > SetProperty(NDPO design_property, const t_type &value)
Creates a command to set a design-level property to the given value.
static DynamicPointer< ManagedDesignCommand > SetMetadata(const String &label, const String &value)
Creates a command to set a metadata key-value pair on target objects.
void updatedSignal(UUID id)
Emitted when this object is updated.
void deletedSignal(UUID id)
Emitted when this object is deleted.
The core String class for the NDEVR API.
static TranslatedString DisplayString(const t_type &value)
Converts an object into a TranslatedString.
Toggle(QWidget *parent=nullptr)
Constructs a Toggle with an optional parent widget.
Any text displayed to the user should be defined as a TranslatedString which allows the program to lo...
The primary namespace for the NDEVR SDK.
NDPO
NDPO - NDEVR Design Property Object: Values stored in the property database.
@ property_size
Sentinel value representing the total number of properties (always last).
@ meta_data
General-purpose metadata string for the object.