File indexing completed on 2024-05-05 17:39:54

0001 /*
0002  *  KSysGuard, the KDE System Guard
0003  *
0004  *  SPDX-FileCopyrightText: 2022 Eugene Popov <popov895@ukr.net>
0005  *
0006  *  SPDX-License-Identifier: LGPL-2.0-or-later
0007  */
0008 
0009 #ifndef _GeneralTab_h_
0010 #define _GeneralTab_h_
0011 
0012 #include <QWidget>
0013 
0014 class QLabel;
0015 class QTreeWidget;
0016 
0017 class GeneralTab : public QWidget
0018 {
0019     Q_OBJECT
0020 
0021 public:
0022     explicit GeneralTab(QWidget *parent = nullptr);
0023 
0024     void setData(const QVariantMap &data);
0025 
0026 private:
0027     QTreeWidget *m_dataTreeWidget = nullptr;
0028     QLabel *m_placeholderLabel = nullptr;
0029 };
0030 
0031 #endif // _GeneralTab_h_