Go to the documentation of this file.00001 #ifndef TEXTFORMATTOOLBAR_H
00002 #define TEXTFORMATTOOLBAR_H
00003
00004 #include "scgraphicsview_global.h"
00005 #include <QWidget>
00006 #include <QToolBar>
00007 #include <QAction>
00008 #include <QFontComboBox>
00009 #include <QComboBox>
00010
00014 class SCGRAPHICSVIEWSHARED_EXPORT TextFormatToolBar : public QToolBar
00015 {
00016 Q_OBJECT
00017
00018 public:
00019 TextFormatToolBar(QWidget * parent=NULL);
00020
00021 private slots:
00022
00023 void handleFontChange();
00024 void handleBoldChanged();
00025 void handleCurrentFontChanged();
00026
00027
00028 private:
00029
00030
00031 QAction *boldAction;
00032 QAction *italicAction;
00033 QFontComboBox *fontCombo;
00034 QComboBox *fontSizeCombo;
00035 };
00036
00037 #endif // TEXTFORMATTOOLBAR_H