Go to the documentation of this file.00001
00022 #ifndef DGVCONSOLE_H
00023 #define DGVCONSOLE_H
00024
00025 #include <QApplication>
00026 #include <QDockWidget>
00027 #include <QListWidget>
00028
00029 #include "DGVAliases.h"
00030
00039 class DGV_EXPORT DGVConsole : public QDockWidget
00040 {
00041 Q_OBJECT
00042
00043 public:
00048 DGVConsole(QWidget *parent = 0);
00053 virtual ~DGVConsole();
00054
00059 void printError(QString error);
00064 void printWarning(QString warning);
00069 void printInfo(QString info);
00074 void printMessage(QString msg);
00075
00076 public slots:
00081 inline void toFinalEntry()
00082 { listDisplay->setCurrentRow(listDisplay->count()-1); }
00083
00084 signals:
00089 void consoleChanged();
00090
00091 protected:
00092 QListWidget *listDisplay;
00093
00098 void createConnections();
00099 };
00100
00101 #endif // DGVCONSOLE_H