pyqt-foldable-toolbar
PyQt foldable/hidable toolbar. You can add widget with addWidget(widget). You can see how to use it in the example below.
There is fold/unfold animation to make it look better.
Requirements
- PyQt5 >= 5.8
Setup
python -m pip install pyqt-foldable-toolbar
Included Packages
Example
Code Sample
from PyQt5.QtWidgets import QApplication, QMainWindow, QTextEdit
from pyqt_foldable_toolbar import FoldableToolBar
if __name__ == "__main__":
import sys
app = QApplication(sys.argv)
mainWindow = QMainWindow()
toolBar = FoldableToolBar()
toolBar.addWidget(QTextEdit())
mainWindow.addToolBar(toolBar)
mainWindow.show()
sys.exit(app.exec_())
Result
Unfold
Fold
Here's another example with SettingsDialog in pyqt-timer.
Unfold
Fold
Metadata
Release files for pyqt-foldable-toolbar 0.0.11
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pyqt-foldable-toolbar-0.0.11.tar.gz | 3.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pyqt_foldable_toolbar-0.0.11-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / pyqt-foldable-toolbar-0.0.11.tar.gz
| Download URL | pyqt-foldable-toolbar-0.0.11.tar.gz |
|---|---|
| Size | 3.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dc0b6a8ab8749fa6dc8def6cbd87bee300be6c275e62568354fbbd0b897575fe
|
|
BLAKE2b-256 checksum How to use checksums |
735be979fadf6b3ec52c15a033b9cb3ba87c143c9c1ab34bdadf64ff8a631f1b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|
Release files / pyqt_foldable_toolbar-0.0.11-py3-none-any.whl
| Download URL | pyqt_foldable_toolbar-0.0.11-py3-none-any.whl |
|---|---|
| Size | 5.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
9a64e193361a9b1ca3ac72bd9883f290a7153119a27f7665c1a90789655d156d
|
|
BLAKE2b-256 checksum How to use checksums |
f1d942b4310ee6bec7e69c9e6f21dc343f4a5416f50852c9ae39307a712c3feb
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/0.0.0 CPython/3.7.6
|