/***************************************************************************
 *   Copyright (C) 2007 by Anistratov Oleg                                 *
 *   ower86@gmail.com                                                      *
 *                                                                         *
 *   This program is free software; you can redistribute it and/or modify  *
 *   it under the terms of the GNU General Public License version 2        *
 *   as published by the Free Software Foundation;                         *
 *                                                                         *
 *   This program 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 General Public License for more details.                          *
 *                                                                         *
 ***************************************************************************/
#ifndef TEXTFORMATTINGWGT_H
#define TEXTFORMATTINGWGT_H

#include <QWidget>
#include <QAction>
#include <QToolButton>

/**
	@author Anistratov Oleg <ower86@gmail.com>
*/
class TextFormattingWgt : public QWidget
{
  Q_OBJECT
  private:
    QToolButton* m_setBoldAct;
    QToolButton* m_setItalicAct;
    QToolButton* m_setUnderlinedAct;

  public:
    TextFormattingWgt(QWidget *parent = 0);
    ~TextFormattingWgt();

  signals:
    void wantSetBold(bool);
    void wantSetItalic(bool);
    void wantSetUnderlined(bool);

};

#endif
