1/***************************************************************************
2 begin : Fri May 19 2000
3 copyright : (C) 2000 by Roman Merzlyakov
4 email : roman@sbrf.barrt.ru
5 copyright : (C) 2000 by Roman Razilov
6 email : Roman.Razilov@gmx.de
7 copyright : (C) 2006 by Dmitry Suzdalev
8 email : dimsuz@gmail.com
9 ***************************************************************************/
10
11/***************************************************************************
12 * *
13 * This program is free software; you can redistribute it and/or modify *
14 * it under the terms of the GNU General Public License as published by *
15 * the Free Software Foundation; either version 2 of the License, or *
16 * (at your option) any later version. *
17 * *
18 ***************************************************************************/
19
20#ifndef MWIDGET_H
21#define MWIDGET_H
22
23#include <QWidget>
24
25class KLinesScene;
26class QLabel;
27
28class MainWidget : public QWidget
29{
30 Q_OBJECT
31public:
32 explicit MainWidget( QWidget* parent=0 );
33 ~MainWidget();
34
35 KLinesScene* scene() { return m_scene; }
36public slots:
37 void setShowNextColors(bool);
38private:
39 virtual void resizeEvent( QResizeEvent* );
40 KLinesScene* m_scene;
41 QLabel *m_next_label;
42};
43
44#endif
45