List of all members | Public Member Functions
QTextEditProto Class Reference

#include <qtexteditproto.h>

Inheritance diagram for QTextEditProto:
QObject QScriptable

Public Member Functions

 QTextEditProto (QObject *parent)
 
Q_INVOKABLE int alignment () const
 
Q_INVOKABLE QString anchorAt (const QPoint &pos) const
 
Q_INVOKABLE bool canPaste () const
 
Q_INVOKABLE QMenu * createStandardContextMenu ()
 
Q_INVOKABLE QMenu * createStandardContextMenu (const QPoint &position)
 
Q_INVOKABLE QTextCharFormat currentCharFormat () const
 
Q_INVOKABLE QFont currentFont () const
 
Q_INVOKABLE QTextCursor cursorForPosition (const QPoint &pos) const
 
Q_INVOKABLE QRect cursorRect () const
 
Q_INVOKABLE QRect cursorRect (const QTextCursor &cursor) const
 
Q_INVOKABLE QTextDocument * document () const
 
Q_INVOKABLE void ensureCursorVisible ()
 
Q_INVOKABLE bool find (const QString &exp, int options=0)
 
Q_INVOKABLE QString fontFamily () const
 
Q_INVOKABLE bool fontItalic () const
 
Q_INVOKABLE qreal fontPointSize () const
 
Q_INVOKABLE bool fontUnderline () const
 
Q_INVOKABLE int fontWeight () const
 
Q_INVOKABLE QVariant loadResource (int type, const QUrl &name)
 
Q_INVOKABLE void mergeCurrentCharFormat (const QTextCharFormat &modifier)
 
Q_INVOKABLE void moveCursor (int operation, int mode=QTextCursor::MoveAnchor)
 
Q_INVOKABLE void print (QPrinter *printer) const
 
Q_INVOKABLE void setCurrentCharFormat (const QTextCharFormat &format)
 
Q_INVOKABLE void setDocument (QTextDocument *document)
 
Q_INVOKABLE void setTextCursor (const QTextCursor &cursor)
 
Q_INVOKABLE QColor textBackgroundColor () const
 
Q_INVOKABLE QColor textColor () const
 
Q_INVOKABLE QTextCursor textCursor () const
 
Q_INVOKABLE QString toString () const
 

Constructor & Destructor Documentation

◆ QTextEditProto()

QTextEditProto::QTextEditProto ( QObject parent)

Member Function Documentation

◆ alignment()

int QTextEditProto::alignment ( ) const

◆ anchorAt()

QString QTextEditProto::anchorAt ( const QPoint &  pos) const

◆ canPaste()

bool QTextEditProto::canPaste ( ) const

◆ createStandardContextMenu() [1/2]

QMenu * QTextEditProto::createStandardContextMenu ( )

◆ createStandardContextMenu() [2/2]

QMenu * QTextEditProto::createStandardContextMenu ( const QPoint &  position)

◆ currentCharFormat()

QTextCharFormat QTextEditProto::currentCharFormat ( ) const

◆ currentFont()

QFont QTextEditProto::currentFont ( ) const

◆ cursorForPosition()

QTextCursor QTextEditProto::cursorForPosition ( const QPoint &  pos) const

◆ cursorRect() [1/2]

QRect QTextEditProto::cursorRect ( ) const

◆ cursorRect() [2/2]

QRect QTextEditProto::cursorRect ( const QTextCursor &  cursor) const

◆ document()

QTextDocument * QTextEditProto::document ( ) const

◆ ensureCursorVisible()

void QTextEditProto::ensureCursorVisible ( )

◆ find()

bool QTextEditProto::find ( const QString &  exp,
int  options = 0 
)

◆ fontFamily()

QString QTextEditProto::fontFamily ( ) const

◆ fontItalic()

bool QTextEditProto::fontItalic ( ) const

◆ fontPointSize()

qreal QTextEditProto::fontPointSize ( ) const

◆ fontUnderline()

bool QTextEditProto::fontUnderline ( ) const

◆ fontWeight()

int QTextEditProto::fontWeight ( ) const

◆ loadResource()

QVariant QTextEditProto::loadResource ( int  type,
const QUrl &  name 
)

◆ mergeCurrentCharFormat()

void QTextEditProto::mergeCurrentCharFormat ( const QTextCharFormat &  modifier)

◆ moveCursor()

void QTextEditProto::moveCursor ( int  operation,
int  mode = QTextCursor::MoveAnchor 
)

◆ print()

void QTextEditProto::print ( QPrinter *  printer) const

◆ setCurrentCharFormat()

void QTextEditProto::setCurrentCharFormat ( const QTextCharFormat &  format)

◆ setDocument()

void QTextEditProto::setDocument ( QTextDocument *  document)

◆ setTextCursor()

void QTextEditProto::setTextCursor ( const QTextCursor &  cursor)

◆ textBackgroundColor()

QColor QTextEditProto::textBackgroundColor ( ) const

◆ textColor()

QColor QTextEditProto::textColor ( ) const

◆ textCursor()

QTextCursor QTextEditProto::textCursor ( ) const

◆ toString()

QString QTextEditProto::toString ( ) const

The documentation for this class was generated from the following files:

Generated on Fri Apr 9 2021 xTuple ERP Programmer Reference, Version 6.0.0 doxygen 1.8.17