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.

Files for pyqtx-widgets, version 0.1.2
Filename, size File type Python version Upload date Hashes
Filename, size pyqtx_widgets-0.1.2-py3-none-any.whl (17.2 kB) File type Wheel Python version py3 Upload date Hashes View hashes
Filename, size pyqtx-widgets-0.1.2.tar.gz (15.9 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page