00001 /************************************************************************** 00002 00003 URPO 00004 00005 Unix Remote Printing Operation 00006 Copyright (c) Arto Hyvättinen 2010 00007 00008 This file is part of URPO. 00009 00010 URPO is free software: you can redistribute it and/or modify 00011 it under the terms of the GNU General Public License as published by 00012 the Free Software Foundation, either version 3 of the License, or 00013 (at your option) any later version. 00014 00015 URPO is distributed in the hope that it will be useful, 00016 but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 GNU General Public License for more details. 00019 00020 00021 **************************************************************************/ 00022 00023 #include "debugconsole.h" 00024 00025 DebugConsole::DebugConsole(QWidget *parent) : 00026 QTextBrowser(parent) 00027 { 00028 // Set window 00029 setWindowTitle("URPO Debug"); 00030 append( tr("This window shows information for resolving error situations\n")); 00031 } 00032 00033 void DebugConsole::debugMessage(QString message) 00034 { 00035 // Show everything sent by this slot. 00036 append( message ); 00037 }