15#ifndef QGSBROWSERWIDGET_H
16#define QGSBROWSERWIDGET_H
18#include "ui_qgsbrowserwidgetbase.h"
25class QgsDockBrowserTreeView;
124 void openFile(
const QString &fileName,
const QString &fileTypeHint = QString() );
133 void showEvent( QShowEvent *event )
override;
136 void itemDoubleClicked(
const QModelIndex &index );
137 void onOptionsChanged();
140 void showContextMenu( QPoint );
143 void showFilterWidget(
bool visible );
145 void enablePropertiesWidget(
bool enable );
147 void propertiesWidgetToggled(
bool enabled );
150 void setFilterSyntax( QAction * );
152 void setCaseSensitive(
bool caseSensitive );
157 void addSelectedLayers();
159 void showProperties();
165 void selectionChanged(
const QItemSelection &selected,
const QItemSelection &deselected );
167 void splitterMoved();
169 void refreshModel(
const QModelIndex &index );
173 void clearPropertiesWidget();
175 void setPropertiesWidget();
178 int selectedItemsCount();
180 QString settingsSection() {
return objectName().toLower(); }
184 QgsDockBrowserTreeView *mBrowserView =
nullptr;
191 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.
A browser item that represents a layer that can be opened with one of the providers.
Map canvas is a class for displaying all GIS data types on a canvas.
A bar for displaying non-blocking messages to the user.
QList< QgsMimeDataUtils::Uri > UriList