15#ifndef QGSBROWSERWIDGET_H
16#define QGSBROWSERWIDGET_H
18#include "ui_qgsbrowserwidgetbase.h"
24class QgsDockBrowserTreeView;
78 void setDisabledDataItemsKeys(
const QStringList &filter );
93 void setActiveIndex( const QModelIndex &index )
SIP_SKIP;
105 void openFile(
const QString &fileName,
const QString &fileTypeHint = QString() );
114 void showEvent( QShowEvent *event )
override;
117 void itemDoubleClicked(
const QModelIndex &index );
118 void onOptionsChanged();
121 void showContextMenu( QPoint );
124 void showFilterWidget(
bool visible );
126 void enablePropertiesWidget(
bool enable );
128 void propertiesWidgetToggled(
bool enabled );
131 void setFilterSyntax( QAction * );
133 void setCaseSensitive(
bool caseSensitive );
138 void addSelectedLayers();
140 void showProperties();
146 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected );
148 void splitterMoved();
150 void refreshModel(
const QModelIndex &index );
154 void clearPropertiesWidget();
156 void setPropertiesWidget();
159 int selectedItemsCount();
161 QString settingsSection() {
return objectName().toLower(); }
165 QgsDockBrowserTreeView *mBrowserView =
nullptr;
171 QStringList mDisabledDataItemsKeys;
A model for showing available data sources and other items in a structured tree.
A QSortFilterProxyModel subclass for filtering and sorting browser model items.
Encapsulates the context in which a QgsDataItem is shown within the application GUI.
Base class for all items in the model.
Item that represents a layer that can be opened with one of the providers.
A bar for displaying non-blocking messages to the user.
QList< QgsMimeDataUtils::Uri > UriList