34 lines
993 B
Markdown
34 lines
993 B
Markdown
## Class: QProgressBar
|
|
|
|
> Create and control progress bar widgets.
|
|
|
|
**This class is a JS wrapper around Qt's [QProgressBar class](https://doc.qt.io/qt-5/qprogressbar.html)**
|
|
|
|
A `QProgressBar` provides ability to add and manipulate native progress bar widgets.
|
|
|
|
**QProgressBar inherits from [NodeWidget](api/NodeWidget.md)**
|
|
|
|
### Example
|
|
|
|
```javascript
|
|
const { QProgressBar } = require("@nodegui/nodegui");
|
|
|
|
const progressBar = new QProgressBar();
|
|
```
|
|
|
|
### `new QProgressBar(parent?)`
|
|
|
|
- `parent` NodeWidget (_optional_). Any widget inheriting from NodeWidget can be passed as a parent. This will make this widget, the child of the parent widget.
|
|
|
|
### Static Methods
|
|
|
|
QProgressBar can access all the static methods defined in [NodeWidget](api/NodeWidget.md)
|
|
|
|
### Instance Properties
|
|
|
|
QProgressBar can access all the instance properties defined in [NodeWidget](api/NodeWidget.md)
|
|
|
|
### Instance Methods
|
|
|
|
QProgressBar can access all the instance methods defined in [NodeWidget](api/NodeWidget.md)
|