Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
bookmarkdialog.h
Go to the documentation of this file.
1
// Copyright (C) 2016 The Qt Company Ltd.
2
// SPDX-License-Identifier: LicenseRef-Qt-Commercial OR GPL-3.0-only WITH Qt-GPL-exception-1.0
3
#
ifndef
BOOKMARKDIALOG_H
4
#
define
BOOKMARKDIALOG_H
5
6
#
include
"ui_bookmarkdialog.h"
7
8
QT_BEGIN_NAMESPACE
9
10
class
BookmarkModel;
11
class
BookmarkFilterModel
;
12
class
BookmarkTreeModel
;
13
14
class
BookmarkDialog
:
public
QDialog
15
{
16
Q_OBJECT
17
public
:
18
BookmarkDialog
(
BookmarkModel
*
bookmarkModel
,
const
QString
&
title
,
19
const
QString
&
url
,
QWidget
*
parent
=
nullptr
);
20
~
BookmarkDialog
()
override
;
21
22
private
:
23
bool
isRootItem(
const
QModelIndex &index)
const
;
24
bool
eventFilter
(QObject *object, QEvent *event)
override
;
25
26
private
slots
:
27
void
currentIndexChanged
(
int
index
);
28
void
currentIndexChanged(
const
QModelIndex &index);
29
30
void
accepted();
31
void
rejected();
32
33
void
addFolder();
34
void
toolButtonClicked();
35
void
textChanged(
const
QString& text);
36
void
customContextMenuRequested(
const
QPoint &point);
37
38
private
:
39
QString m_url;
40
QString m_title;
41
Ui::BookmarkDialog ui;
42
QList<QPersistentModelIndex> cache;
43
44
BookmarkModel
*bookmarkModel;
45
BookmarkTreeModel
*bookmarkTreeModel;
46
BookmarkFilterModel
*bookmarkProxyModel;
47
};
48
49
QT_END_NAMESPACE
50
51
#
endif
// BOOKMARKDIALOG_H
BookmarkDialog
Definition
bookmarkdialog.h:15
BookmarkDialog::eventFilter
bool eventFilter(QObject *object, QEvent *event) override
Filters events if this object has been installed as an event filter for the watched object.
Definition
bookmarkdialog.cpp:75
BookmarkDialog::~BookmarkDialog
~BookmarkDialog() override
Definition
bookmarkdialog.cpp:65
BookmarkFilterModel
Definition
bookmarkfiltermodel.h:19
BookmarkModel
Definition
bookmarkmodel.h:20
BookmarkModel::setItemsEditable
void setItemsEditable(bool editable)
Definition
bookmarkmodel.cpp:100
BookmarkTreeModel
Definition
bookmarkfiltermodel.h:68
HelpEngineWrapper
Definition
helpenginewrapper.h:38
HelpEngineWrapper::instance
static HelpEngineWrapper & instance()
Definition
helpenginewrapper.cpp:89
HelpEngineWrapper::usesAppFont
bool usesAppFont() const
Definition
helpenginewrapper.cpp:554
QT_BEGIN_NAMESPACE
Combined button and popup list for selecting options.
Definition
qstandardpaths_haiku.cpp:21
TRACE_OBJ
#define TRACE_OBJ
Definition
tracer.h:34
qttools
src
assistant
assistant
bookmarkdialog.h
Generated on Wed Nov 13 2024 00:53:09 for Qt by
1.12.0