kwin Library API Documentation

KWinInternal::PopupInfo Class Reference

Inheritance diagram for KWinInternal::PopupInfo:

QWidget List of all members.

Public Member Functions

 PopupInfo (const char *name=0)
 ~PopupInfo ()
void reset ()
void hide ()
void showInfo (QString infoString)
void reconfigure ()

Protected Member Functions

void paintEvent (QPaintEvent *)
void paintContents ()

Detailed Description

Definition at line 23 of file popupinfo.h.


Member Function Documentation

void KWinInternal::PopupInfo::reset  ) 
 

Resets the popup info

Definition at line 60 of file popupinfo.cpp.

References QWidget::fontMetrics(), QRect::height(), QCursor::pos(), QWidget::setGeometry(), QRect::width(), QRect::x(), and QRect::y().

Referenced by PopupInfo(), and showInfo().

void KWinInternal::PopupInfo::paintEvent QPaintEvent  )  [protected]
 

Paints the popup info

Reimplemented from QWidget.

Definition at line 75 of file popupinfo.cpp.

References QWidget::colorGroup(), QWidget::height(), paintContents(), QWidget::style(), and QWidget::width().

void KWinInternal::PopupInfo::paintContents  )  [protected]
 

Paints the contents of the tab popup info box. Used in paintEvent() and whenever the contents changes.

Definition at line 88 of file popupinfo.cpp.

References QWidget::colorGroup(), QPainter::drawText(), QPainter::fillRect(), QWidget::height(), and QWidget::width().

Referenced by paintEvent(), and showInfo().


The documentation for this class was generated from the following files:
KDE Logo
This file is part of the documentation for kwin Library Version 3.4.1.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Fri Sep 30 18:40:47 2005 by doxygen 1.4.3 written by Dimitri van Heesch, © 1997-2003