1 /**************************************************************************
5 Unix Remote Printing Operation
6 Copyright (c) Arto Hyvättinen 2010
8 This file is part of URPO.
10 URPO is free software: you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation, either version 3 of the License, or
13 (at your option) any later version.
15 URPO is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
21 **************************************************************************/
23 #ifndef DEBUGCONSOLE_H
24 #define DEBUGCONSOLE_H
26 #include <QTextBrowser>
28 /*! Show debug messages
30 @author Arto Hyvättinen
34 Show debug messages in QTextBrowser.
35 Show everything received via debugMessage() slot.
40 class DebugConsole : public QTextBrowser
44 explicit DebugConsole(QWidget *parent = 0);
49 void debugMessage(QString message);
53 #endif // DEBUGCONSOLE_H