/*
    Copyright (c) 2009 by Nigmatullin Ruslan <euroelessar@gmail.com>

 ***************************************************************************
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License as published by  *
 *   the Free Software Foundation; either version 2 of the License, or     *
 *   (at your option) any later version.                                   *
 *                                                                         *
 ***************************************************************************
*/

#ifndef Console_H
#define Console_H

#include <QCloseEvent>
#include "ui_console.h"

class Console : public QWidget
{
    Q_OBJECT
    
private:
	Ui::Console ui;
public:
	Console(QWidget *parent=0);
	void appendMsg(const QString &xml, QtMsgType type);
protected:
	virtual void closeEvent(QCloseEvent *event);
};

#endif
