Classes qt.QSize and qt.QSizeF represent common Qt classes. Please refer to the Qt documentation for classes QSize and QSizeF for details.

Example:

  require 'qtwidget'
  widget = qt.QWidget()
  widget.size = qt.QSize{width=320,height=200}
  widget:show()

Subsections

  1. qt.QSize(table), qt.QSizeF(table)
  2. qsize:totable()