1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-28 12:15:09 +00:00

VisualBuilder: Add a way to dump the current form to the debugger.

This commit is contained in:
Andreas Kling 2019-05-07 23:28:35 +02:00
parent 5b0c0847ef
commit 5e733d47a3
5 changed files with 27 additions and 0 deletions

View file

@ -195,3 +195,10 @@ void VBWidget::capture_transform_origin_rect()
{
m_transform_origin_rect = rect();
}
void VBWidget::dump()
{
for (auto& property : m_properties) {
dbgprintf("%s=%s\n", property->name().characters(), property->value().to_string().characters());
}
}