15 #ifndef QGSBROWSERWIDGET_H 
   16 #define QGSBROWSERWIDGET_H 
   18 #include "ui_qgsbrowserwidgetbase.h" 
   24 class 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 setFilterSyntax( QAction * );
 
  130     void setCaseSensitive( 
bool caseSensitive );
 
  135     void addSelectedLayers();
 
  137     void showProperties();
 
  143     void selectionChanged( 
const QItemSelection &selected, 
const QItemSelection &deselected );
 
  145     void splitterMoved();
 
  147     void refreshModel( 
const QModelIndex &index );
 
  151     void clearPropertiesWidget();
 
  153     void setPropertiesWidget();
 
  156     int selectedItemsCount();
 
  158     QString settingsSection() { 
return objectName().toLower(); }
 
  162     QgsDockBrowserTreeView *mBrowserView = 
nullptr;
 
  166     bool mPropertiesWidgetEnabled = 
false;
 
  168     float mPropertiesWidgetHeight = 0;
 
  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