Class: RubyQt6::QtGui::QTextDocument
- Inherits:
-
RubyQt6::QtCore::QObject
- Object
- RubyQt6::QtCore::QObject
- RubyQt6::QtGui::QTextDocument
- Defined in:
- lib/qt6/qtgui/qtextdocument.rb
Overview
Defined Under Namespace
Classes: FindFlag, FindFlags, MarkdownFeature, MarkdownFeatures, MetaInformation, ResourceType, Stacks
Instance Method Summary collapse
- #initialize(text, parent = nil) ⇒ QTextDocument constructor
Constructor Details
#initialize(text, parent = nil) ⇒ QTextDocument
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 |