mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-02 00:02:12 -05:00
Add WMS/WFS to QgsField::ConfigurationFlag
This commit is contained in:
parent
b516a49b9e
commit
19d4b52f10
@ -66,7 +66,7 @@ no items selected.
|
||||
|
||||
void addItemWithCheckState( const QString &text, Qt::CheckState state, const QVariant &userData = QVariant() );
|
||||
%Docstring
|
||||
Adds an item to the combobox with the given ``text``, check ``state``
|
||||
Adds an item to the combobox with the given ``text``, check ``state`` (stored in the Qt.CheckStateRole)
|
||||
and containing the specified ``userData`` (stored in the Qt.UserRole).
|
||||
The item is appended to the list of existing items.
|
||||
|
||||
@ -122,6 +122,8 @@ Toggles the item check state
|
||||
.. seealso:: :py:func:`setItemCheckState`
|
||||
%End
|
||||
|
||||
QgsCheckableItemModel *model() const;
|
||||
|
||||
virtual void hidePopup();
|
||||
|
||||
%Docstring
|
||||
|
@ -81,7 +81,9 @@ class CORE_EXPORT QgsField
|
||||
{
|
||||
None = 0, //!< No flag is defined
|
||||
Searchable = 0x1, //!< Defines if the field is searchable (used in the locator search for instance)
|
||||
DefaultFlags = Searchable, //!< Default set of flags for a field
|
||||
Wms = 0x2, //!< Fields is available if layer is served as WMS
|
||||
Wfs = 0x3, //!< Fields is available if layer is served as WFS
|
||||
DefaultFlags = Searchable | Wms | Wfs, //!< Default set of flags for a field
|
||||
};
|
||||
Q_ENUM( ConfigurationFlag )
|
||||
Q_DECLARE_FLAGS( ConfigurationFlags, ConfigurationFlag )
|
||||
|
Loading…
x
Reference in New Issue
Block a user