DtkWidget
DTK Widget module
载入中...
搜索中...
未找到
dshadowline.h
1// SPDX-FileCopyrightText: 2019 - 2022 UnionTech Software Technology Co., Ltd.
2//
3// SPDX-License-Identifier: LGPL-3.0-or-later
4
5#ifndef DSHADOWLINE_H
6#define DSHADOWLINE_H
7
8#include <dtkwidget_global.h>
9#include <DObject>
10
11#include <QWidget>
12
13DWIDGET_BEGIN_NAMESPACE
14
15class DShadowLinePrivate;
16class LIBDTKWIDGETSHARED_EXPORT DShadowLine : public QWidget, public DCORE_NAMESPACE::DObject
17{
18 D_DECLARE_PRIVATE(DShadowLine)
19
20public:
21 explicit DShadowLine(QWidget *parent = nullptr);
22
23 QSize sizeHint() const;
24
25protected:
26 void paintEvent(QPaintEvent *event) override;
27};
28
29DWIDGET_END_NAMESPACE
30
31#endif // DSHADOWLINE_H
Definition dshadowline.h:17