Class: RubyQt6::KWidgetsAddons::KGuiItem

Inherits:
Object
  • Object
show all
Defined in:
lib/qt6/kwidgetsaddons/kguiitem.rb

Overview

Instance Method Summary collapse

Constructor Details

#initialize(text = "", icon_name = "", tool_tip = "", whats_this = "") ⇒ KGuiItem

Parameters:

  • text (String, QString) (defaults to: "")
  • icon_name (String, QString) (defaults to: "")
  • tool_tip (String, QString) (defaults to: "")
  • whats_this (String, QString) (defaults to: "")


15
16
17
# File 'lib/qt6/kwidgetsaddons/kguiitem.rb', line 15

def initialize(text = "", icon_name = "", tool_tip = "", whats_this = "")
  _initialize(T.to_qstr(text), T.to_qstr(icon_name), T.to_qstr(tool_tip), T.to_qstr(whats_this))
end