Unofficial docs


Python Members Club

Meeting point of python coders

    
    @QTextDocument

Python Library Documentation: class QTextDocument in module PySide.QtGui

class QTextDocument(PySide.QtCore.QObject)
 |  Method resolution order:
 |      QTextDocument
 |      PySide.QtCore.QObject
 |      Shiboken.Object
 |      builtins.object
 |  
 |  Methods defined here:
 |  
 |  __init__(self, /, *args, **kwargs)
 |      Initialize self.  See help(type(self)) for accurate signature.
 |  
 |  __new__(*args, **kwargs) from Shiboken.ObjectType
 |      Create and return a new object.  See help(type) for accurate signature.
 |  
 |  addResource(...)
 |  
 |  adjustSize(...)
 |  
 |  allFormats(...)
 |  
 |  availableRedoSteps(...)
 |  
 |  availableUndoSteps(...)
 |  
 |  begin(...)
 |  
 |  blockCount(...)
 |  
 |  characterAt(...)
 |  
 |  characterCount(...)
 |  
 |  clear(...)
 |  
 |  clearUndoRedoStacks(...)
 |  
 |  clone(...)
 |  
 |  createObject(...)
 |  
 |  defaultCursorMoveStyle(...)
 |  
 |  defaultFont(...)
 |  
 |  defaultStyleSheet(...)
 |  
 |  defaultTextOption(...)
 |  
 |  documentLayout(...)
 |  
 |  documentMargin(...)
 |  
 |  drawContents(...)
 |  
 |  end(...)
 |  
 |  find(...)
 |  
 |  findBlock(...)
 |  
 |  findBlockByLineNumber(...)
 |  
 |  findBlockByNumber(...)
 |  
 |  firstBlock(...)
 |  
 |  frameAt(...)
 |  
 |  idealWidth(...)
 |  
 |  indentWidth(...)
 |  
 |  isEmpty(...)
 |  
 |  isModified(...)
 |  
 |  isRedoAvailable(...)
 |  
 |  isUndoAvailable(...)
 |  
 |  isUndoRedoEnabled(...)
 |  
 |  lastBlock(...)
 |  
 |  lineCount(...)
 |  
 |  loadResource(...)
 |  
 |  markContentsDirty(...)
 |  
 |  maximumBlockCount(...)
 |  
 |  metaInformation(...)
 |  
 |  object(...)
 |  
 |  objectForFormat(...)
 |  
 |  pageCount(...)
 |  
 |  pageSize(...)
 |  
 |  print_(...)
 |  
 |  redo(...)
 |  
 |  resource(...)
 |  
 |  revision(...)
 |  
 |  rootFrame(...)
 |  
 |  setDefaultCursorMoveStyle(...)
 |  
 |  setDefaultFont(...)
 |  
 |  setDefaultStyleSheet(...)
 |  
 |  setDefaultTextOption(...)
 |  
 |  setDocumentLayout(...)
 |  
 |  setDocumentMargin(...)
 |  
 |  setHtml(...)
 |  
 |  setIndentWidth(...)
 |  
 |  setMaximumBlockCount(...)
 |  
 |  setMetaInformation(...)
 |  
 |  setModified(...)
 |  
 |  setPageSize(...)
 |  
 |  setPlainText(...)
 |  
 |  setTextWidth(...)
 |  
 |  setUndoRedoEnabled(...)
 |  
 |  setUseDesignMetrics(...)
 |  
 |  size(...)
 |  
 |  textWidth(...)
 |  
 |  toHtml(...)
 |  
 |  toPlainText(...)
 |  
 |  undo(...)
 |  
 |  useDesignMetrics(...)
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes defined here:
 |  
 |  DocumentTitle = PySide.QtGui.QTextDocument.MetaInformation.DocumentTit...
 |  
 |  DocumentUrl = PySide.QtGui.QTextDocument.MetaInformation.DocumentUrl
 |  
 |  FindBackward = PySide.QtGui.QTextDocument.FindFlag.FindBackward
 |  
 |  FindCaseSensitively = PySide.QtGui.QTextDocument.FindFlag.FindCaseSens...
 |  
 |  FindFlag = 
 |  
 |  
 |  FindFlags = 
 |  
 |  
 |  FindWholeWords = PySide.QtGui.QTextDocument.FindFlag.FindWholeWords
 |  
 |  HtmlResource = PySide.QtGui.QTextDocument.ResourceType.HtmlResource
 |  
 |  ImageResource = PySide.QtGui.QTextDocument.ResourceType.ImageResource
 |  
 |  MetaInformation = 
 |  
 |  
 |  RedoStack = PySide.QtGui.QTextDocument.Stacks.RedoStack
 |  
 |  ResourceType = 
 |  
 |  
 |  Stacks = 
 |  
 |  
 |  StyleSheetResource = PySide.QtGui.QTextDocument.ResourceType.StyleShee...
 |  
 |  UndoAndRedoStacks = PySide.QtGui.QTextDocument.Stacks.UndoAndRedoStack...
 |  
 |  UndoStack = PySide.QtGui.QTextDocument.Stacks.UndoStack
 |  
 |  UserResource = PySide.QtGui.QTextDocument.ResourceType.UserResource
 |  
 |  blockCountChanged = 
 |      Signal
 |  
 |  contentsChange = 
 |      Signal
 |  
 |  contentsChanged = 
 |      Signal
 |  
 |  cursorPositionChanged = 
 |      Signal
 |  
 |  documentLayoutChanged = 
 |      Signal
 |  
 |  modificationChanged = 
 |      Signal
 |  
 |  redoAvailable = 
 |      Signal
 |  
 |  staticMetaObject = 
 |  
 |  undoAvailable = 
 |      Signal
 |  
 |  undoCommandAdded = 
 |      Signal
 |  
 |  ----------------------------------------------------------------------
 |  Methods inherited from PySide.QtCore.QObject:
 |  
 |  __delattr__(self, name, /)
 |      Implement delattr(self, name).
 |  
 |  __getattribute__(self, name, /)
 |      Return getattr(self, name).
 |  
 |  __setattr__(self, name, value, /)
 |      Implement setattr(self, name, value).
 |  
 |  blockSignals(...)
 |  
 |  childEvent(...)
 |  
 |  children(...)
 |  
 |  connectNotify(...)
 |  
 |  customEvent(...)
 |  
 |  deleteLater(...)
 |  
 |  disconnectNotify(...)
 |  
 |  dumpObjectInfo(...)
 |  
 |  dumpObjectTree(...)
 |  
 |  dynamicPropertyNames(...)
 |  
 |  emit(...)
 |  
 |  event(...)
 |  
 |  eventFilter(...)
 |  
 |  findChild(...)
 |  
 |  findChildren(...)
 |  
 |  inherits(...)
 |  
 |  installEventFilter(...)
 |  
 |  isWidgetType(...)
 |  
 |  killTimer(...)
 |  
 |  metaObject(...)
 |  
 |  moveToThread(...)
 |  
 |  objectName(...)
 |  
 |  parent(...)
 |  
 |  property(...)
 |  
 |  receivers(...)
 |  
 |  removeEventFilter(...)
 |  
 |  sender(...)
 |  
 |  senderSignalIndex(...)
 |  
 |  setObjectName(...)
 |  
 |  setParent(...)
 |  
 |  setProperty(...)
 |  
 |  signalsBlocked(...)
 |  
 |  startTimer(...)
 |  
 |  thread(...)
 |  
 |  timerEvent(...)
 |  
 |  tr(...)
 |  
 |  trUtf8(...)
 |  
 |  ----------------------------------------------------------------------
 |  Static methods inherited from PySide.QtCore.QObject:
 |  
 |  connect(...)
 |  
 |  disconnect(...)
 |  
 |  registerUserData(...)
 |  
 |  ----------------------------------------------------------------------
 |  Data and other attributes inherited from PySide.QtCore.QObject:
 |  
 |  destroyed = 
 |      Signal
 |  
 |  ----------------------------------------------------------------------
 |  Data descriptors inherited from Shiboken.Object:
 |  
 |  __dict__