4 ms·
_ is typically used to i18n strings with gettext, it seems like poor naming for a layout-related function like a spacer. Apart from that, this seems to be a wr
by toyg 6y ago
_ is typically used to i18n strings with gettext, it seems like poor naming for a layout-related function like a spacer.
Apart from that, this seems to be a wrapper on top of PySide/QT to speed up development of basic forms. I don't find it particularly attractive, I have a feeling one will have to drop into QT as soon as requirements get slightly complex. Then again, if it gets more people to approach QT and desktop GUIs in general, it's welcome.
- BareNakedCoder 6y agofrom guietta import _ as z
- alfiopuglisi 6y agoI realized too late that _ is used for i18n. Well, 10 minutes late maybe, but I had already completed the first test GUI and it looked so nice that I could not turn back :) If you have ideas for an alternative syntax, I am all ears.
- mkl 6y agoHow about __? That matches the magic __ in __a__.
- alfiopuglisi 6y agoIf you look in the tutorial, there is also a ___ (three underscores) magic widget for special layouts :) I can see the difference between one and three, but between two and three it becomes difficult :)