Debian Codegraph @

kysdk-qtwidgets/test/testListWidget/widget.h

raw
1 /*
2 *
3 *
4 * Copyright (C) 2023, KylinSoft Co., Ltd.
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 3 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this library. If not, see <https://www.gnu.org/licenses/>.
18 *
19 * Authors: Zhenyu Wang <[email protected]>
20 *
21 */
22
23 #ifndef WIDGET_H
24 #define WIDGET_H
25
26 #include "gui_g.h"
27 #include "kitemwidget.h"
28 #include "klistwidget.h"
29 #include "kwidget.h"
30 #include <QWidget>
31
32 using namespace kdk;
33
34 class Widget : public QWidget
35 {
36 Q_OBJECT
37
38 public:
39 Widget(QWidget *parent = nullptr);
40 ~Widget();
41
42 private:
43 KItemWidget *m_item;
44 KItemWidget *m_item1;
45 KListWidget *m_listwidget;
46 };
47 #endif // WIDGET_H