/* * * * Copyright (C) 2023, KylinSoft Co., Ltd. * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 3 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this library. If not, see . * * Authors: Zhen Sun * */ #ifndef WIDGET_H #define WIDGET_H #include "kborderlessbutton.h" #include "kswitchbutton.h" #include "kwidget.h" #include using namespace kdk; class Widget : public KWidget { Q_OBJECT public: Widget(QWidget *parent = nullptr); ~Widget(); private: KSwitchButton *m_pSwitchBtn1; QLabel *m_pLabel1; KBorderlessButton *m_pBtn1; KSwitchButton *m_pSwitchBtn2; QLabel *m_pLabel2; KBorderlessButton *m_pBtn2; KSwitchButton *m_pSwitchBtn3; QLabel *m_pLabel3; KBorderlessButton *m_pBtn3; }; #endif // WIDGET_H