|
|
| 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 |
| |
|
| virtual bool | valueChanged (const RefPtr< VTypedValueBase< T > > &Value, const ValuePoolPtr &Context)=0 |
| |
|
|
RefPtr< ValuePoolProvider > | myValuePoolProvider |
| |
◆ 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: