Class: RubyQt6::QtGui::QFont

Inherits:
Object
  • Object
show all
Defined in:
lib/qt6/qtgui/qfont.rb

Overview

Defined Under Namespace

Classes: Capitalization, HintingPreference, SpacingType, Stretch, Style, StyleHint, StyleStrategy, Weight

Instance Method Summary collapse

Constructor Details

#initializeQFont #initialize(family) ⇒ QFont #initialize(family, point_size) ⇒ QFont #initialize(family, point_size, weight) ⇒ QFont #initialize(families) ⇒ QFont #initialize(families, point_size) ⇒ QFont #initialize(families, point_size, weight) ⇒ QFont

Overloads:

  • #initialize(family) ⇒ QFont

    Parameters:

    • family (String, QString)
  • #initialize(family, point_size) ⇒ QFont

    Parameters:

    • family (String, QString)
    • point_size (Integer)
  • #initialize(family, point_size, weight) ⇒ QFont

    Parameters:

    • family (String, QString)
    • point_size (Integer)
    • weight (QFont::Weight)
  • #initialize(families) ⇒ QFont

    Parameters:

    • families (QStringList)
  • #initialize(families, point_size) ⇒ QFont

    Parameters:

    • families (QStringList)
    • point_size (Integer)
  • #initialize(families, point_size, weight) ⇒ QFont

    Parameters:

    • families (QStringList)
    • point_size (Integer)
    • weight (QFont::Weight)


54
55
56
57
# File 'lib/qt6/qtgui/qfont.rb', line 54

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