updated docs

This commit is contained in:
Atul R 2019-08-04 12:13:15 +02:00
parent 5311f612c7
commit f79317a9a3
3 changed files with 6 additions and 1 deletions

View File

@ -45,6 +45,7 @@
- [QProgressBar (ProgressBar)](api/QProgressBar.md)
- [FlexLayout](api/FlexLayout.md)
- [QPixmap](api/QPixmap.md)
- [Qt Enums](api/QtEnums.md)
### Internal Modules

View File

@ -132,3 +132,7 @@ Repaints the widget. It calls the native method [QWidget: repaint](https://doc.q
#### `widget.update()`
Updates the widget. It calls the native method [QWidget: update](https://doc.qt.io/qt-5/qwidget.html#update).
#### `widget.size()`
returns the current widget size. It calls the native method [QWidget: size](https://doc.qt.io/qt-5/qwidget.html#size-prop). The returned size object contains width and height in pixels.

View File

@ -49,4 +49,4 @@ This method doesnt mutate this pixmap and rather returns a new pixmap with new h
- `width` number. Width in pixels for new pixmap.
- `height` number. Height in pixels for new pixmap.
- `aspectRatioMode` AspectRatioMode (_optional_). Specifies how scaling should happen. [AspectRatio is an enum from Qt](QtEnums.md)
- `aspectRatioMode` AspectRatioMode (_optional_). Specifies how scaling should happen. [AspectRatio is an enum from Qt](api/QtEnums.md)