mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 11:08:11 +00:00
VisualBuilder: Make it possible to move widgets to front/back.
This commit is contained in:
parent
04500c1ae2
commit
52e846df87
3 changed files with 18 additions and 10 deletions
|
@ -18,10 +18,12 @@ VBWidget::VBWidget(VBWidgetType type, VBForm& form)
|
|||
, m_property_model(VBWidgetPropertyModel::create(*this))
|
||||
{
|
||||
m_gwidget = VBWidgetRegistry::build_gwidget(type, &form, m_properties);
|
||||
m_form.m_gwidget_map.set(m_gwidget, this);
|
||||
}
|
||||
|
||||
VBWidget::~VBWidget()
|
||||
{
|
||||
m_form.m_gwidget_map.remove(m_gwidget);
|
||||
}
|
||||
|
||||
Rect VBWidget::rect() const
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue