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 hashes)
Built Distribution
Close
Hashes for pyqtx_widgets-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f6bb109882482fe41348f2227ee41f515b5fef1b7618c662dc5c7cb54f9b7cf4 |
|
MD5 | e4ca6bfc18074a58b5acb6e21941d44b |
|
BLAKE2b-256 | 263d99400f89fda8cb6e7ea5b579db5178fa932d1ef331a985c01764a4e0917f |