statustext.h

Go to the documentation of this file.
00001 /***************************************************************************
00002                          statustext.h  -  description
00003                              -------------------
00004     begin                : Thu Jul 28 2005
00005     copyright            : (C) 2005-2006 by Ben Swerts
00006     email                : bswerts@users.sourceforge.net
00007  ***************************************************************************/
00008 
00009 /***************************************************************************
00010  *                                                                         *
00011  *   This program is free software; you can redistribute it and/or modify  *
00012  *   it under the terms of the GNU General Public License as published by  *
00013  *   the Free Software Foundation; either version 2 of the License, or     *
00014  *   (at your option) any later version.                                   *
00015  *                                                                         *
00016  ***************************************************************************/
00017 
00020 
00021 #ifndef STATUSTEXT_H
00022 #define STATUSTEXT_H
00023 
00025 
00026 // Base class header file
00027 #include <qtextedit.h>
00028 
00030 class StatusText : public QTextEdit
00031 {
00032   Q_OBJECT
00033 
00034   public:
00035     StatusText(QWidget* parent = 0, const char* name = 0);  // Constructor
00036     ~StatusText();                      // Destructor
00037 
00038   signals:
00039     void rightButtonClicked();          
00040 
00041   public slots:
00042     void append(const QString& text);   // Adds the specified text
00043 
00044   protected:
00045     QPopupMenu* createPopupMenu(const QPoint&);   // Overridden to disable the default popup menu
00046 };
00047 
00048 #endif
00049 

Generated on Fri May 19 14:31:56 2006 for Brabosphere by  doxygen 1.4.6-NO