diff options
Diffstat (limited to 'kxsldbg/kxsldbgpart/xsldbgoutputview.h')
-rw-r--r-- | kxsldbg/kxsldbgpart/xsldbgoutputview.h | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/kxsldbg/kxsldbgpart/xsldbgoutputview.h b/kxsldbg/kxsldbgpart/xsldbgoutputview.h new file mode 100644 index 00000000..547ca907 --- /dev/null +++ b/kxsldbg/kxsldbgpart/xsldbgoutputview.h @@ -0,0 +1,51 @@ +/*************************************************************************** + xsldbgoutputview.h - Display raw output from xsldbg + ------------------- + begin : Sat July 27 2002 + copyright : (C) 2002 by keith Isdale + email : [email protected] + ***************************************************************************/ + +/*********************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + ************************************************************************************/ + +#ifndef XSLDBGOUTPUTVIEW_H +#define XSLDBGOUTPUTVIEW_H + +/** + *@author Keith Isdale + */ +#include <qtextedit.h> +#include <qmessagebox.h> + +class QDialog; +class XsldbgMsgDialogImpl; + +class XsldbgOutputView : public QTextEdit { + Q_OBJECT + +public : + XsldbgOutputView(QWidget *parent = 0); + + void showDialog(QMessageBox::Icon icon, QString title, QString msg); + +public slots: + /** Process a copy of mesage sent to message window */ + void slotProcShowMessage(QString msg); + + /** Clear message view window of its text */ + void slotClearView(); + + private: + + XsldbgMsgDialogImpl *dlg; + +}; + +#endif /* XSLDBGOUTPUTVIEW_H */ |