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 a DRY, as same stuff gets copied actoss projects, here this.

## 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.0.2.tar.gz (12.3 kB view hashes)

Uploaded Source

Built Distribution

pyqtx_widgets-0.0.2-py3-none-any.whl (13.1 kB view hashes)

Uploaded Python 3

Supported by

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