Skip to main content

PyQt foldable toolbar

Project description

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

image

Fold

image

Here's another example with SettingsDialog in pyqt-timer.

Unfold

image

Fold

image

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyqt-foldable-toolbar-0.0.11.tar.gz (3.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyqt_foldable_toolbar-0.0.11-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file pyqt-foldable-toolbar-0.0.11.tar.gz.

File metadata

  • Download URL: pyqt-foldable-toolbar-0.0.11.tar.gz
  • Upload date:
  • Size: 3.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/0.0.0 CPython/3.7.6

File hashes

Hashes for pyqt-foldable-toolbar-0.0.11.tar.gz
Algorithm Hash digest
SHA256 dc0b6a8ab8749fa6dc8def6cbd87bee300be6c275e62568354fbbd0b897575fe
MD5 caec9b607c54761e9c6226805741a24f
BLAKE2b-256 735be979fadf6b3ec52c15a033b9cb3ba87c143c9c1ab34bdadf64ff8a631f1b

See more details on using hashes here.

File details

Details for the file pyqt_foldable_toolbar-0.0.11-py3-none-any.whl.

File metadata

File hashes

Hashes for pyqt_foldable_toolbar-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 9a64e193361a9b1ca3ac72bd9883f290a7153119a27f7665c1a90789655d156d
MD5 84e8674abb772689fca9d6aaa38d49d7
BLAKE2b-256 f1d942b4310ee6bec7e69c9e6f21dc343f4a5416f50852c9ae39307a712c3feb

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page