57 Q_PROPERTY(
bool allowEmptyLayer READ allowEmptyLayer WRITE setAllowEmptyLayer )
58 Q_PROPERTY(
bool showCrs READ showCrs WRITE setShowCrs )
59 Q_PROPERTY( QStringList excludedProviders READ excludedProviders WRITE setExcludedProviders )
76 void setFilters(
Qgis::LayerFilters filters ) { mProxyModel->
setFilters( filters ); }
98 void setExceptedLayerList(
const QList<QgsMapLayer *> &layerList ) { mProxyModel->setExceptedLayerList( layerList ); }
111 void setExcludedProviders(
const QStringList &providers );
117 QStringList excludedProviders()
const;
136 void setAllowEmptyLayer(
bool allowEmpty,
const QString &text = QString(),
const QIcon &icon = QIcon() );
142 bool allowEmptyLayer()
const;
148 void setShowCrs(
bool showCrs );
154 bool showCrs()
const;
162 void setAdditionalItems(
const QStringList &items );
168 QStringList additionalItems()
const;
179 void setAdditionalLayers(
const QList<QgsMapLayer *> &layers );
187 QList<QgsMapLayer *> additionalLayers()
const;
214 void dragEnterEvent( QDragEnterEvent *event )
override;
215 void dragLeaveEvent( QDragLeaveEvent *event )
override;
216 void dropEvent( QDropEvent *event )
override;
217 void paintEvent( QPaintEvent *e )
override;
220 void indexChanged(
int i );
225 bool mDragActive =
false;
226 bool mHighlight =
false;
232 QgsMapLayer *compatibleMapLayerFromMimeData(
const QMimeData *data )
const;
234 friend class QgsProcessingMapLayerComboBox;