DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dinputdialog_p.h
1// SPDX-FileCopyrightText: 2015 - 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DINPUTDIALOG_P_H
6#define DINPUTDIALOG_P_H
7
8#include "dinputdialog.h"
9#include "ddialog_p.h"
10
11class QComboBox;
12
13DWIDGET_BEGIN_NAMESPACE
14
15class DLabel;
16class DLineEdit;
17class DSpinBox;
18class DDoubleSpinBox;
20{
22
23 QAbstractButton *cancelButton = nullptr;
24 QAbstractButton *okButton = nullptr;
25 DLineEdit *lineEdit = nullptr;
26 DSpinBox* spinBox = nullptr;
27 DDoubleSpinBox *doubleSpinBox = nullptr;
28 QComboBox *comboBox = nullptr;
29
30 DInputDialog::InputMode inputMode = DInputDialog::InputMode::TextInput;
31
32 void init();
33
34 D_DECLARE_PUBLIC(DInputDialog)
35};
36
37DWIDGET_END_NAMESPACE
38
39#endif // DINPUTDIALOG_P_H
40
Definition ddialog_p.h:26
类似 DDoubleSpinBox
Definition dspinbox.h:57
Definition dinputdialog_p.h:20
快速创建一个获取可输入数据的对话框.
Definition dinputdialog.h:18
DLineEdit一个聚合 QLineEdit 的输入框.
Definition dlineedit.h:20
deepin风格的QSpinBox.
Definition dspinbox.h:17