RADLib
RADical C++ application framework
RADUi::PreferenceField Struct Reference

Settings/preferences field descriptor. More...

#include <RADWidgets.h>

Public Attributes

std::string id
 Stable id for updates. More...
 
std::string label
 Display label. More...
 
std::string value
 Current serialized value. More...
 
std::vector< std::string > options
 Optional list of allowed choices. More...
 
bool isToggle = false
 Whether the field should be presented as a toggle. More...
 

Detailed Description

Settings/preferences field descriptor.

Member Data Documentation

◆ id

std::string RADUi::PreferenceField::id

Stable id for updates.

◆ isToggle

bool RADUi::PreferenceField::isToggle = false

Whether the field should be presented as a toggle.

◆ label

std::string RADUi::PreferenceField::label

Display label.

◆ options

std::vector<std::string> RADUi::PreferenceField::options

Optional list of allowed choices.

◆ value

std::string RADUi::PreferenceField::value

Current serialized value.


The documentation for this struct was generated from the following file: