# QTextView

Bindings for a QTextView.

## Methods

- zoomOut(...)
- setUndoDepth(...)
- getAttribute(...)
- polish1(...)
- clear(...)
- append(...)
- adjustSize(...)
- redo(...)
- indent(...)
- ensureCursorVisible(...)
- setCursorPosition(...)
- repaint1(...)
- clearFocus(...)
- setWrapColumnOrWidth(...)
- cut(...)
- setSelection5(...)
- signals(...)
- slots(...)
- viewport(...)
- child(...)
- setIcon(...)
- resize(...)
- className(...)
- zoomIn1(...)
- ensureVisible4(...)
- zoomTo(...)
- setBold(...)
- insert2(...)
- removeSelectedText(...)
- hasAttribute(...)
- setMaxLogLines(...)
- move(...)
- repaint4(...)
- updateScrollBars(...)
- setColor(...)
- disconnect(...)
- children(...)
- setUpdatesEnabled(...)
- update1(...)
- placeCursor2(...)
- insertAt(...)
- setSelectionAttributes(...)
- clearParagraphBackground(...)
- setFamily(...)
- getElementById(...)
- setEnabled1(...)
- removeSelection1(...)
- setItalic(...)
- setDisabled(...)
- del(...)
- paste(...)
- update4(...)
- scrollToBottom(...)
- center(...)
- showFullScreen(...)
- setCaption(...)
- show(...)
- connect(...)
- childCount(...)
- resetFormat(...)
- getParentNode(...)
- undo(...)
- setAlignment(...)
- setPointSize(...)
- sync(...)
- removeSelection(...)
- iconify(...)
- moveCursor(...)
- addChild(...)
- resize1(...)
- showMaximized(...)
- repaint2(...)
- properties(...)
- setText(...)
- maxLogLines(...)
- setEnabled(...)
- move1(...)
- lower(...)
- showNormal(...)
- polish(...)
- setText2(...)
- hide(...)
- selectAll1(...)
- isWidgetType(...)
- parent(...)
- center4(...)
- insert3(...)
- drawLine(...)
- setGeometry1(...)
- setShown(...)
- setTabStopWidth(...)
- ensureVisible(...)
- setAttribute(...)
- selectAll(...)
- setUndoRedoEnabled(...)
- raise(...)
- insertParagraph(...)
- setMouseTracking(...)
- drawText(...)
- update(...)
- setOverwriteMode(...)
- repaint5(...)
- deleteLater(...)
- pasteSubType(...)
- setParagraphBackgroundColor(...)
- copy(...)
- showMinimized(...)
- setIconText(...)
- constPolish(...)
- setHidden(...)
- zoomOut1(...)
- scrollBy(...)
- setSelection(...)
- setModified(...)
- setTabChangesFocus(...)
- setContentsPos(...)
- scrollToAnchor(...)
- setFormat(...)
- setFocus(...)
- zoomIn(...)
- setGeometry(...)
- superClassName(...)
- placeCursor(...)
- removeSelectedText1(...)
- grabWidget(...)
- repaint(...)
- close(...)
- resizeContents(...)
- setUnderline(...)
- setReadOnly(...)
- removeParagraph(...)
- insert(...)
- insert4(...)
- setLinkUnderline(...)

## Properties

None

## Qt Properties

- QCString name unnamed
- bool isTopLevel true
- bool isDialog false
- bool isModal false
- bool isPopup false
- bool isDesktop false
- bool enabled true
- QRect geometry
- QRect frameGeometry
- int x 256
- int y 230
- QPoint pos
- QSize frameSize
- QSize size
- int width 512
- int height 307
- QRect rect
- QRect childrenRect
- QRegion childrenRegion
- QSizePolicy sizePolicy
- QSize minimumSize
- QSize maximumSize
- int minimumWidth 0
- int minimumHeight 0
- int maximumWidth 32767
- int maximumHeight 32767
- QSize sizeIncrement
- QSize baseSize
- int backgroundMode 11
- QColor paletteForegroundColor #000000
- QColor paletteBackgroundColor #ffffff
- paletteBackgroundPixmap
- QBrush backgroundBrush
- QColorGroup colorGroup
- QPalette palette
- int backgroundOrigin 0
- bool ownPalette false
- QFont font helvetica,12,-1,5,50,0,0,0,0,0
- bool ownFont false
- QCursor cursor
- bool ownCursor true
- QString caption
- icon
- QString iconText
- bool mouseTracking false
- bool underMouse false
- bool isActiveWindow false
- bool focusEnabled true
- int focusPolicy 15
- bool focus false
- bool updatesEnabled true
- bool visible false
- QRect visibleRect
- bool hidden true
- bool shown false
- bool minimized false
- bool maximized false
- bool fullScreen false
- QSize sizeHint
- QSize minimumSizeHint
- QRect microFocusHint
- bool acceptDrops false
- bool autoMask false
- bool customWhatsThis false
- bool inputMethodEnabled false
- int frameWidth 2
- QRect contentsRect
- int frameShape 10
- int frameShadow 48
- int lineWidth 2
- int margin 0
- int midLineWidth 0
- QRect frameRect
- int resizePolicy 1
- int vScrollBarMode 0
- int hScrollBarMode 0
- int visibleWidth 508
- int visibleHeight 303
- int contentsWidth 508
- int contentsHeight 19
- int contentsX 0
- int contentsY 0
- bool dragAutoScroll true
- int textFormat 2
- QString text
- QBrush paper
- bool linkUnderline true
- QString documentTitle
- int length 0
- int wordWrap 1
- int wrapColumnOrWidth 508
- int wrapPolicy 0
- bool hasSelectedText false
- QString selectedText
- int undoDepth 100
- bool overwriteMode false
- bool modified false
- bool readOnly true
- bool undoRedoEnabled true
- int tabStopWidth 48
- bool tabChangesFocus false
- int autoFormatting -1
- int undoDepth 100
- bool overwriteMode false
- bool modified false
- bool readOnly true
- bool undoRedoEnabled true

## Qt Signals

- destroyed()
- destroyed(QObject*)
- contentsMoving(int,int)
- horizontalSliderPressed()
- horizontalSliderReleased()
- verticalSliderPressed()
- verticalSliderReleased()
- textChanged()
- selectionChanged()
- copyAvailable(bool)
- undoAvailable(bool)
- redoAvailable(bool)
- currentFontChanged(const QFont&)
- currentColorChanged(const QColor&)
- currentAlignmentChanged(int)
- currentVerticalAlignmentChanged(VerticalAlignment)
- cursorPositionChanged(QTextCursor*)
- cursorPositionChanged(int,int)
- returnPressed()
- modificationChanged(bool)
- clicked(int,int)
- doubleClicked(int,int)

## Qt Slots

- void deleteLater()
- void cleanupEventFilter(QObject*)
- void setEnabled(bool)
- void setDisabled(bool)
- void setCaption(const QString&)
- void setIcon(const QPixmap&)
- void setIconText(const QString&)
- void setMouseTracking(bool)
- void setFocus()
- void clearFocus()
- void setUpdatesEnabled(bool)
- void update()
- void update(int,int,int,int)
- void update(const QRect&)
- void repaint()
- void repaint(bool)
- void repaint(int,int,int,int)
- void repaint(int,int,int,int,bool)
- void repaint(const QRect&)
- void repaint(const QRect&,bool)
- void repaint(const QRegion&)
- void repaint(const QRegion&,bool)
- void show()
- void hide()
- void setShown(bool)
- void setHidden(bool)
- void iconify()
- void showMinimized()
- void showMaximized()
- void showFullScreen()
- void showNormal()
- void polish()
- void constPolish()
- bool close()
- void raise()
- void lower()
- void stackUnder(QWidget*)
- void move(int,int)
- void move(const QPoint&)
- void resize(int,int)
- void resize(const QSize&)
- void setGeometry(int,int,int,int)
- void setGeometry(const QRect&)
- void adjustSize()
- void focusProxyDestroyed()
- void resizeContents(int,int)
- void scrollBy(int,int)
- void setContentsPos(int,int)
- void ensureVisible(int,int)
- void ensureVisible(int,int,int,int)
- void center(int,int)
- void center(int,int,float,float)
- void updateScrollBars()
- void setEnabled(bool)
- void hslide(int)
- void vslide(int)
- void hbarIsPressed()
- void hbarIsReleased()
- void vbarIsPressed()
- void vbarIsReleased()
- void doDragAutoScroll()
- void startDragAutoScroll()
- void stopDragAutoScroll()
- void setEnabled(bool)
- void setMimeSourceFactory(QMimeSourceFactory*)
- void setStyleSheet(QStyleSheet*)
- void scrollToAnchor(const QString&)
- void setPaper(const QBrush&)
- void setLinkUnderline(bool)
- void setWordWrap(WordWrap)
- void setWrapColumnOrWidth(int)
- void setWrapPolicy(WrapPolicy)
- void copy()
- void append(const QString&)
- void setText(const QString&)
- void setText(const QString&,const QString&)
- void setTextFormat(TextFormat)
- void selectAll()
- void selectAll(bool)
- void setTabStopWidth(int)
- void zoomIn(int)
- void zoomIn()
- void zoomOut(int)
- void zoomOut()
- void zoomTo(int)
- void sync()
- void setReadOnly(bool)
- void undo()
- void redo()
- void cut()
- void paste()
- void pasteSubType(const QCString&)
- void clear()
- void del()
- void indent()
- void setItalic(bool)
- void setBold(bool)
- void setUnderline(bool)
- void setFamily(const QString&)
- void setPointSize(int)
- void setColor(const QColor&)
- void setFont(const QFont&)
- void setVerticalAlignment(VerticalAlignment)
- void setAlignment(int)
- void setParagType(QStyleSheetItem::DisplayMode,QStyleSheetItem::ListStyle)
- void setCursorPosition(int,int)
- void setSelection(int,int,int,int)
- void setSelection(int,int,int,int,int)
- void setSelectionAttributes(int,const QColor&,bool)
- void setModified(bool)
- void resetFormat()
- void setUndoDepth(int)
- void setFormat(QTextFormat*,int)
- void ensureCursorVisible()
- void placeCursor(const QPoint&)
- void placeCursor(const QPoint&,QTextCursor*)
- void moveCursor(CursorAction,bool)
- void doKeyboardAction(KeyboardAction)
- void removeSelectedText()
- void removeSelectedText(int)
- void removeSelection()
- void removeSelection(int)
- void setCurrentFont(const QFont&)
- void setOverwriteMode(bool)
- void scrollToBottom()
- void insert(const QString&)
- void insert(const QString&,uint)
- void insert(const QString&,bool)
- void insert(const QString&,bool,bool)
- void insert(const QString&,bool,bool,bool)
- void insertAt(const QString&,int,int)
- void removeParagraph(int)
- void insertParagraph(const QString&,int)
- void setParagraphBackgroundColor(int,const QColor&)
- void clearParagraphBackground(int)
- void setUndoRedoEnabled(bool)
- void setTabChangesFocus(bool)
- void polish()
- void setMaxLogLines(int)
- int maxLogLines()
- void doChangeInterval()
- void sliderReleased()
- void formatMore()
- void doResize()
- void autoScrollTimerDone()
- void blinkCursor()
- void setModified()
- void startDrag()
- void documentWidthChanged(int)
- void clipboardChanged()
- void optimDoAutoScroll()