summaryrefslogtreecommitdiffstats
path: root/kxsldbg/kxsldbgpart/xsldbgoutputview.h
blob: 547ca907ae4583a377e87eb9b97ac85e02cfc4f1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
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 */