DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dcombobox.h
浏览该文件的文档.
1
// SPDX-FileCopyrightText: 2021 - 2026 UnionTech Software Technology Co., Ltd.
2
//
3
// SPDX-License-Identifier: LGPL-3.0-or-later
4
5
#ifndef DCOMBOBOX_H
6
#define DCOMBOBOX_H
7
8
#include <dtkwidget_global.h>
9
#include <DObject>
10
#include <QComboBox>
11
12
DWIDGET_BEGIN_NAMESPACE
13
14
class
DComboBoxPrivate;
15
class
LIBDTKWIDGETSHARED_EXPORT
DComboBox
:
public
QComboBox,
public
DCORE_NAMESPACE::DObject
16
{
17
Q_OBJECT
18
D_DECLARE_PRIVATE(
DComboBox
)
19
20
public
:
21
explicit
DComboBox
(QWidget *parent =
nullptr
);
22
23
protected
:
24
DComboBox
(
DComboBoxPrivate
&dd, QWidget *parent);
25
26
// QComboBox interface
27
public
:
28
virtual
void
showPopup()
override
;
29
virtual
bool
eventFilter(QObject *watched, QEvent *event)
override
;
30
};
31
32
DWIDGET_END_NAMESPACE
33
34
#endif
// DCOMBOBOX_H
Dtk::Widget::DComboBoxPrivate
Definition
dcombobox_p.h:15
Dtk::Widget::DComboBox
DComboBox 重写QComboBox, 提供一个下拉列表供用户选择
Definition
dcombobox.h:16
include
widgets
dcombobox.h
文档生成时间:2026-05-20-06:59 +00
Doxygen Version
1.9.8
制作者:deepin doc doc go SIG
文档使用CC-BY-4.0共享