25 #include "../WGuiConsts.h"
26 #include "core/common/WPropertyVariable.h"
28 #include "WPropertyTriggerWidget.h"
32 m_triggerProperty( property ),
33 m_button( WPREFERRED_LABEL_LENGTH, &m_parameterWidgets ),
34 m_layout( &m_parameterWidgets ),
35 m_asText( WPREFERRED_LABEL_LENGTH, &m_informationWidgets ),
36 m_infoLayout( &m_informationWidgets )
44 m_layout.setMargin( WGLOBAL_MARGIN );
45 m_layout.setSpacing( WGLOBAL_SPACING );
46 m_button.
setText( QString::fromStdString( property->getDescription() ) );
48 m_button.setMinimumHeight( WMIN_WIDGET_HEIGHT );
59 connect( &
m_button, SIGNAL( toggled(
bool ) ),
this, SLOT(
changed() ) );
virtual void setText(const QString &text)
reimplemented function to setText
@ PV_TRIGGER_TRIGGERED
Trigger property: got triggered.
@ PV_TRIGGER_READY
Trigger property: is ready to be triggered (again)