nukescripts.InputHighlighter

class nukescripts.InputHighlighter(doc, parent=None)[source]

Bases: PySide2.QtGui.QSyntaxHighlighter

Methods

blockSignals

childEvent

children

connect

connectNotify

currentBlock

currentBlockState

currentBlockUserData

customEvent

deleteLater

disconnect

disconnectNotify

document

dumpObjectInfo

dumpObjectTree

dynamicPropertyNames

emit

event

eventFilter

findChild

findChildren

format

highlightBlock

inherits

installEventFilter

isSignalConnected

isWidgetType

isWindowType

killTimer

metaObject

moveToThread

objectName

parent

previousBlockState

property

receivers

registerUserData

rehighlight

rehighlightBlock

removeEventFilter

sender

senderSignalIndex

setCurrentBlockState

setCurrentBlockUserData

setDocument

setFormat

setObjectName

setParent

setProperty

signalsBlocked

startTimer

thread

timerEvent

tr

Attributes

destroyed

objectNameChanged

staticMetaObject

blockSignals(self, b: bool) bool
childEvent(self, event: PySide2.QtCore.QChildEvent)
children(self) List[PySide2.QtCore.QObject]
static connect(arg__1: PySide2.QtCore.QObject, arg__2: str, arg__3: Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) bool
static connect(arg__1: str, arg__2: Callable, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) bool
static connect(arg__1: str, arg__2: PySide2.QtCore.QObject, arg__3: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) bool
static connect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, method: PySide2.QtCore.QMetaMethod, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) PySide2.QtCore.QMetaObject.Connection
static connect(sender: PySide2.QtCore.QObject, signal: str, member: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) PySide2.QtCore.QMetaObject.Connection
static connect(sender: PySide2.QtCore.QObject, signal: str, receiver: PySide2.QtCore.QObject, member: str, type: PySide2.QtCore.Qt.ConnectionType = PySide2.QtCore.Qt.ConnectionType.AutoConnection) PySide2.QtCore.QMetaObject.Connection
connectNotify(self, signal: PySide2.QtCore.QMetaMethod)
currentBlock(self) PySide2.QtGui.QTextBlock
currentBlockState(self) int
currentBlockUserData(self) PySide2.QtGui.QTextBlockUserData
customEvent(self, event: PySide2.QtCore.QEvent)
deleteLater(self)
static disconnect(arg__1: PySide2.QtCore.QMetaObject.Connection) bool
static disconnect(arg__1: PySide2.QtCore.QObject, arg__2: str, arg__3: Callable) bool
static disconnect(arg__1: str, arg__2: Callable) bool
static disconnect(receiver: PySide2.QtCore.QObject, member: str = None) bool
static disconnect(sender: PySide2.QtCore.QObject, signal: PySide2.QtCore.QMetaMethod, receiver: PySide2.QtCore.QObject, member: PySide2.QtCore.QMetaMethod) bool
static disconnect(sender: PySide2.QtCore.QObject, signal: str, receiver: PySide2.QtCore.QObject, member: str) bool
static disconnect(signal: str, receiver: PySide2.QtCore.QObject, member: str) bool
disconnectNotify(self, signal: PySide2.QtCore.QMetaMethod)
document(self) PySide2.QtGui.QTextDocument
dumpObjectInfo(self)
dumpObjectTree(self)
dynamicPropertyNames(self) List[PySide2.QtCore.QByteArray]
emit(self, arg__1: str, *args) bool
event(self, event: PySide2.QtCore.QEvent) bool
eventFilter(self, watched: PySide2.QtCore.QObject, event: PySide2.QtCore.QEvent) bool
findChild(self, arg__1: type, arg__2: str = '') object
findChildren(self, arg__1: type, arg__2: PySide2.QtCore.QRegExp) Iterable
findChildren(self, arg__1: type, arg__2: str = '') Iterable
format(self, pos: int) PySide2.QtGui.QTextCharFormat
highlightBlock(self, text: str)[source]
inherits(self, classname: str) bool
installEventFilter(self, filterObj: PySide2.QtCore.QObject)
isSignalConnected(self, signal: PySide2.QtCore.QMetaMethod) bool
isWidgetType(self) bool
isWindowType(self) bool
killTimer(self, id: int)
metaObject(self) PySide2.QtCore.QMetaObject
moveToThread(self, thread: PySide2.QtCore.QThread)
objectName(self) str
parent(self) PySide2.QtCore.QObject
previousBlockState(self) int
property(self, name: str) Any
receivers(self, signal: str) int
static registerUserData() int
rehighlight(self)
rehighlightBlock(self, block: PySide2.QtGui.QTextBlock)
removeEventFilter(self, obj: PySide2.QtCore.QObject)
sender(self) PySide2.QtCore.QObject
senderSignalIndex(self) int
setCurrentBlockState(self, newState: int)
setCurrentBlockUserData(self, data: PySide2.QtGui.QTextBlockUserData)
setDocument(self, doc: PySide2.QtGui.QTextDocument)
setFormat(self, start: int, count: int, color: PySide2.QtGui.QColor)
setFormat(self, start: int, count: int, font: PySide2.QtGui.QFont) None
setFormat(self, start: int, count: int, format: PySide2.QtGui.QTextCharFormat) None
setObjectName(self, name: str)
setParent(self, parent: PySide2.QtCore.QObject)
setProperty(self, name: str, value: Any) bool
signalsBlocked(self) bool
startTimer(self, interval: int, timerType: PySide2.QtCore.Qt.TimerType = PySide2.QtCore.Qt.TimerType.CoarseTimer) int
thread(self) PySide2.QtCore.QThread
timerEvent(self, event: PySide2.QtCore.QTimerEvent)
tr(self, arg__1: str, arg__2: str = '', arg__3: int = - 1) str