File indexing completed on 2024-04-21 04:02:34
0001 /* 0002 SPDX-FileCopyrightText: 2000 Roman Merzlyakov <roman@sbrf.barrt.ru> 0003 SPDX-FileCopyrightText: 2000 Roman Razilov <Roman.Razilov@gmx.de> 0004 SPDX-FileCopyrightText: 2006 Dmitry Suzdalev <dimsuz@gmail.com> 0005 0006 SPDX-License-Identifier: GPL-2.0-or-later 0007 */ 0008 0009 #ifndef MWIDGET_H 0010 #define MWIDGET_H 0011 0012 #include <QWidget> 0013 0014 class KLinesScene; 0015 class QLabel; 0016 0017 class MainWidget : public QWidget 0018 { 0019 Q_OBJECT 0020 public: 0021 explicit MainWidget(QWidget* parent = nullptr); 0022 ~MainWidget() override; 0023 0024 KLinesScene* scene() { return m_scene; } 0025 public Q_SLOTS: 0026 void setShowNextColors(bool); 0027 private: 0028 void resizeEvent( QResizeEvent* ) override; 0029 KLinesScene* m_scene; 0030 QLabel *m_next_label; 0031 }; 0032 0033 #endif