KDevelop API Documentation

LevelWidget Class Reference

#include <levelwidget.h>

Inheritance diagram for LevelWidget:

QWidget List of all members.

Public Slots

void doRepaint ()

Signals

void expandBlock (QTextParagraph *)
void collapseBlock (QTextParagraph *)

Public Member Functions

 LevelWidget (QEditor *, QWidget *=0, const char *=0)
virtual ~LevelWidget ()

Protected Member Functions

virtual void resizeEvent (QResizeEvent *)
virtual void paintEvent (QPaintEvent *)
virtual void mousePressEvent (QMouseEvent *)

Private Attributes

QEditorm_editor
QPixmap buffer

Constructor & Destructor Documentation

LevelWidget::LevelWidget QEditor ,
QWidget = 0,
const char *  = 0
 

Definition at line 91 of file levelwidget.cpp.

References doRepaint(), LevelWidget(), m_editor, minus_xpm, minusPixmap, plus_xpm, and plusPixmap.

Referenced by LevelWidget().

LevelWidget::~LevelWidget  )  [virtual]
 

Definition at line 111 of file levelwidget.cpp.


Member Function Documentation

void LevelWidget::collapseBlock QTextParagraph *   )  [signal]
 

Referenced by mousePressEvent().

void LevelWidget::doRepaint  )  [inline, slot]
 

Definition at line 63 of file levelwidget.h.

Referenced by QEditorView::doRepaint(), LevelWidget(), and mousePressEvent().

void LevelWidget::expandBlock QTextParagraph *   )  [signal]
 

Referenced by mousePressEvent().

void LevelWidget::mousePressEvent QMouseEvent  )  [protected, virtual]
 

Definition at line 183 of file levelwidget.cpp.

References collapseBlock(), QEditor::document(), doRepaint(), expandBlock(), ParagData::isBlockStart(), ParagData::isOpen(), m_editor, and mousePressEvent().

Referenced by mousePressEvent().

void LevelWidget::paintEvent QPaintEvent  )  [protected, virtual]
 

Definition at line 115 of file levelwidget.cpp.

References buffer, QEditor::document(), ParagData::isBlockStart(), ParagData::isOpen(), ParagData::level(), m_editor, minusPixmap, paintEvent(), and plusPixmap.

Referenced by paintEvent().

void LevelWidget::resizeEvent QResizeEvent  )  [protected, virtual]
 

Definition at line 177 of file levelwidget.cpp.

References buffer, and resizeEvent().

Referenced by resizeEvent().


Member Data Documentation

QPixmap LevelWidget::buffer [private]
 

Definition at line 72 of file levelwidget.h.

Referenced by paintEvent(), and resizeEvent().

QEditor* LevelWidget::m_editor [private]
 

Definition at line 71 of file levelwidget.h.

Referenced by LevelWidget(), mousePressEvent(), and paintEvent().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for KDevelop Version 3.0.4.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Wed Oct 6 17:39:26 2004 by doxygen 1.3.7 written by Dimitri van Heesch, © 1997-2003