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:
parent
5b0c0847ef
commit
5e733d47a3
5 changed files with 27 additions and 0 deletions
|
@ -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());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue