---
id: "qtextedit"
title: "QTextEdit"
sidebar_label: "QTextEdit"
---

## Hierarchy

  ↳ [NodeTextEdit](nodetextedit.md)‹[QTextEditSignals](../interfaces/qtexteditsignals.md)›

  ↳ **QTextEdit**

## Index

### Constructors

* [constructor](qtextedit.md#constructor)

### Properties

* [_rawInlineStyle](qtextedit.md#_rawinlinestyle)
* [actions](qtextedit.md#actions)
* [layout](qtextedit.md#optional-layout)
* [native](qtextedit.md#native)
* [nodeChildren](qtextedit.md#nodechildren)
* [nodeParent](qtextedit.md#optional-nodeparent)
* [type](qtextedit.md#type)
* [viewportWidget](qtextedit.md#optional-viewportwidget)

### Methods

* [acceptDrops](qtextedit.md#acceptdrops)
* [acceptRichText](qtextedit.md#acceptrichtext)
* [activateWindow](qtextedit.md#activatewindow)
* [addAction](qtextedit.md#addaction)
* [addEventListener](qtextedit.md#addeventlistener)
* [adjustSize](qtextedit.md#adjustsize)
* [alignment](qtextedit.md#alignment)
* [append](qtextedit.md#append)
* [autoFormatting](qtextedit.md#autoformatting)
* [canPaste](qtextedit.md#canpaste)
* [clear](qtextedit.md#clear)
* [close](qtextedit.md#close)
* [copy](qtextedit.md#copy)
* [currentFont](qtextedit.md#currentfont)
* [cursorWidth](qtextedit.md#cursorwidth)
* [cut](qtextedit.md#cut)
* [documentTitle](qtextedit.md#documenttitle)
* [ensureCursorVisible](qtextedit.md#ensurecursorvisible)
* [font](qtextedit.md#font)
* [fontFamily](qtextedit.md#fontfamily)
* [fontItalic](qtextedit.md#fontitalic)
* [fontPointSize](qtextedit.md#fontpointsize)
* [fontUnderline](qtextedit.md#fontunderline)
* [fontWeight](qtextedit.md#fontweight)
* [frameRect](qtextedit.md#framerect)
* [frameShadow](qtextedit.md#frameshadow)
* [frameShape](qtextedit.md#frameshape)
* [frameStyle](qtextedit.md#framestyle)
* [frameWidth](qtextedit.md#framewidth)
* [geometry](qtextedit.md#geometry)
* [getFlexNode](qtextedit.md#getflexnode)
* [hasMouseTracking](qtextedit.md#hasmousetracking)
* [hide](qtextedit.md#hide)
* [inherits](qtextedit.md#inherits)
* [insertHtml](qtextedit.md#inserthtml)
* [insertPlainText](qtextedit.md#insertplaintext)
* [isEnabled](qtextedit.md#isenabled)
* [isReadOnly](qtextedit.md#isreadonly)
* [isUndoRedoEnabled](qtextedit.md#isundoredoenabled)
* [isVisible](qtextedit.md#isvisible)
* [lineWidth](qtextedit.md#linewidth)
* [lineWrapColumnOrWidth](qtextedit.md#linewrapcolumnorwidth)
* [lineWrapMode](qtextedit.md#linewrapmode)
* [lower](qtextedit.md#lower)
* [mapFromGlobal](qtextedit.md#mapfromglobal)
* [mapFromParent](qtextedit.md#mapfromparent)
* [mapToGlobal](qtextedit.md#maptoglobal)
* [mapToParent](qtextedit.md#maptoparent)
* [maximumSize](qtextedit.md#maximumsize)
* [midLineWidth](qtextedit.md#midlinewidth)
* [minimumSize](qtextedit.md#minimumsize)
* [move](qtextedit.md#move)
* [objectName](qtextedit.md#objectname)
* [overwriteMode](qtextedit.md#overwritemode)
* [paste](qtextedit.md#paste)
* [placeholderText](qtextedit.md#placeholdertext)
* [pos](qtextedit.md#pos)
* [property](qtextedit.md#property)
* [raise](qtextedit.md#raise)
* [redo](qtextedit.md#redo)
* [removeAction](qtextedit.md#removeaction)
* [removeEventListener](qtextedit.md#removeeventlistener)
* [repaint](qtextedit.md#repaint)
* [repolish](qtextedit.md#repolish)
* [resize](qtextedit.md#resize)
* [scrollToAnchor](qtextedit.md#scrolltoanchor)
* [selectAll](qtextedit.md#selectall)
* [setAcceptDrops](qtextedit.md#setacceptdrops)
* [setAcceptRichText](qtextedit.md#setacceptrichtext)
* [setAlignment](qtextedit.md#setalignment)
* [setAttribute](qtextedit.md#setattribute)
* [setAutoFormatting](qtextedit.md#setautoformatting)
* [setContextMenuPolicy](qtextedit.md#setcontextmenupolicy)
* [setCurrentFont](qtextedit.md#setcurrentfont)
* [setCursor](qtextedit.md#setcursor)
* [setCursorWidth](qtextedit.md#setcursorwidth)
* [setDocumentTitle](qtextedit.md#setdocumenttitle)
* [setEnabled](qtextedit.md#setenabled)
* [setFixedSize](qtextedit.md#setfixedsize)
* [setFlexNodeSizeControlled](qtextedit.md#setflexnodesizecontrolled)
* [setFocus](qtextedit.md#setfocus)
* [setFont](qtextedit.md#setfont)
* [setFontFamily](qtextedit.md#setfontfamily)
* [setFontItalic](qtextedit.md#setfontitalic)
* [setFontPointSize](qtextedit.md#setfontpointsize)
* [setFontUnderline](qtextedit.md#setfontunderline)
* [setFontWeight](qtextedit.md#setfontweight)
* [setFrameRect](qtextedit.md#setframerect)
* [setFrameShadow](qtextedit.md#setframeshadow)
* [setFrameShape](qtextedit.md#setframeshape)
* [setFrameStyle](qtextedit.md#setframestyle)
* [setGeometry](qtextedit.md#setgeometry)
* [setGraphicsEffect](qtextedit.md#setgraphicseffect)
* [setHorizontalScrollBarPolicy](qtextedit.md#sethorizontalscrollbarpolicy)
* [setHtml](qtextedit.md#sethtml)
* [setInlineStyle](qtextedit.md#setinlinestyle)
* [setLayout](qtextedit.md#setlayout)
* [setLineWidth](qtextedit.md#setlinewidth)
* [setLineWrapColumnOrWidth](qtextedit.md#setlinewrapcolumnorwidth)
* [setLineWrapMode](qtextedit.md#setlinewrapmode)
* [setMaximumSize](qtextedit.md#setmaximumsize)
* [setMidLineWidth](qtextedit.md#setmidlinewidth)
* [setMinimumSize](qtextedit.md#setminimumsize)
* [setMouseTracking](qtextedit.md#setmousetracking)
* [setNodeParent](qtextedit.md#setnodeparent)
* [setObjectName](qtextedit.md#setobjectname)
* [setOverwriteMode](qtextedit.md#setoverwritemode)
* [setPlaceholderText](qtextedit.md#setplaceholdertext)
* [setPlainText](qtextedit.md#setplaintext)
* [setProperty](qtextedit.md#setproperty)
* [setReadOnly](qtextedit.md#setreadonly)
* [setStyleSheet](qtextedit.md#setstylesheet)
* [setTabChangesFocus](qtextedit.md#settabchangesfocus)
* [setTabStopDistance](qtextedit.md#settabstopdistance)
* [setText](qtextedit.md#settext)
* [setTextBackgroundColor](qtextedit.md#settextbackgroundcolor)
* [setTextColor](qtextedit.md#settextcolor)
* [setTextInteractionFlags](qtextedit.md#settextinteractionflags)
* [setUndoRedoEnabled](qtextedit.md#setundoredoenabled)
* [setVerticalScrollBarPolicy](qtextedit.md#setverticalscrollbarpolicy)
* [setViewport](qtextedit.md#setviewport)
* [setWindowFlag](qtextedit.md#setwindowflag)
* [setWindowIcon](qtextedit.md#setwindowicon)
* [setWindowOpacity](qtextedit.md#setwindowopacity)
* [setWindowState](qtextedit.md#setwindowstate)
* [setWindowTitle](qtextedit.md#setwindowtitle)
* [setWordWrapMode](qtextedit.md#setwordwrapmode)
* [show](qtextedit.md#show)
* [showFullScreen](qtextedit.md#showfullscreen)
* [showMaximized](qtextedit.md#showmaximized)
* [showMinimized](qtextedit.md#showminimized)
* [showNormal](qtextedit.md#shownormal)
* [size](qtextedit.md#size)
* [styleSheet](qtextedit.md#stylesheet)
* [tabChangesFocus](qtextedit.md#tabchangesfocus)
* [tabStopDistance](qtextedit.md#tabstopdistance)
* [testAttribute](qtextedit.md#testattribute)
* [textInteractionFlags](qtextedit.md#textinteractionflags)
* [toHtml](qtextedit.md#tohtml)
* [toPlainText](qtextedit.md#toplaintext)
* [undo](qtextedit.md#undo)
* [update](qtextedit.md#update)
* [updateGeometry](qtextedit.md#updategeometry)
* [viewport](qtextedit.md#viewport)
* [windowOpacity](qtextedit.md#windowopacity)
* [windowState](qtextedit.md#windowstate)
* [windowTitle](qtextedit.md#windowtitle)
* [wordWrapMode](qtextedit.md#wordwrapmode)
* [zommIn](qtextedit.md#zommin)
* [zoomOut](qtextedit.md#zoomout)

## Constructors

###  constructor

\+ **new QTextEdit**(): *[QTextEdit](qtextedit.md)*

*Overrides [NodeWidget](nodewidget.md).[constructor](nodewidget.md#constructor)*

**Returns:** *[QTextEdit](qtextedit.md)*

\+ **new QTextEdit**(`parent`: [NodeWidget](nodewidget.md)‹any›): *[QTextEdit](qtextedit.md)*

*Overrides [NodeWidget](nodewidget.md).[constructor](nodewidget.md#constructor)*

**Parameters:**

Name | Type |
------ | ------ |
`parent` | [NodeWidget](nodewidget.md)‹any› |

**Returns:** *[QTextEdit](qtextedit.md)*

## Properties

###  _rawInlineStyle

• **_rawInlineStyle**: *string* = ""

*Inherited from [QMenu](qmenu.md).[_rawInlineStyle](qmenu.md#_rawinlinestyle)*

___

###  actions

• **actions**: *Set‹[QAction](qaction.md)›*

*Inherited from [QMenu](qmenu.md).[actions](qmenu.md#actions)*

___

### `Optional` layout

• **layout**? : *[NodeLayout](nodelayout.md)‹[QTextEditSignals](../interfaces/qtexteditsignals.md)›*

*Inherited from [QMenu](qmenu.md).[layout](qmenu.md#optional-layout)*

___

###  native

• **native**: *[NativeElement](../globals.md#nativeelement)*

*Overrides [Component](component.md).[native](component.md#abstract-native)*

___

###  nodeChildren

• **nodeChildren**: *Set‹[Component](component.md)›*

*Inherited from [Component](component.md).[nodeChildren](component.md#nodechildren)*

___

### `Optional` nodeParent

• **nodeParent**? : *[Component](component.md)*

*Inherited from [Component](component.md).[nodeParent](component.md#optional-nodeparent)*

___

###  type

• **type**: *string* = "widget"

*Inherited from [QMenu](qmenu.md).[type](qmenu.md#type)*

___

### `Optional` viewportWidget

• **viewportWidget**? : *[NodeWidget](nodewidget.md)‹any›*

*Inherited from [QAbstractScrollArea](qabstractscrollarea.md).[viewportWidget](qabstractscrollarea.md#optional-viewportwidget)*

## Methods

###  acceptDrops

▸ **acceptDrops**(): *boolean*

*Inherited from [QMenu](qmenu.md).[acceptDrops](qmenu.md#acceptdrops)*

**Returns:** *boolean*

___

###  acceptRichText

▸ **acceptRichText**(): *boolean*

*Inherited from [NodeTextEdit](nodetextedit.md).[acceptRichText](nodetextedit.md#acceptrichtext)*

**Returns:** *boolean*

___

###  activateWindow

▸ **activateWindow**(): *void*

*Inherited from [QMenu](qmenu.md).[activateWindow](qmenu.md#activatewindow)*

**Returns:** *void*

___

###  addAction

▸ **addAction**(`action`: [QAction](qaction.md) | string): *[QAction](qaction.md)*

*Inherited from [QMenu](qmenu.md).[addAction](qmenu.md#addaction)*

**Parameters:**

Name | Type |
------ | ------ |
`action` | [QAction](qaction.md) &#124; string |

**Returns:** *[QAction](qaction.md)*

___

###  addEventListener

▸ **addEventListener**‹**SignalType**›(`signalType`: SignalType, `callback`: QTextEditSignals[SignalType]): *void*

*Inherited from [EventWidget](eventwidget.md).[addEventListener](eventwidget.md#addeventlistener)*

**Type parameters:**

▪ **SignalType**: *keyof QTextEditSignals*

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`signalType` | SignalType | SignalType is a signal from the widgets signals interface. |
`callback` | QTextEditSignals[SignalType] | Corresponding callback for the signal as mentioned in the widget's signal interface |

**Returns:** *void*

void

For example in the case of QPushButton:
```js
const button = new QPushButton();
button.addEventListener('clicked',(checked)=>console.log("clicked"));
// here clicked is a value from QPushButtonSignals interface
```

▸ **addEventListener**(`eventType`: [WidgetEventTypes](../enums/widgeteventtypes.md), `callback`: function): *void*

*Inherited from [EventWidget](eventwidget.md).[addEventListener](eventwidget.md#addeventlistener)*

**Parameters:**

▪ **eventType**: *[WidgetEventTypes](../enums/widgeteventtypes.md)*

▪ **callback**: *function*

For example in the case of QPushButton:
```js
const button = new QPushButton();
button.addEventListener(WidgetEventTypes.HoverEnter,()=>console.log("hovered"));
```

▸ (`event?`: [NativeRawPointer](../globals.md#nativerawpointer)‹"QEvent"›): *void*

**Parameters:**

Name | Type |
------ | ------ |
`event?` | [NativeRawPointer](../globals.md#nativerawpointer)‹"QEvent"› |

**Returns:** *void*

___

###  adjustSize

▸ **adjustSize**(): *void*

*Inherited from [QMenu](qmenu.md).[adjustSize](qmenu.md#adjustsize)*

**Returns:** *void*

___

###  alignment

▸ **alignment**(): *[AlignmentFlag](../enums/alignmentflag.md)*

*Inherited from [NodeTextEdit](nodetextedit.md).[alignment](nodetextedit.md#alignment)*

**Returns:** *[AlignmentFlag](../enums/alignmentflag.md)*

___

###  append

▸ **append**(`text`: string): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[append](nodetextedit.md#append)*

**Parameters:**

Name | Type |
------ | ------ |
`text` | string |

**Returns:** *void*

___

###  autoFormatting

▸ **autoFormatting**(): *[AutoFormattingFlag](../enums/autoformattingflag.md)*

*Inherited from [NodeTextEdit](nodetextedit.md).[autoFormatting](nodetextedit.md#autoformatting)*

**Returns:** *[AutoFormattingFlag](../enums/autoformattingflag.md)*

___

###  canPaste

▸ **canPaste**(): *boolean*

*Inherited from [NodeTextEdit](nodetextedit.md).[canPaste](nodetextedit.md#canpaste)*

**Returns:** *boolean*

___

###  clear

▸ **clear**(): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[clear](nodetextedit.md#clear)*

**Returns:** *void*

___

###  close

▸ **close**(): *boolean*

*Inherited from [QMenu](qmenu.md).[close](qmenu.md#close)*

**Returns:** *boolean*

___

###  copy

▸ **copy**(): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[copy](nodetextedit.md#copy)*

**Returns:** *void*

___

###  currentFont

▸ **currentFont**(): *[QFont](qfont.md)*

*Inherited from [NodeTextEdit](nodetextedit.md).[currentFont](nodetextedit.md#currentfont)*

**Returns:** *[QFont](qfont.md)*

___

###  cursorWidth

▸ **cursorWidth**(): *number*

*Inherited from [NodeTextEdit](nodetextedit.md).[cursorWidth](nodetextedit.md#cursorwidth)*

**Returns:** *number*

___

###  cut

▸ **cut**(): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[cut](nodetextedit.md#cut)*

**Returns:** *void*

___

###  documentTitle

▸ **documentTitle**(): *string*

*Inherited from [NodeTextEdit](nodetextedit.md).[documentTitle](nodetextedit.md#documenttitle)*

**Returns:** *string*

___

###  ensureCursorVisible

▸ **ensureCursorVisible**(): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[ensureCursorVisible](nodetextedit.md#ensurecursorvisible)*

**Returns:** *void*

___

###  font

▸ **font**(): *[QFont](qfont.md)*

*Inherited from [QMenu](qmenu.md).[font](qmenu.md#font)*

**Returns:** *[QFont](qfont.md)*

___

###  fontFamily

▸ **fontFamily**(): *string*

*Inherited from [NodeTextEdit](nodetextedit.md).[fontFamily](nodetextedit.md#fontfamily)*

**Returns:** *string*

___

###  fontItalic

▸ **fontItalic**(): *boolean*

*Inherited from [NodeTextEdit](nodetextedit.md).[fontItalic](nodetextedit.md#fontitalic)*

**Returns:** *boolean*

___

###  fontPointSize

▸ **fontPointSize**(): *number*

*Inherited from [NodeTextEdit](nodetextedit.md).[fontPointSize](nodetextedit.md#fontpointsize)*

**Returns:** *number*

___

###  fontUnderline

▸ **fontUnderline**(): *boolean*

*Inherited from [NodeTextEdit](nodetextedit.md).[fontUnderline](nodetextedit.md#fontunderline)*

**Returns:** *boolean*

___

###  fontWeight

▸ **fontWeight**(): *number*

*Inherited from [NodeTextEdit](nodetextedit.md).[fontWeight](nodetextedit.md#fontweight)*

**Returns:** *number*

___

###  frameRect

▸ **frameRect**(): *[QRect](qrect.md)*

*Inherited from [NodeFrame](nodeframe.md).[frameRect](nodeframe.md#framerect)*

**Returns:** *[QRect](qrect.md)*

___

###  frameShadow

▸ **frameShadow**(): *[Shadow](../enums/shadow.md)*

*Inherited from [NodeFrame](nodeframe.md).[frameShadow](nodeframe.md#frameshadow)*

**Returns:** *[Shadow](../enums/shadow.md)*

___

###  frameShape

▸ **frameShape**(): *[Shape](../enums/shape.md)*

*Inherited from [NodeFrame](nodeframe.md).[frameShape](nodeframe.md#frameshape)*

**Returns:** *[Shape](../enums/shape.md)*

___

###  frameStyle

▸ **frameStyle**(): *number*

*Inherited from [NodeFrame](nodeframe.md).[frameStyle](nodeframe.md#framestyle)*

**Returns:** *number*

___

###  frameWidth

▸ **frameWidth**(): *number*

*Inherited from [NodeFrame](nodeframe.md).[frameWidth](nodeframe.md#framewidth)*

**Returns:** *number*

___

###  geometry

▸ **geometry**(): *[QRect](qrect.md)*

*Inherited from [QMenu](qmenu.md).[geometry](qmenu.md#geometry)*

**Returns:** *[QRect](qrect.md)*

___

###  getFlexNode

▸ **getFlexNode**(): *[FlexNode](../globals.md#flexnode)*

*Inherited from [YogaWidget](yogawidget.md).[getFlexNode](yogawidget.md#getflexnode)*

**Returns:** *[FlexNode](../globals.md#flexnode)*

___

###  hasMouseTracking

▸ **hasMouseTracking**(): *boolean*

*Inherited from [QMenu](qmenu.md).[hasMouseTracking](qmenu.md#hasmousetracking)*

**Returns:** *boolean*

___

###  hide

▸ **hide**(): *void*

*Inherited from [QMenu](qmenu.md).[hide](qmenu.md#hide)*

**Returns:** *void*

___

###  inherits

▸ **inherits**(`className`: string): *boolean*

*Inherited from [NodeObject](nodeobject.md).[inherits](nodeobject.md#inherits)*

**Parameters:**

Name | Type |
------ | ------ |
`className` | string |

**Returns:** *boolean*

___

###  insertHtml

▸ **insertHtml**(`text`: string): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[insertHtml](nodetextedit.md#inserthtml)*

**Parameters:**

Name | Type |
------ | ------ |
`text` | string |

**Returns:** *void*

___

###  insertPlainText

▸ **insertPlainText**(`text`: string): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[insertPlainText](nodetextedit.md#insertplaintext)*

**Parameters:**

Name | Type |
------ | ------ |
`text` | string |

**Returns:** *void*

___

###  isEnabled

▸ **isEnabled**(): *boolean*

*Inherited from [QMenu](qmenu.md).[isEnabled](qmenu.md#isenabled)*

**Returns:** *boolean*

___

###  isReadOnly

▸ **isReadOnly**(): *boolean*

*Inherited from [NodeTextEdit](nodetextedit.md).[isReadOnly](nodetextedit.md#isreadonly)*

**Returns:** *boolean*

___

###  isUndoRedoEnabled

▸ **isUndoRedoEnabled**(): *boolean*

*Inherited from [NodeTextEdit](nodetextedit.md).[isUndoRedoEnabled](nodetextedit.md#isundoredoenabled)*

**Returns:** *boolean*

___

###  isVisible

▸ **isVisible**(): *boolean*

*Inherited from [QMenu](qmenu.md).[isVisible](qmenu.md#isvisible)*

**Returns:** *boolean*

___

###  lineWidth

▸ **lineWidth**(): *number*

*Inherited from [NodeFrame](nodeframe.md).[lineWidth](nodeframe.md#linewidth)*

**Returns:** *number*

___

###  lineWrapColumnOrWidth

▸ **lineWrapColumnOrWidth**(): *number*

*Inherited from [NodeTextEdit](nodetextedit.md).[lineWrapColumnOrWidth](nodetextedit.md#linewrapcolumnorwidth)*

**Returns:** *number*

___

###  lineWrapMode

▸ **lineWrapMode**(): *[QTextEditLineWrapMode](../enums/qtexteditlinewrapmode.md)*

*Inherited from [NodeTextEdit](nodetextedit.md).[lineWrapMode](nodetextedit.md#linewrapmode)*

**Returns:** *[QTextEditLineWrapMode](../enums/qtexteditlinewrapmode.md)*

___

###  lower

▸ **lower**(): *void*

*Inherited from [QMenu](qmenu.md).[lower](qmenu.md#lower)*

**Returns:** *void*

___

###  mapFromGlobal

▸ **mapFromGlobal**(`pos`: [QPoint](qpoint.md)): *[QPoint](qpoint.md)*

*Inherited from [QMenu](qmenu.md).[mapFromGlobal](qmenu.md#mapfromglobal)*

**Parameters:**

Name | Type |
------ | ------ |
`pos` | [QPoint](qpoint.md) |

**Returns:** *[QPoint](qpoint.md)*

___

###  mapFromParent

▸ **mapFromParent**(`pos`: [QPoint](qpoint.md)): *[QPoint](qpoint.md)*

*Inherited from [QMenu](qmenu.md).[mapFromParent](qmenu.md#mapfromparent)*

**Parameters:**

Name | Type |
------ | ------ |
`pos` | [QPoint](qpoint.md) |

**Returns:** *[QPoint](qpoint.md)*

___

###  mapToGlobal

▸ **mapToGlobal**(`pos`: [QPoint](qpoint.md)): *[QPoint](qpoint.md)*

*Inherited from [QMenu](qmenu.md).[mapToGlobal](qmenu.md#maptoglobal)*

**Parameters:**

Name | Type |
------ | ------ |
`pos` | [QPoint](qpoint.md) |

**Returns:** *[QPoint](qpoint.md)*

___

###  mapToParent

▸ **mapToParent**(`pos`: [QPoint](qpoint.md)): *[QPoint](qpoint.md)*

*Inherited from [QMenu](qmenu.md).[mapToParent](qmenu.md#maptoparent)*

**Parameters:**

Name | Type |
------ | ------ |
`pos` | [QPoint](qpoint.md) |

**Returns:** *[QPoint](qpoint.md)*

___

###  maximumSize

▸ **maximumSize**(): *[QSize](qsize.md)*

*Inherited from [QMenu](qmenu.md).[maximumSize](qmenu.md#maximumsize)*

**Returns:** *[QSize](qsize.md)*

___

###  midLineWidth

▸ **midLineWidth**(): *number*

*Inherited from [NodeFrame](nodeframe.md).[midLineWidth](nodeframe.md#midlinewidth)*

**Returns:** *number*

___

###  minimumSize

▸ **minimumSize**(): *[QSize](qsize.md)*

*Inherited from [QMenu](qmenu.md).[minimumSize](qmenu.md#minimumsize)*

**Returns:** *[QSize](qsize.md)*

___

###  move

▸ **move**(`x`: number, `y`: number): *void*

*Inherited from [QMenu](qmenu.md).[move](qmenu.md#move)*

**Parameters:**

Name | Type |
------ | ------ |
`x` | number |
`y` | number |

**Returns:** *void*

___

###  objectName

▸ **objectName**(): *string*

*Inherited from [NodeObject](nodeobject.md).[objectName](nodeobject.md#objectname)*

**Returns:** *string*

___

###  overwriteMode

▸ **overwriteMode**(): *boolean*

*Inherited from [NodeTextEdit](nodetextedit.md).[overwriteMode](nodetextedit.md#overwritemode)*

**Returns:** *boolean*

___

###  paste

▸ **paste**(): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[paste](nodetextedit.md#paste)*

**Returns:** *void*

___

###  placeholderText

▸ **placeholderText**(): *string*

*Inherited from [NodeTextEdit](nodetextedit.md).[placeholderText](nodetextedit.md#placeholdertext)*

**Returns:** *string*

___

###  pos

▸ **pos**(): *object*

*Inherited from [QMenu](qmenu.md).[pos](qmenu.md#pos)*

**Returns:** *object*

* **x**: *number*

* **y**: *number*

___

###  property

▸ **property**(`name`: string): *[QVariant](qvariant.md)*

*Inherited from [NodeObject](nodeobject.md).[property](nodeobject.md#property)*

**Parameters:**

Name | Type |
------ | ------ |
`name` | string |

**Returns:** *[QVariant](qvariant.md)*

___

###  raise

▸ **raise**(): *void*

*Inherited from [QMenu](qmenu.md).[raise](qmenu.md#raise)*

**Returns:** *void*

___

###  redo

▸ **redo**(): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[redo](nodetextedit.md#redo)*

**Returns:** *void*

___

###  removeAction

▸ **removeAction**(`action`: [QAction](qaction.md)): *void*

*Inherited from [QMenu](qmenu.md).[removeAction](qmenu.md#removeaction)*

**Parameters:**

Name | Type |
------ | ------ |
`action` | [QAction](qaction.md) |

**Returns:** *void*

___

###  removeEventListener

▸ **removeEventListener**‹**SignalType**›(`signalType`: SignalType, `callback`: QTextEditSignals[SignalType]): *void*

*Inherited from [EventWidget](eventwidget.md).[removeEventListener](eventwidget.md#removeeventlistener)*

**Type parameters:**

▪ **SignalType**: *keyof QTextEditSignals*

**Parameters:**

Name | Type |
------ | ------ |
`signalType` | SignalType |
`callback` | QTextEditSignals[SignalType] |

**Returns:** *void*

▸ **removeEventListener**(`eventType`: [WidgetEventTypes](../enums/widgeteventtypes.md), `callback`: function): *void*

*Inherited from [EventWidget](eventwidget.md).[removeEventListener](eventwidget.md#removeeventlistener)*

**Parameters:**

▪ **eventType**: *[WidgetEventTypes](../enums/widgeteventtypes.md)*

▪ **callback**: *function*

▸ (`event?`: [NativeRawPointer](../globals.md#nativerawpointer)‹"QEvent"›): *void*

**Parameters:**

Name | Type |
------ | ------ |
`event?` | [NativeRawPointer](../globals.md#nativerawpointer)‹"QEvent"› |

**Returns:** *void*

___

###  repaint

▸ **repaint**(): *void*

*Inherited from [QMenu](qmenu.md).[repaint](qmenu.md#repaint)*

**Returns:** *void*

___

###  repolish

▸ **repolish**(): *void*

*Inherited from [QMenu](qmenu.md).[repolish](qmenu.md#repolish)*

**Returns:** *void*

___

###  resize

▸ **resize**(`width`: number, `height`: number): *void*

*Inherited from [QMenu](qmenu.md).[resize](qmenu.md#resize)*

**Parameters:**

Name | Type |
------ | ------ |
`width` | number |
`height` | number |

**Returns:** *void*

___

###  scrollToAnchor

▸ **scrollToAnchor**(`name`: string): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[scrollToAnchor](nodetextedit.md#scrolltoanchor)*

**Parameters:**

Name | Type |
------ | ------ |
`name` | string |

**Returns:** *void*

___

###  selectAll

▸ **selectAll**(): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[selectAll](nodetextedit.md#selectall)*

**Returns:** *void*

___

###  setAcceptDrops

▸ **setAcceptDrops**(`on`: boolean): *void*

*Inherited from [QMenu](qmenu.md).[setAcceptDrops](qmenu.md#setacceptdrops)*

**Parameters:**

Name | Type |
------ | ------ |
`on` | boolean |

**Returns:** *void*

___

###  setAcceptRichText

▸ **setAcceptRichText**(`accept`: boolean): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setAcceptRichText](nodetextedit.md#setacceptrichtext)*

**Parameters:**

Name | Type |
------ | ------ |
`accept` | boolean |

**Returns:** *void*

___

###  setAlignment

▸ **setAlignment**(`alignment`: [AlignmentFlag](../enums/alignmentflag.md)): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setAlignment](nodetextedit.md#setalignment)*

**Parameters:**

Name | Type |
------ | ------ |
`alignment` | [AlignmentFlag](../enums/alignmentflag.md) |

**Returns:** *void*

___

###  setAttribute

▸ **setAttribute**(`attribute`: [WidgetAttribute](../enums/widgetattribute.md), `switchOn`: boolean): *void*

*Inherited from [QMenu](qmenu.md).[setAttribute](qmenu.md#setattribute)*

**Parameters:**

Name | Type |
------ | ------ |
`attribute` | [WidgetAttribute](../enums/widgetattribute.md) |
`switchOn` | boolean |

**Returns:** *void*

___

###  setAutoFormatting

▸ **setAutoFormatting**(`features`: [AutoFormattingFlag](../enums/autoformattingflag.md)): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setAutoFormatting](nodetextedit.md#setautoformatting)*

**Parameters:**

Name | Type |
------ | ------ |
`features` | [AutoFormattingFlag](../enums/autoformattingflag.md) |

**Returns:** *void*

___

###  setContextMenuPolicy

▸ **setContextMenuPolicy**(`contextMenuPolicy`: [ContextMenuPolicy](../enums/contextmenupolicy.md)): *void*

*Inherited from [QMenu](qmenu.md).[setContextMenuPolicy](qmenu.md#setcontextmenupolicy)*

**Parameters:**

Name | Type |
------ | ------ |
`contextMenuPolicy` | [ContextMenuPolicy](../enums/contextmenupolicy.md) |

**Returns:** *void*

___

###  setCurrentFont

▸ **setCurrentFont**(`f`: [QFont](qfont.md)): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setCurrentFont](nodetextedit.md#setcurrentfont)*

**Parameters:**

Name | Type |
------ | ------ |
`f` | [QFont](qfont.md) |

**Returns:** *void*

___

###  setCursor

▸ **setCursor**(`cursor`: [CursorShape](../enums/cursorshape.md) | [QCursor](qcursor.md)): *void*

*Inherited from [QMenu](qmenu.md).[setCursor](qmenu.md#setcursor)*

**Parameters:**

Name | Type |
------ | ------ |
`cursor` | [CursorShape](../enums/cursorshape.md) &#124; [QCursor](qcursor.md) |

**Returns:** *void*

___

###  setCursorWidth

▸ **setCursorWidth**(`width`: number): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setCursorWidth](nodetextedit.md#setcursorwidth)*

**Parameters:**

Name | Type |
------ | ------ |
`width` | number |

**Returns:** *void*

___

###  setDocumentTitle

▸ **setDocumentTitle**(`title`: string): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setDocumentTitle](nodetextedit.md#setdocumenttitle)*

**Parameters:**

Name | Type |
------ | ------ |
`title` | string |

**Returns:** *void*

___

###  setEnabled

▸ **setEnabled**(`enabled`: boolean): *void*

*Inherited from [QMenu](qmenu.md).[setEnabled](qmenu.md#setenabled)*

**Parameters:**

Name | Type |
------ | ------ |
`enabled` | boolean |

**Returns:** *void*

___

###  setFixedSize

▸ **setFixedSize**(`width`: number, `height`: number): *void*

*Inherited from [QMenu](qmenu.md).[setFixedSize](qmenu.md#setfixedsize)*

**Parameters:**

Name | Type |
------ | ------ |
`width` | number |
`height` | number |

**Returns:** *void*

___

###  setFlexNodeSizeControlled

▸ **setFlexNodeSizeControlled**(`isSizeControlled`: boolean): *void*

*Inherited from [YogaWidget](yogawidget.md).[setFlexNodeSizeControlled](yogawidget.md#setflexnodesizecontrolled)*

sets whether the widget's size is controlled by someone else (for example a window's size is controlled by its frame when dragged).

**Parameters:**

Name | Type | Description |
------ | ------ | ------ |
`isSizeControlled` | boolean |   |

**Returns:** *void*

___

###  setFocus

▸ **setFocus**(`reason`: [FocusReason](../enums/focusreason.md)): *void*

*Inherited from [QMenu](qmenu.md).[setFocus](qmenu.md#setfocus)*

**Parameters:**

Name | Type |
------ | ------ |
`reason` | [FocusReason](../enums/focusreason.md) |

**Returns:** *void*

___

###  setFont

▸ **setFont**(`font`: [QFont](qfont.md)): *void*

*Inherited from [QMenu](qmenu.md).[setFont](qmenu.md#setfont)*

**Parameters:**

Name | Type |
------ | ------ |
`font` | [QFont](qfont.md) |

**Returns:** *void*

___

###  setFontFamily

▸ **setFontFamily**(`family`: string): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setFontFamily](nodetextedit.md#setfontfamily)*

**Parameters:**

Name | Type |
------ | ------ |
`family` | string |

**Returns:** *void*

___

###  setFontItalic

▸ **setFontItalic**(`italic`: boolean): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setFontItalic](nodetextedit.md#setfontitalic)*

**Parameters:**

Name | Type |
------ | ------ |
`italic` | boolean |

**Returns:** *void*

___

###  setFontPointSize

▸ **setFontPointSize**(`s`: number): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setFontPointSize](nodetextedit.md#setfontpointsize)*

**Parameters:**

Name | Type |
------ | ------ |
`s` | number |

**Returns:** *void*

___

###  setFontUnderline

▸ **setFontUnderline**(`underline`: boolean): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setFontUnderline](nodetextedit.md#setfontunderline)*

**Parameters:**

Name | Type |
------ | ------ |
`underline` | boolean |

**Returns:** *void*

___

###  setFontWeight

▸ **setFontWeight**(`weight`: number): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setFontWeight](nodetextedit.md#setfontweight)*

**Parameters:**

Name | Type |
------ | ------ |
`weight` | number |

**Returns:** *void*

___

###  setFrameRect

▸ **setFrameRect**(`r`: [QRect](qrect.md)): *void*

*Inherited from [NodeFrame](nodeframe.md).[setFrameRect](nodeframe.md#setframerect)*

**Parameters:**

Name | Type |
------ | ------ |
`r` | [QRect](qrect.md) |

**Returns:** *void*

___

###  setFrameShadow

▸ **setFrameShadow**(`type`: [Shadow](../enums/shadow.md)): *void*

*Inherited from [NodeFrame](nodeframe.md).[setFrameShadow](nodeframe.md#setframeshadow)*

**Parameters:**

Name | Type |
------ | ------ |
`type` | [Shadow](../enums/shadow.md) |

**Returns:** *void*

___

###  setFrameShape

▸ **setFrameShape**(`type`: [Shape](../enums/shape.md)): *void*

*Inherited from [NodeFrame](nodeframe.md).[setFrameShape](nodeframe.md#setframeshape)*

**Parameters:**

Name | Type |
------ | ------ |
`type` | [Shape](../enums/shape.md) |

**Returns:** *void*

___

###  setFrameStyle

▸ **setFrameStyle**(`style`: number): *void*

*Inherited from [NodeFrame](nodeframe.md).[setFrameStyle](nodeframe.md#setframestyle)*

**Parameters:**

Name | Type |
------ | ------ |
`style` | number |

**Returns:** *void*

___

###  setGeometry

▸ **setGeometry**(`x`: number, `y`: number, `w`: number, `h`: number): *void*

*Inherited from [QMenu](qmenu.md).[setGeometry](qmenu.md#setgeometry)*

**Parameters:**

Name | Type |
------ | ------ |
`x` | number |
`y` | number |
`w` | number |
`h` | number |

**Returns:** *void*

___

###  setGraphicsEffect

▸ **setGraphicsEffect**(`effect`: [QGraphicsEffect](qgraphicseffect.md)‹any›): *void*

*Inherited from [QMenu](qmenu.md).[setGraphicsEffect](qmenu.md#setgraphicseffect)*

**Parameters:**

Name | Type |
------ | ------ |
`effect` | [QGraphicsEffect](qgraphicseffect.md)‹any› |

**Returns:** *void*

___

###  setHorizontalScrollBarPolicy

▸ **setHorizontalScrollBarPolicy**(`policy`: [ScrollBarPolicy](../enums/scrollbarpolicy.md)): *void*

*Inherited from [QAbstractScrollArea](qabstractscrollarea.md).[setHorizontalScrollBarPolicy](qabstractscrollarea.md#sethorizontalscrollbarpolicy)*

**Parameters:**

Name | Type |
------ | ------ |
`policy` | [ScrollBarPolicy](../enums/scrollbarpolicy.md) |

**Returns:** *void*

___

###  setHtml

▸ **setHtml**(`text`: string): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setHtml](nodetextedit.md#sethtml)*

**Parameters:**

Name | Type |
------ | ------ |
`text` | string |

**Returns:** *void*

___

###  setInlineStyle

▸ **setInlineStyle**(`style`: string): *void*

*Inherited from [QMenu](qmenu.md).[setInlineStyle](qmenu.md#setinlinestyle)*

**Parameters:**

Name | Type |
------ | ------ |
`style` | string |

**Returns:** *void*

___

###  setLayout

▸ **setLayout**(`parentLayout`: [NodeLayout](nodelayout.md)‹[QTextEditSignals](../interfaces/qtexteditsignals.md)›): *void*

*Inherited from [QMenu](qmenu.md).[setLayout](qmenu.md#setlayout)*

**Parameters:**

Name | Type |
------ | ------ |
`parentLayout` | [NodeLayout](nodelayout.md)‹[QTextEditSignals](../interfaces/qtexteditsignals.md)› |

**Returns:** *void*

___

###  setLineWidth

▸ **setLineWidth**(`width`: number): *void*

*Inherited from [NodeFrame](nodeframe.md).[setLineWidth](nodeframe.md#setlinewidth)*

**Parameters:**

Name | Type |
------ | ------ |
`width` | number |

**Returns:** *void*

___

###  setLineWrapColumnOrWidth

▸ **setLineWrapColumnOrWidth**(`w`: number): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setLineWrapColumnOrWidth](nodetextedit.md#setlinewrapcolumnorwidth)*

**Parameters:**

Name | Type |
------ | ------ |
`w` | number |

**Returns:** *void*

___

###  setLineWrapMode

▸ **setLineWrapMode**(`mode`: [QTextEditLineWrapMode](../enums/qtexteditlinewrapmode.md)): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setLineWrapMode](nodetextedit.md#setlinewrapmode)*

**Parameters:**

Name | Type |
------ | ------ |
`mode` | [QTextEditLineWrapMode](../enums/qtexteditlinewrapmode.md) |

**Returns:** *void*

___

###  setMaximumSize

▸ **setMaximumSize**(`maxw`: number, `maxh`: number): *void*

*Inherited from [QMenu](qmenu.md).[setMaximumSize](qmenu.md#setmaximumsize)*

**Parameters:**

Name | Type |
------ | ------ |
`maxw` | number |
`maxh` | number |

**Returns:** *void*

___

###  setMidLineWidth

▸ **setMidLineWidth**(`width`: number): *void*

*Inherited from [NodeFrame](nodeframe.md).[setMidLineWidth](nodeframe.md#setmidlinewidth)*

**Parameters:**

Name | Type |
------ | ------ |
`width` | number |

**Returns:** *void*

___

###  setMinimumSize

▸ **setMinimumSize**(`minw`: number, `minh`: number): *void*

*Inherited from [QMenu](qmenu.md).[setMinimumSize](qmenu.md#setminimumsize)*

**Parameters:**

Name | Type |
------ | ------ |
`minw` | number |
`minh` | number |

**Returns:** *void*

___

###  setMouseTracking

▸ **setMouseTracking**(`isMouseTracked`: boolean): *void*

*Inherited from [QMenu](qmenu.md).[setMouseTracking](qmenu.md#setmousetracking)*

**Parameters:**

Name | Type |
------ | ------ |
`isMouseTracked` | boolean |

**Returns:** *void*

___

###  setNodeParent

▸ **setNodeParent**(`parent?`: [Component](component.md)): *void*

*Inherited from [Component](component.md).[setNodeParent](component.md#setnodeparent)*

**Parameters:**

Name | Type |
------ | ------ |
`parent?` | [Component](component.md) |

**Returns:** *void*

___

###  setObjectName

▸ **setObjectName**(`objectName`: string): *void*

*Inherited from [QMenu](qmenu.md).[setObjectName](qmenu.md#setobjectname)*

*Overrides [NodeObject](nodeobject.md).[setObjectName](nodeobject.md#setobjectname)*

**Parameters:**

Name | Type |
------ | ------ |
`objectName` | string |

**Returns:** *void*

___

###  setOverwriteMode

▸ **setOverwriteMode**(`overwrite`: boolean): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setOverwriteMode](nodetextedit.md#setoverwritemode)*

**Parameters:**

Name | Type |
------ | ------ |
`overwrite` | boolean |

**Returns:** *void*

___

###  setPlaceholderText

▸ **setPlaceholderText**(`placeholderText`: string): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setPlaceholderText](nodetextedit.md#setplaceholdertext)*

**Parameters:**

Name | Type |
------ | ------ |
`placeholderText` | string |

**Returns:** *void*

___

###  setPlainText

▸ **setPlainText**(`text`: string): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setPlainText](nodetextedit.md#setplaintext)*

**Parameters:**

Name | Type |
------ | ------ |
`text` | string |

**Returns:** *void*

___

###  setProperty

▸ **setProperty**(`name`: string, `value`: [QVariantType](../globals.md#qvarianttype)): *boolean*

*Inherited from [NodeObject](nodeobject.md).[setProperty](nodeobject.md#setproperty)*

**Parameters:**

Name | Type |
------ | ------ |
`name` | string |
`value` | [QVariantType](../globals.md#qvarianttype) |

**Returns:** *boolean*

___

###  setReadOnly

▸ **setReadOnly**(`ro`: boolean): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setReadOnly](nodetextedit.md#setreadonly)*

**Parameters:**

Name | Type |
------ | ------ |
`ro` | boolean |

**Returns:** *void*

___

###  setStyleSheet

▸ **setStyleSheet**(`styleSheet`: string): *void*

*Inherited from [QMenu](qmenu.md).[setStyleSheet](qmenu.md#setstylesheet)*

**Parameters:**

Name | Type |
------ | ------ |
`styleSheet` | string |

**Returns:** *void*

___

###  setTabChangesFocus

▸ **setTabChangesFocus**(`b`: boolean): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setTabChangesFocus](nodetextedit.md#settabchangesfocus)*

**Parameters:**

Name | Type |
------ | ------ |
`b` | boolean |

**Returns:** *void*

___

###  setTabStopDistance

▸ **setTabStopDistance**(`distance`: number): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setTabStopDistance](nodetextedit.md#settabstopdistance)*

**Parameters:**

Name | Type |
------ | ------ |
`distance` | number |

**Returns:** *void*

___

###  setText

▸ **setText**(`text`: string): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setText](nodetextedit.md#settext)*

**Parameters:**

Name | Type |
------ | ------ |
`text` | string |

**Returns:** *void*

___

###  setTextBackgroundColor

▸ **setTextBackgroundColor**(`color`: [QColor](qcolor.md)): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setTextBackgroundColor](nodetextedit.md#settextbackgroundcolor)*

**Parameters:**

Name | Type |
------ | ------ |
`color` | [QColor](qcolor.md) |

**Returns:** *void*

___

###  setTextColor

▸ **setTextColor**(`color`: [QColor](qcolor.md)): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setTextColor](nodetextedit.md#settextcolor)*

**Parameters:**

Name | Type |
------ | ------ |
`color` | [QColor](qcolor.md) |

**Returns:** *void*

___

###  setTextInteractionFlags

▸ **setTextInteractionFlags**(`flags`: [TextInteractionFlag](../enums/textinteractionflag.md)): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setTextInteractionFlags](nodetextedit.md#settextinteractionflags)*

**Parameters:**

Name | Type |
------ | ------ |
`flags` | [TextInteractionFlag](../enums/textinteractionflag.md) |

**Returns:** *void*

___

###  setUndoRedoEnabled

▸ **setUndoRedoEnabled**(`enable`: boolean): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setUndoRedoEnabled](nodetextedit.md#setundoredoenabled)*

**Parameters:**

Name | Type |
------ | ------ |
`enable` | boolean |

**Returns:** *void*

___

###  setVerticalScrollBarPolicy

▸ **setVerticalScrollBarPolicy**(`policy`: [ScrollBarPolicy](../enums/scrollbarpolicy.md)): *void*

*Inherited from [QAbstractScrollArea](qabstractscrollarea.md).[setVerticalScrollBarPolicy](qabstractscrollarea.md#setverticalscrollbarpolicy)*

**Parameters:**

Name | Type |
------ | ------ |
`policy` | [ScrollBarPolicy](../enums/scrollbarpolicy.md) |

**Returns:** *void*

___

###  setViewport

▸ **setViewport**(`widget`: [NodeWidget](nodewidget.md)‹any›): *void*

*Inherited from [QAbstractScrollArea](qabstractscrollarea.md).[setViewport](qabstractscrollarea.md#setviewport)*

**Parameters:**

Name | Type |
------ | ------ |
`widget` | [NodeWidget](nodewidget.md)‹any› |

**Returns:** *void*

___

###  setWindowFlag

▸ **setWindowFlag**(`windowType`: [WindowType](../enums/windowtype.md), `switchOn`: boolean): *void*

*Inherited from [QMenu](qmenu.md).[setWindowFlag](qmenu.md#setwindowflag)*

**Parameters:**

Name | Type |
------ | ------ |
`windowType` | [WindowType](../enums/windowtype.md) |
`switchOn` | boolean |

**Returns:** *void*

___

###  setWindowIcon

▸ **setWindowIcon**(`icon`: [QIcon](qicon.md)): *void*

*Inherited from [QMenu](qmenu.md).[setWindowIcon](qmenu.md#setwindowicon)*

**Parameters:**

Name | Type |
------ | ------ |
`icon` | [QIcon](qicon.md) |

**Returns:** *void*

___

###  setWindowOpacity

▸ **setWindowOpacity**(`opacity`: number): *void*

*Inherited from [QMenu](qmenu.md).[setWindowOpacity](qmenu.md#setwindowopacity)*

**Parameters:**

Name | Type |
------ | ------ |
`opacity` | number |

**Returns:** *void*

___

###  setWindowState

▸ **setWindowState**(`state`: [WindowState](../enums/windowstate.md)): *void*

*Inherited from [QMenu](qmenu.md).[setWindowState](qmenu.md#setwindowstate)*

**Parameters:**

Name | Type |
------ | ------ |
`state` | [WindowState](../enums/windowstate.md) |

**Returns:** *void*

___

###  setWindowTitle

▸ **setWindowTitle**(`title`: string): *void*

*Inherited from [QMenu](qmenu.md).[setWindowTitle](qmenu.md#setwindowtitle)*

**Parameters:**

Name | Type |
------ | ------ |
`title` | string |

**Returns:** *void*

___

###  setWordWrapMode

▸ **setWordWrapMode**(`policy`: [WrapMode](../enums/wrapmode.md)): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[setWordWrapMode](nodetextedit.md#setwordwrapmode)*

**Parameters:**

Name | Type |
------ | ------ |
`policy` | [WrapMode](../enums/wrapmode.md) |

**Returns:** *void*

___

###  show

▸ **show**(): *void*

*Inherited from [QMenu](qmenu.md).[show](qmenu.md#show)*

**Returns:** *void*

___

###  showFullScreen

▸ **showFullScreen**(): *void*

*Inherited from [QMenu](qmenu.md).[showFullScreen](qmenu.md#showfullscreen)*

**Returns:** *void*

___

###  showMaximized

▸ **showMaximized**(): *void*

*Inherited from [QMenu](qmenu.md).[showMaximized](qmenu.md#showmaximized)*

**Returns:** *void*

___

###  showMinimized

▸ **showMinimized**(): *void*

*Inherited from [QMenu](qmenu.md).[showMinimized](qmenu.md#showminimized)*

**Returns:** *void*

___

###  showNormal

▸ **showNormal**(): *void*

*Inherited from [QMenu](qmenu.md).[showNormal](qmenu.md#shownormal)*

**Returns:** *void*

___

###  size

▸ **size**(): *[QSize](qsize.md)*

*Inherited from [QMenu](qmenu.md).[size](qmenu.md#size)*

**Returns:** *[QSize](qsize.md)*

___

###  styleSheet

▸ **styleSheet**(): *string*

*Inherited from [QMenu](qmenu.md).[styleSheet](qmenu.md#stylesheet)*

**Returns:** *string*

___

###  tabChangesFocus

▸ **tabChangesFocus**(): *boolean*

*Inherited from [NodeTextEdit](nodetextedit.md).[tabChangesFocus](nodetextedit.md#tabchangesfocus)*

**Returns:** *boolean*

___

###  tabStopDistance

▸ **tabStopDistance**(): *number*

*Inherited from [NodeTextEdit](nodetextedit.md).[tabStopDistance](nodetextedit.md#tabstopdistance)*

**Returns:** *number*

___

###  testAttribute

▸ **testAttribute**(`attribute`: [WidgetAttribute](../enums/widgetattribute.md)): *boolean*

*Inherited from [QMenu](qmenu.md).[testAttribute](qmenu.md#testattribute)*

**Parameters:**

Name | Type |
------ | ------ |
`attribute` | [WidgetAttribute](../enums/widgetattribute.md) |

**Returns:** *boolean*

___

###  textInteractionFlags

▸ **textInteractionFlags**(): *[TextInteractionFlag](../enums/textinteractionflag.md)*

*Inherited from [NodeTextEdit](nodetextedit.md).[textInteractionFlags](nodetextedit.md#textinteractionflags)*

**Returns:** *[TextInteractionFlag](../enums/textinteractionflag.md)*

___

###  toHtml

▸ **toHtml**(): *string*

*Inherited from [NodeTextEdit](nodetextedit.md).[toHtml](nodetextedit.md#tohtml)*

**Returns:** *string*

___

###  toPlainText

▸ **toPlainText**(): *string*

*Inherited from [NodeTextEdit](nodetextedit.md).[toPlainText](nodetextedit.md#toplaintext)*

**Returns:** *string*

___

###  undo

▸ **undo**(): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[undo](nodetextedit.md#undo)*

**Returns:** *void*

___

###  update

▸ **update**(): *void*

*Inherited from [QMenu](qmenu.md).[update](qmenu.md#update)*

**Returns:** *void*

___

###  updateGeometry

▸ **updateGeometry**(): *void*

*Inherited from [QMenu](qmenu.md).[updateGeometry](qmenu.md#updategeometry)*

**Returns:** *void*

___

###  viewport

▸ **viewport**(): *[QWidget](qwidget.md)*

*Inherited from [QAbstractScrollArea](qabstractscrollarea.md).[viewport](qabstractscrollarea.md#viewport)*

**Returns:** *[QWidget](qwidget.md)*

___

###  windowOpacity

▸ **windowOpacity**(): *number*

*Inherited from [QMenu](qmenu.md).[windowOpacity](qmenu.md#windowopacity)*

**Returns:** *number*

___

###  windowState

▸ **windowState**(): *number*

*Inherited from [QMenu](qmenu.md).[windowState](qmenu.md#windowstate)*

**Returns:** *number*

___

###  windowTitle

▸ **windowTitle**(): *string*

*Inherited from [QMenu](qmenu.md).[windowTitle](qmenu.md#windowtitle)*

**Returns:** *string*

___

###  wordWrapMode

▸ **wordWrapMode**(): *[WrapMode](../enums/wrapmode.md)*

*Inherited from [NodeTextEdit](nodetextedit.md).[wordWrapMode](nodetextedit.md#wordwrapmode)*

**Returns:** *[WrapMode](../enums/wrapmode.md)*

___

###  zommIn

▸ **zommIn**(`range`: number): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[zommIn](nodetextedit.md#zommin)*

**Parameters:**

Name | Type | Default |
------ | ------ | ------ |
`range` | number | 1 |

**Returns:** *void*

___

###  zoomOut

▸ **zoomOut**(`range`: number): *void*

*Inherited from [NodeTextEdit](nodetextedit.md).[zoomOut](nodetextedit.md#zoomout)*

**Parameters:**

Name | Type | Default |
------ | ------ | ------ |
`range` | number | 1 |

**Returns:** *void*
