Skip to content

TextTableCell

Base classes

Name Children Inherits
QTextTableCell
PySide6.QtGui
QTextTableCell(self, /) -> None

⋔ Inheritance diagram

graph TD
  4271106147["gui.TextTableCell"]
  1713546389["QtGui.QTextTableCell"]
  37984305["Shiboken.Object"]
  2751680898["builtins.object"]
  1713546389 --> 4271106147
  37984305 --> 1713546389
  2751680898 --> 37984305

🛈 DocStrings

Bases: QTextTableCell

Source code in prettyqt/gui/texttablecell.py
class TextTableCell(gui.QTextTableCell):
    def get_format(self) -> gui.TextCharFormat:
        #  .format() seems to crash both bindings?
        return gui.TextCharFormat(self.format())

    def get_first_cursor_position(self) -> gui.TextCursor:
        return gui.TextCursor(self.firstCursorPosition())

    def get_last_cursor_position(self) -> gui.TextCursor:
        return gui.TextCursor(self.lastCursorPosition())

:fa-brands-github: Show source on GitHub