00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016 #ifndef _QLINE_NUMBER_PANEL_H_
00017 #define _QLINE_NUMBER_PANEL_H_
00018
00026 #include "qpanel.h"
00027
00028 class QCE_EXPORT QLineNumberPanel : public QPanel
00029 {
00030 Q_OBJECT
00031
00032 public:
00033 Q_PANEL(QLineNumberPanel, "Line Number Panel")
00034
00035 QLineNumberPanel(QWidget *p = 0);
00036 virtual ~QLineNumberPanel();
00037
00038 bool isVerboseMode() const;
00039
00040 virtual QString type() const;
00041
00042 public slots:
00043 void setVerboseMode(bool y);
00044
00045 protected:
00046 virtual void editorChange(QEditor *e);
00047 virtual void paint(QPainter *p, QEditor *e);
00048
00049 bool m_verbose;
00050 };
00051
00052 #endif // _QLINE_NUMBER_PANEL_H_
00053