## MQWidget class

A widget class.

### Method

Member | Description
--- | ---
getMainWindow | Get a main window.
getBaseRateSize | Get a widget size by a rate of a base size.

getMainWindow
Get a main window.
  Return value:
  MQWidget.WindowBase | - | A main window

getBaseRateSize(rate)
Get a widget size by a rate of a base size.
  Parameters:
  float | rate | - | a rate of a base size
  Return value:
  int | - | A size in pixels