QGIS API Documentation
3.14.0-Pi (9f7028fd23)
|
Go to the documentation of this file.
34 return c.isValid() ? QVariant(
c ) : QVariant( QVariant::Color );
47 QWidget *container =
new QWidget( parent );
48 QHBoxLayout *layout =
new QHBoxLayout();
49 container->setLayout( layout );
50 layout->setMargin( 0 );
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 );
77 void QgsColorWidgetWrapper::updateValues(
const QVariant &value,
const QVariantList & )
83 void QgsColorWidgetWrapper::updateConstraintWidgetStatus()
QgsSignalBlocker< Object > whileBlocking(Object *object)
Temporarily blocks signals from a QObject while calling a single method from the object.
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