|
| QgsPropertyOverrideButton (QWidget *parent=nullptr, const QgsVectorLayer *layer=nullptr) |
| Constructor for QgsPropertyOverrideButton. More...
|
|
QString | fullDescription () const |
| Returns the full definition description and current definition (internally generated on a contextual basis). More...
|
|
void | init (int propertyKey, const QgsAbstractPropertyCollection &collection, const QgsPropertiesDefinition &definitions, const QgsVectorLayer *layer=nullptr, bool auxiliaryStorageEnabled=false) |
| Initialize a newly constructed property button (useful if button was included in a UI layout). More...
|
|
void | init (int propertyKey, const QgsProperty &property, const QgsPropertiesDefinition &definitions, const QgsVectorLayer *layer=nullptr, bool auxiliaryStorageEnabled=false) |
| Initialize a newly constructed property button (useful if button was included in a UI layout). More...
|
|
void | init (int propertyKey, const QgsProperty &property, const QgsPropertyDefinition &definition, const QgsVectorLayer *layer=nullptr, bool auxiliaryStorageEnabled=false) |
| Initialize a newly constructed property button (useful if button was included in a UI layout). More...
|
|
bool | isActive () const |
| Returns true if the button has an active property. More...
|
|
int | propertyKey () const |
| Returns the property key linked to the button. More...
|
|
void | registerCheckedWidget (QWidget *widget, bool natural=true) |
| Register a sibling widget that gets checked when the property is active. More...
|
|
void | registerEnabledWidget (QWidget *widget, bool natural=true) |
| Register a sibling widget that gets enabled when the property is active, and disabled when the property is inactive. More...
|
|
void | registerExpressionContextGenerator (QgsExpressionContextGenerator *generator) |
| Register an expression context generator class that will be used to retrieve an expression context for the button when required. More...
|
|
void | registerExpressionWidget (QWidget *widget) |
| Register a sibling widget (line edit, text edit) that will receive the property as an expression. More...
|
|
void | registerLinkedWidget (QWidget *widget) |
| Registers a widget which is linked to this button. More...
|
|
void | registerVisibleWidget (QWidget *widget, bool natural=true) |
| Register a sibling widget that gets visible when the property is active, and hidden when the property is inactive. More...
|
|
void | setSymbol (std::shared_ptr< QgsSymbol > symbol) |
| Sets a symbol which can be used for previews inside the widget or in any dialog created by the widget. More...
|
|
void | setToProperty (const QgsProperty &property) |
| Sets the widget to reflect the current state of a QgsProperty. More...
|
|
void | setUsageInfo (const QString &info) |
| Set the usage information for the property. More...
|
|
void | setVectorLayer (const QgsVectorLayer *layer) |
| Sets the vector layer associated with the button. More...
|
|
QgsProperty | toProperty () const |
| Returns a QgsProperty object encapsulating the current state of the widget. More...
|
|
void | updateFieldLists () |
| Updates list of fields. More...
|
|
QString | usageInfo () const |
| Returns usage information for the property. More...
|
|
QgsPropertyDefinition::DataType | validDataType () const |
| Returns the data type which the widget will accept. More...
|
|
const QgsVectorLayer * | vectorLayer () const |
| Returns the vector layer associated with the button. More...
|
|