alfiopuglisi / guietta

https://guietta.readthedocs.io
MIT License
1.96k stars 93 forks source link

MacOs M1 from guietta import HSeparator error #49

Open PCo74 opened 5 months ago

PCo74 commented 5 months ago

In https://guietta.readthedocs.io/en/latest/reference.html?highlight=Hseparator#widgets

HSeparator not found, but renaming to Separator?

In "guietta.py" ''' List of widget shortcuts:

 'text' -> QLabel('text')
 ...
 R('text') -> QRadioButton('text')
 HS('name') -> QSlider(Qt::Horizontal), name set to 'name'
 VS('name') -> QSlider(Qt::Horizontal), name set to 'name'
 Separator -> Horizontal separator
 VSeparator -> Vertical separator
 widget -> any valid QT widget is accepted
...

If I change HSeparator to Separator, it works! Thank you for your work.

PCo74 commented 5 months ago

Continuing my exploration, it appears that the file installed in my environment via pip does not correspond to the one available on "github". After manual copying, the examples work much better!