Go to the documentation of this file.00001
00004 #ifndef BPSTEXTLOGWIDGET_H
00005 #define BPSTEXTLOGWIDGET_H
00006
00007 #include "bpsgui_global.h"
00008 #include <QWidget>
00009
00013 class BPSGUI_EXPORT BpsTextLogWidget : public QWidget
00014 {
00015 Q_OBJECT
00016 BPS_PRIVATE(BpsTextLogWidget)
00017
00018 public:
00019
00023 BpsTextLogWidget(QWidget* aParent = 0);
00024
00025 virtual ~BpsTextLogWidget();
00026
00032 void setLimit(int aLines);
00033
00037 int limit() const;
00038
00046 void logBinary(const QString& aText, const QColor& aColor = Qt::black);
00047
00054 void logText(const QString& aText, const QColor& aColor = Qt::black);
00055
00059 QString text() const;
00060 };
00061
00062 #endif // BPSTEXTLOGWIDGET_H