DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dprogressbar.h
浏览该文件的文档.
1// SPDX-FileCopyrightText: 2019 - 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DPROGRESSBAR_H
6#define DPROGRESSBAR_H
7
8#include <dtkwidget_global.h>
9#include <DObject>
10#include <QProgressBar>
11
12DWIDGET_BEGIN_NAMESPACE
13
14class DProgressBar : public QProgressBar, public DCORE_NAMESPACE::DObject
15{
16public:
17 explicit DProgressBar(QWidget *parent = nullptr);
18
19 QSize sizeHint() const override;
20 QSize minimumSizeHint() const override;
21};
22
23DWIDGET_END_NAMESPACE
24
25#endif // DPROGRESSBAR_H
继承自 QProgressBar类 ,一个用于表示进度条的控件
Definition dprogressbar.h:15