Eneboo - Documentación para desarrolladores
Clases | 'defines' | Funciones | Variables
Referencia del Archivo src/qt/src/kernel/qrichtext.cpp
#include "qrichtext_p.h"
#include "qstringlist.h"
#include "qfont.h"
#include "qtextstream.h"
#include "qfile.h"
#include "qapplication.h"
#include "qmap.h"
#include "qfileinfo.h"
#include "qstylesheet.h"
#include "qmime.h"
#include "qimage.h"
#include "qdragobject.h"
#include "qpaintdevicemetrics.h"
#include "qpainter.h"
#include "qdrawutil.h"
#include "qcursor.h"
#include "qptrstack.h"
#include "qptrdict.h"
#include "qstyle.h"
#include "qcleanuphandler.h"
#include "qtextengine_p.h"
#include <private/qunicodetables_p.h>
#include <stdlib.h>
#include <qbitmap.h>

Clases

struct  QTextDocumentTag
struct  QPixmapInt
struct  Entity

'defines'

#define QChar_linesep   QChar(0x2028U)
#define NEWPAR
#define SPACE(s)   s
#define DO_FLOW(lineStart)
#define UPDATE(up, lo, rest)

Funciones

bool isBreakable (QTextString *string, int pos)

Variables

const int border_tolerance = 2

Documentación de los 'defines'

#define DO_FLOW (   lineStart)
Valor:
do{ if ( doc && doc->isPageBreakEnabled() ) { \
                    int yflow = lineStart->y + parag->rect().y();\
                    int shift = doc->flow()->adjustFlow( yflow, dw, lineStart->h ); \
                    lineStart->y += shift;\
                    y += shift;\
                }}while(FALSE)
#define NEWPAR
Valor:
do{ if ( !hasNewPar) { \
                    if ( !textEditMode && curpar && curpar->length()>1 && curpar->at( curpar->length()-2)->c == QChar_linesep ) \
                        curpar->remove( curpar->length()-2, 1 ); \
                    curpar = createParagraph( this, curpar, curpar->next() ); styles.append( vec ); vec = 0;} \
                    hasNewPar = TRUE; \
                    curpar->rtext = TRUE;  \
                    curpar->align = curtag.alignment; \
                    curpar->lstyle = curtag.liststyle; \
                    curpar->litem = ( curtag.style->displayMode() == QStyleSheetItem::DisplayListItem ); \
                    curpar->str->setDirection( (QChar::Direction)curtag.direction ); \
                    space = TRUE; \
                    tabExpansionColumn = 0; \
                    delete vec; vec = new QPtrVector<QStyleSheetItem>( (uint)tags.count() + 1); \
                    int i = 0; \
                    for ( QValueStack<QTextDocumentTag>::Iterator it = tags.begin(); it != tags.end(); ++it ) \
                        vec->insert( i++, (*it).style ); \
                    vec->insert( i, curtag.style ); \
                    }while(FALSE);
#define QChar_linesep   QChar(0x2028U)
#define SPACE (   s)    s
#define UPDATE (   up,
  lo,
  rest 
)
Valor:
if ( font.lo##rest() != defFormat->fn.lo##rest() && fm->fn.lo##rest() == defFormat->fn.lo##rest() ) \
            fm->fn.set##up##rest( font.lo##rest() )

Documentación de las funciones

bool isBreakable ( QTextString string,
int  pos 
) [inline]

Documentación de las variables

const int border_tolerance = 2
 Todo Clases Namespaces Archivos Funciones Variables 'typedefs' Enumeraciones Valores de enumeraciones Propiedades Amigas 'defines'