3#ifndef BOOKMARKMANAGERWIDGET_H
4#define BOOKMARKMANAGERWIDGET_H
6#include "ui_bookmarkmanagerwidget.h"
8#include <QtCore/QPersistentModelIndex>
10#include <QtWidgets/QMenu>
36 void renameItem(
const QModelIndex &index);
37 void selectNextIndex(
bool direction)
const;
38 bool eventFilter(QObject *object, QEvent *event)
override;
44 void importBookmarks();
45 void exportBookmarks();
47 void refeshBookmarkCache();
48 void textChanged(
const QString &text);
50 void removeItem(
const QModelIndex &index = QModelIndex());
52 void customContextMenuRequested(
const QPoint &point);
53 void setSourceFromIndex(
const QModelIndex &index,
bool newTab =
false);
56 QMenu importExportMenu;
57 Ui::BookmarkManagerWidget ui;
58 QList<QPersistentModelIndex> cache;
void filterBookmarkFolders()
void subclassKeyPressEvent(QKeyEvent *event)
void setBookmarksToolbar(QToolBar *toolBar)
QWidget * bookmarkDockWidget() const
void setBookmarksMenu(QMenu *menu)
~BookmarkManager() override
bool eventFilter(QObject *object, QEvent *event) override
Filters events if this object has been installed as an event filter for the watched object.
void setItemsEditable(bool editable)
void expandFoldersIfNeeeded(QTreeView *treeView)
static HelpEngineWrapper & instance()
Combined button and popup list for selecting options.