25 #include "../WGuiConsts.h"
26 #include "core/common/WAssert.h"
27 #include "WPropertyStructWidget.h"
32 m_layout( &m_parameterWidgets )
36 WAssert( property->getType() == PV_STRUCT,
"WPropertyStructWidget is only compatible with WPropertyStruct instances." );
42 WAssert( ( *iter )->getType() != PV_GROUP,
"WPropertyStructWidget does not support PV_GROUP properties in a struct." );
46 WAssert( w,
"WPropertyStructWidget does not support other unsupported properties in a struct." );
56 m_layout.setMargin( WGLOBAL_MARGIN );
57 m_layout.setSpacing( WGLOBAL_SPACING );
70 for( WidgetList::const_iterator iter =
m_widgets.begin(); iter !=
m_widgets.end(); ++iter )
72 ( *iter )->requestUpdate();
PropertyContainerType::const_iterator PropertyConstIterator
The const iterator type of the container.
std::shared_ptr< WPropertyGroupBase > SPtr
Convenience typedef for a std::shared_ptr< WPropertyGroupBase >.
std::shared_ptr< WSharedObjectTicketRead< T > > ReadTicket
Type for read tickets.