17#include "moc_qgscolorwidgetwrapper.cpp" 
   48  QWidget *container = 
new QWidget( parent );
 
   49  QHBoxLayout *layout = 
new QHBoxLayout();
 
   50  container->setLayout( layout );
 
   51  layout->setContentsMargins( 0, 0, 0, 0 );
 
   53  button->
setContext( QStringLiteral( 
"editor" ) );
 
   54  layout->addWidget( button );
 
   56  container->setSizePolicy( QSizePolicy::Preferred, QSizePolicy::Minimum );
 
 
   62  mColorButton = qobject_cast<QgsColorButton *>( editor );
 
 
   77void QgsColorWidgetWrapper::updateValues( 
const QVariant &value, 
const QVariantList & )
 
   83void QgsColorWidgetWrapper::updateConstraintWidgetStatus()
 
static bool isNull(const QVariant &variant, bool silenceNullWarnings=false)
Returns true if the specified variant should be considered a NULL value.
 
static QVariant createNullVariant(QMetaType::Type metaType)
Helper method to properly create a null QVariant from a metaType Returns the created QVariant.
 
Represents a vector layer which manages a vector based dataset.
 
As part of the API refactoring and improvements which landed in the Processing API was substantially reworked from the x version This was done in order to allow much of the underlying Processing framework to be ported into c
 
QgsSignalBlocker< Object > whileBlocking(Object *object)
Temporarily blocks signals from a QObject while calling a single method from the object.