Class: RubyQt6::QtWidgets::QListWidgetItem

Inherits:
Object
  • Object
show all
Defined in:
lib/qt6/qtwidgets/qlistwidgetitem.rb

Overview

Defined Under Namespace

Classes: ItemType

Instance Method Summary collapse

Constructor Details

#initializeQListWidgetItem #initialize(text) ⇒ QListWidgetItem #initialize(icon, text) ⇒ QListWidgetItem

Overloads:

  • #initialize(text) ⇒ QListWidgetItem

    Parameters:

    • text (String, QString)
  • #initialize(icon, text) ⇒ QListWidgetItem

    Parameters:

    • icon (QIcon)
    • text (String, QString)


31
32
33
34
35
36
# File 'lib/qt6/qtwidgets/qlistwidgetitem.rb', line 31

def initialize(*args)
  T.args_nth_to_qstr(args, 0)
  T.args_nth_to_qstr(args, 1)
  _initialize(*args)
  _take_ownership_from_ruby(self)
end