Skip to main content

pyqtx Widgets

Project description

This lib is in active use and makes knocking up PyQt5 apps a little quicker.

It’s just a bunch of constructors and Xtended widgets to add some functionality. Now some of you may scream about adding another layer!! Instead is viewed as DRY, as same stuff gets copied across projects

## Layout
lay = QtWidgets.QVBoxLayout()
lay.setContentMargins(10,10,10,10)
lay.setSpacing(20)

# vs
lay = xwidgets.vlayout(margin=10. spacing=20)

## Toolbutton
butt = QtWidgets.QToolButton()
butt.setAutoRaise(True)
butt.setText("Foo")
butt.clicked.connect(self.on_button)

# vs
butt = xwidgets.XToolButton(text="Foo", autoRaise=True, clicked=self.on_button)

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

pyqtx-widgets-0.1.2.tar.gz (15.9 kB view details)

Uploaded Source

Built Distribution

pyqtx_widgets-0.1.2-py3-none-any.whl (17.2 kB view details)

Uploaded Python 3

File details

Details for the file pyqtx-widgets-0.1.2.tar.gz.

File metadata

  • Download URL: pyqtx-widgets-0.1.2.tar.gz
  • Upload date:
  • Size: 15.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

File hashes

Hashes for pyqtx-widgets-0.1.2.tar.gz
Algorithm Hash digest
SHA256 f7690592f64554cce790eab2b216eb6fcea2bf1c02dd379063b96e9db9bdacec
MD5 308535401b4efc119dfe3b6b72c9abfb
BLAKE2b-256 b51292c1515edc6e2a35492e40ff8a19e134d2cf2f05221a310c989e6b731e03

See more details on using hashes here.

File details

Details for the file pyqtx_widgets-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: pyqtx_widgets-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 17.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.22.0 setuptools/40.8.0 requests-toolbelt/0.9.1 tqdm/4.40.0 CPython/3.7.3

File hashes

Hashes for pyqtx_widgets-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 f6bb109882482fe41348f2227ee41f515b5fef1b7618c662dc5c7cb54f9b7cf4
MD5 e4ca6bfc18074a58b5acb6e21941d44b
BLAKE2b-256 263d99400f89fda8cb6e7ea5b579db5178fa932d1ef331a985c01764a4e0917f

See more details on using hashes here.

Supported by

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