Class: RubyQt6::QtGui::QTextDocument

Inherits:
RubyQt6::QtCore::QObject
  • Object
show all
Defined in:
lib/qt6/qtgui/qtextdocument.rb

Overview

Defined Under Namespace

Classes: FindFlag, FindFlags, MarkdownFeature, MarkdownFeatures, MetaInformation, ResourceType, Stacks

Instance Method Summary collapse

Constructor Details

#initialize(text, parent = nil) ⇒ QTextDocument

Parameters:

  • text (String, QString)
  • parent (QObject) (defaults to: nil)


46
47
48
49
# File 'lib/qt6/qtgui/qtextdocument.rb', line 46

def initialize(text, parent = nil)
  _initialize(T.to_qstr(text), parent)
  _take_ownership_from_ruby(self)
end