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

#include <listviews.h>

Diagrama de herencias de MessageLVI
LVI QListViewItem Qt Qt

Lista de todos los miembros.

Métodos públicos

 MessageLVI (QListView *parent, const MetaTranslatorMessage &message, const QString &text, const QString &comment, ContextLVI *c)
virtual bool danger () const
void setTranslation (const QString &translation)
void setFinished (bool finished)
void setDanger (bool danger)
void setContextLVI (ContextLVI *c)
ContextLVIcontextLVI () const
void updateTranslationText ()
QString context () const
QString sourceText () const
QString comment () const
QString translation () const
bool finished () const
MetaTranslatorMessage message () const
void paintCell (QPainter *p, const QColorGroup &cg, int column, int width, int align)

Documentación del constructor y destructor

MessageLVI::MessageLVI ( QListView parent,
const MetaTranslatorMessage message,
const QString text,
const QString comment,
ContextLVI c 
)

Documentación de las funciones miembro

QString MessageLVI::comment ( ) const [inline]
QString MessageLVI::context ( ) const
ContextLVI* MessageLVI::contextLVI ( ) const [inline]
virtual bool MessageLVI::danger ( ) const [inline, virtual]

Reimplementado de LVI.

bool MessageLVI::finished ( ) const [inline]
MetaTranslatorMessage MessageLVI::message ( ) const
void MessageLVI::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.

void MessageLVI::setContextLVI ( ContextLVI c) [inline]
void MessageLVI::setDanger ( bool  danger)
void MessageLVI::setFinished ( bool  finished)
void MessageLVI::setTranslation ( const QString translation)
QString MessageLVI::sourceText ( ) const [inline]
QString MessageLVI::translation ( ) const [inline]
void MessageLVI::updateTranslationText ( )

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'