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)
Built Distribution
Close
Hashes for pyqtx_widgets-0.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4d0d3870e3c3ea3fb50de95d683edfdcb24270e5d3206a7a5dbea96a8a317730 |
|
MD5 | 4c85c7a66b3da8db0ad9b32148ff103d |
|
BLAKE2b-256 | c9d0522bce10a48c50dc6e4632f740a0aded29d25a0f63b4dd21b9d424578f2c |