/****************************************************************************
****************************************************************************/

#ifndef WINDOW_H
#define WINDOW_H

#include <QWidget>
#include <QPlainTextEdit>
#include <QTextStream>
#include <iostream>
#include <fstream>

QT_BEGIN_NAMESPACE
class QGroupBox;
class QToolButton;
class QLCDNumber;
class QCheckBox;
class QSpinBox;
QT_END_NAMESPACE

class RenderArea;

class Client;

class Window : public QWidget
{
  Q_OBJECT

public:
  
  Window(QWidget *parent = 0);

	QPlainTextEdit *mLogWidget;
	Client *mClient;
	QLCDNumber *mLcd;
	RenderArea *mRenderArea;

	QCheckBox *mCbSpeed, *mCbSigns, *mCbAcc;

	QCheckBox *mCbLaneAssist;
	QSpinBox *mSpinLaneLeft, *mSpinLaneRight;
	
	QCheckBox *mCbLaneAssistVehicle;
	QSpinBox *mSpinVehicleDistance;
	QCheckBox *mCbRoadDistanceBars;
	
	QCheckBox *mCbRoadLeftStrip, *mCbRoadRightStrip, *mCbRoadVehicleHighlight;
	QSpinBox *mSpinVehicleHighlight;

	QCheckBox *mCbShowNavigation;
	QCheckBox *mCbShowRoadNavigation;
	
	QSpinBox *mSpinHeightOffset;
private:
		
public slots:

  void
  ToggleFullScreen();

	void
	Message(const QString& text);

	void
	SetSpeed(const float speed);

	void
	UpdateCombi(int);


};


#endif
