Eneboo - Documentación para desarrolladores
Métodos públicos
Referencia de la Clase ContextLVI

#include <listviews.h>

Diagrama de herencias de ContextLVI
LVI QListViewItem Qt Qt

Lista de todos los miembros.

Métodos públicos

 ContextLVI (QListView *lv, const QString &context)
virtual bool danger () const
void appendToComment (const QString &x)
void incrementUnfinishedCount ()
void decrementUnfinishedCount ()
void incrementDangerCount ()
void decrementDangerCount ()
void incrementObsoleteCount ()
bool isContextObsolete ()
void updateStatus ()
QString context () const
QString comment () const
QString fullContext () const
bool finished () const
MessageLVIfirstMessageItem ()
MessageLVInextMessageItem ()
MessageLVItakeMessageItem (int i)
void appendMessageItem (QListView *lv, MessageLVI *i)
void instantiateMessageItem (QListView *lv, MessageLVI *i)
int messageItemsInList ()
void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align)

Documentación del constructor y destructor

ContextLVI::ContextLVI ( QListView lv,
const QString context 

Documentación de las funciones miembro

void ContextLVI::appendMessageItem ( QListView lv,
MessageLVI i 
void ContextLVI::appendToComment ( const QString x)
QString ContextLVI::comment ( ) const [inline]
QString ContextLVI::context ( ) const [inline]
virtual bool ContextLVI::danger ( ) const [inline, virtual]

Reimplementado de LVI.

void ContextLVI::decrementDangerCount ( )
void ContextLVI::decrementUnfinishedCount ( )
bool ContextLVI::finished ( ) const [inline]
MessageLVI* ContextLVI::firstMessageItem ( ) [inline]
QString ContextLVI::fullContext ( ) const
void ContextLVI::incrementDangerCount ( )
void ContextLVI::incrementObsoleteCount ( )
void ContextLVI::incrementUnfinishedCount ( )
void ContextLVI::instantiateMessageItem ( QListView lv,
MessageLVI i 
bool ContextLVI::isContextObsolete ( )
int ContextLVI::messageItemsInList ( ) [inline]
MessageLVI* ContextLVI::nextMessageItem ( ) [inline]
void ContextLVI::paintCell ( QPainter p,
const QColorGroup cg,
int  column,
int  width,
int  align 
) [virtual]

This virtual function paints the contents of one column of an item and aligns it as described by align.

p is a QPainter open on the relevant paint device. p is translated so (0, 0) is the top-left pixel in the cell and width-1, height()-1 is the bottom-right pixel in the cell. The other properties of p (pen, brush, etc) are undefined. cg is the color group to use. column is the logical column number within the item that is to be painted; 0 is the column which may contain a tree.

This function may use QListView::itemMargin() for readability spacing on the left and right sides of data such as text, and should honor isSelected() and QListView::allColumnsShowFocus().

If you reimplement this function, you should also reimplement width().

The rectangle to be painted is in an undefined state when this function is called, so you must draw on all the pixels. The painter p has the right font on entry.

Ver también:
paintBranches(), QListView::drawContentsOffset()

Reimplementado de QListViewItem.

MessageLVI* ContextLVI::takeMessageItem ( int  i) [inline]
void ContextLVI::updateStatus ( )

La documentación para esta clase fue generada a partir de los siguientes ficheros:
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'