| 
    QGIS API Documentation
    3.6.0-Noosa (5873452)
    
   | 
 
The QgsBrowserDockWidget class. More...
#include <qgsbrowserdockwidget.h>

Public Slots | |
| Q_DECL_DEPRECATED void | addFavorite () | 
| Add current item to favorite.  More... | |
| Q_DECL_DEPRECATED void | addFavoriteDirectory () | 
| Add directory from file dialog to favorite.  More... | |
| Q_DECL_DEPRECATED bool | addLayerAtIndex (const QModelIndex &index) | 
| Adds the layer corresponding to the specified model index.  More... | |
| void | addSelectedLayers () | 
| Add selected layers to the project.  More... | |
| void | enablePropertiesWidget (bool enable) | 
| Enable/disable properties widget.  More... | |
| void | hideItem () | 
| Hide current item.  More... | |
| void | refresh () | 
| Refresh browser view model (and view)  More... | |
| Q_DECL_DEPRECATED void | removeFavorite () | 
| Remove from favorite.  More... | |
| void | selectionChanged (const QItemSelection &selected, const QItemSelection &deselected) | 
| Selection has changed.  More... | |
| void | setCaseSensitive (bool caseSensitive) | 
| Sets filter case sensitivity.  More... | |
| void | setFilter () | 
| Apply filter to the model.  More... | |
| void | setFilterSyntax (QAction *) | 
| Sets filter syntax.  More... | |
| void | showContextMenu (QPoint) | 
| Show context menu.  More... | |
| void | showFilterWidget (bool visible) | 
| Show/hide filter widget.  More... | |
| void | showProperties () | 
| Show the layer properties.  More... | |
| void | splitterMoved () | 
| Splitter has been moved.  More... | |
| Q_DECL_DEPRECATED void | toggleFastScan () | 
| Toggle fast scan.  More... | |
| void | updateProjectHome () | 
| Update project home directory.  More... | |
  Public Slots inherited from QgsDockWidget | |
| void | setUserVisible (bool visible) | 
| Sets the dock widget as visible to a user, ie both shown and raised to the front.  More... | |
| void | toggleUserVisible () | 
| Toggles whether the dock is user visible.  More... | |
Signals | |
| void | connectionsChanged () | 
| Connections changed in the browser.  More... | |
| void | handleDropUriList (const QgsMimeDataUtils::UriList &) | 
| Emitted when drop uri list needs to be handled.  More... | |
| void | openFile (const QString &fileName, const QString &fileTypeHint=QString()) | 
| Emitted when a file needs to be opened.  More... | |
  Signals inherited from QgsDockWidget | |
| void | closed () | 
| Emitted when dock widget is closed.  More... | |
| void | closedStateChanged (bool wasClosed) | 
| Emitted when dock widget is closed (or opened).  More... | |
| void | opened () | 
| Emitted when dock widget is opened.  More... | |
| void | openedStateChanged (bool wasOpened) | 
| Emitted when dock widget is opened (or closed).  More... | |
Public Member Functions | |
| QgsBrowserDockWidget (const QString &name, QgsBrowserModel *browserModel, QWidget *parent=nullptr) | |
| Constructor for QgsBrowserDockWidget.  More... | |
| ~QgsBrowserDockWidget () override | |
| Q_DECL_DEPRECATED void | addFavoriteDirectory (const QString &favDir, const QString &name=QString()) | 
| Add directory to favorites.  More... | |
| QgsMessageBar * | messageBar () | 
| Returns the message bar associated with the dock.  More... | |
| void | setMessageBar (QgsMessageBar *bar) | 
| Sets a message bar to use alongside the dock widget.  More... | |
  Public Member Functions inherited from QgsDockWidget | |
| QgsDockWidget (QWidget *parent=nullptr, Qt::WindowFlags flags=nullptr) | |
| Constructor for QgsDockWidget.  More... | |
| QgsDockWidget (const QString &title, QWidget *parent=nullptr, Qt::WindowFlags flags=nullptr) | |
| Constructor for QgsDockWidget.  More... | |
| bool | isUserVisible () const | 
| Returns true if the dock is both opened and raised to the front (ie not hidden by any other tabs.  More... | |
| void | setToggleVisibilityAction (QAction *action) | 
| Links an action to the dock, so that toggling the action will automatically set the dock's visibility to suit (and changing the dock visibility will update the action's state).  More... | |
| QAction * | toggleVisibilityAction () | 
| Returns the action linked to the dock.  More... | |
Protected Member Functions | |
| void | showEvent (QShowEvent *event) override | 
| Show event override.  More... | |
  Protected Member Functions inherited from QgsDockWidget | |
| void | closeEvent (QCloseEvent *) override | 
| void | showEvent (QShowEvent *event) override | 
      
  | 
  explicit | 
Constructor for QgsBrowserDockWidget.
| name | name of the widget | 
| browserModel | instance of the (shared) browser model | 
| parent | parent widget | 
Definition at line 48 of file qgsbrowserdockwidget.cpp.
      
  | 
  override | 
Definition at line 112 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Add current item to favorite.
Definition at line 249 of file qgsbrowserdockwidget.cpp.
| void QgsBrowserDockWidget::addFavoriteDirectory | ( | const QString & | favDir, | 
| const QString & | name = QString()  | 
        ||
| ) | 
Add directory to favorites.
Definition at line 276 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Add directory from file dialog to favorite.
Definition at line 265 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Adds the layer corresponding to the specified model index.
Returns true if the index was successfully intrepreted as a map layer and loaded, or false if the index is not a map layer or could not be loaded.
Definition at line 353 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Add selected layers to the project.
Definition at line 383 of file qgsbrowserdockwidget.cpp.
      
  | 
  signal | 
Connections changed in the browser.
      
  | 
  slot | 
Enable/disable properties widget.
Definition at line 575 of file qgsbrowserdockwidget.cpp.
      
  | 
  signal | 
Emitted when drop uri list needs to be handled.
      
  | 
  slot | 
Hide current item.
Definition at line 421 of file qgsbrowserdockwidget.cpp.
| QgsMessageBar * QgsBrowserDockWidget::messageBar | ( | ) | 
Returns the message bar associated with the dock.
Definition at line 286 of file qgsbrowserdockwidget.cpp.
      
  | 
  signal | 
Emitted when a file needs to be opened.
      
  | 
  slot | 
Refresh browser view model (and view)
Definition at line 296 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Remove from favorite.
Definition at line 291 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Selection has changed.
Definition at line 534 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Sets filter case sensitivity.
Definition at line 510 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Apply filter to the model.
Definition at line 489 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Sets filter syntax.
Definition at line 502 of file qgsbrowserdockwidget.cpp.
| void QgsBrowserDockWidget::setMessageBar | ( | QgsMessageBar * | bar | ) | 
Sets a message bar to use alongside the dock widget.
Setting this allows items to utilize the message bar to provide non-blocking feedback to users, e.g. success or failure of actions.
Definition at line 281 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Show context menu.
Definition at line 194 of file qgsbrowserdockwidget.cpp.
      
  | 
  overrideprotected | 
Show event override.
Definition at line 120 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Show/hide filter widget.
Definition at line 475 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Show the layer properties.
Definition at line 434 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Splitter has been moved.
Definition at line 588 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Toggle fast scan.
Definition at line 450 of file qgsbrowserdockwidget.cpp.
      
  | 
  slot | 
Update project home directory.
Definition at line 496 of file qgsbrowserdockwidget.cpp.
 1.8.13