QVISH 0.1
Classes | Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
Wizt::qVGuiElement< T, QTGuiElement > Class Template Referenceabstract
Inheritance diagram for Wizt::qVGuiElement< T, QTGuiElement >:

Public Member Functions

 qVGuiElement (const RefPtr< VParameter > &vparam, const RefPtr< ValuePoolProvider > &theValuePoolProvider, QWidget *parent=nullptr)
 Child class needs to implement slot that is connected to a signal sent from the QTGUIElement and call setValue() from there.
 
void setValue (const T &t) const
 

Protected Member Functions

virtual bool valueChanged (const RefPtr< VTypedValueBase< T > > &Value, const ValuePoolPtr &Context)=0
 

Protected Attributes

RefPtr< ValuePoolProvider > myValuePoolProvider
 

Member Function Documentation

◆ valueChanged()

template<typename T , class QTGuiElement >
virtual bool Wizt::qVGuiElement< T, QTGuiElement >::valueChanged ( const RefPtr< VTypedValueBase< T > > &  Value,
const ValuePoolPtr &  Context 
)
protectedpure virtual
if (!Value) return false;
T value;
if (Value->getValue( value ))
{
... adjust GUI element ...
}

The documentation for this class was generated from the following file: