updated docs
This commit is contained in:
parent
5311f612c7
commit
f79317a9a3
@ -45,6 +45,7 @@
|
||||
- [QProgressBar (ProgressBar)](api/QProgressBar.md)
|
||||
- [FlexLayout](api/FlexLayout.md)
|
||||
- [QPixmap](api/QPixmap.md)
|
||||
- [Qt Enums](api/QtEnums.md)
|
||||
|
||||
### Internal Modules
|
||||
|
||||
|
||||
@ -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.
|
||||
|
||||
@ -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)
|
||||
|
||||
Loading…
Reference in New Issue
Block a user