DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dipv4lineedit_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 DIPV4LINEEDIT_P_H
6#define DIPV4LINEEDIT_P_H
7
8#include <DIpv4LineEdit>
9#include <DImageButton>
10#include <DLineEdit>
11#include <DObjectPrivate>
12
13DWIDGET_BEGIN_NAMESPACE
14
15class DIpv4LineEditPrivate : public DTK_CORE_NAMESPACE::DObjectPrivate
16{
17 Q_DECLARE_PUBLIC(DIpv4LineEdit)
18
19public:
21
22 void init();
23
24 QLabel *getLabel();
25 QLineEdit *getEdit();
26
27 void setFocus(bool focus);
28
29 void _q_updateLineEditText();
30 void _q_setIpLineEditText(const QString &text);
31
32 QList<QLineEdit*> editList;
33 QWidget *editMainWidget;
34
35 bool focus = false;
36};
37
38DWIDGET_END_NAMESPACE
39
40#endif // DIPV4LINEEDIT_P_H
41
Definition dipv4lineedit_p.h:16
类DIpv4LineEdit是专门用于输入ipv4格式文本的编辑框.
Definition dipv4lineedit.h:17