collagraph custom QtWidgets #104
jamesdbrock
started this conversation in
General
Replies: 3 comments
|
Do I have to add all the QtWidgets to the PySide renderer? https://github.com/fork-tongue/collagraph/blob/master/collagraph/renderers/pyside_renderer.py |
0 replies
|
Oh here is an example collagraph/tests/pyside/test_pyside_renderer.py Lines 47 to 54 in c23e173 |
0 replies
|
Oh yes this works renderer = PySideRenderer(autoshow=False)
renderer.register("RichTextPushButton", RichTextPushButton)
cg.h(
"RichTextPushButton",
{
"text": "<h1>New Project</h1>",
},
), |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Suppose I want to use a custom QtWidget, like the
RichTextPushButtonin https://stackoverflow.com/questions/2990060/qt-qpushbutton-text-formatting/62893567#62893567Can I do something like this?
All reactions