On 19.10.2010 20:35, ext velociraptor Genjix wrote:

Hey,
I want to make a tab bar like in Kile (
http://kile.sourceforge.net/images/screenshots/snap_runninglatex.png
) which uses a custom widget that consists of a QStackedWidget and
KDE widget called KMultiTabBar (a vertical grouping of buttons). I
couldn't find anyway to rotate QPushButton's 90 degrees but found
this custom widget written on the net (
http://www.qtcentre.org/wiki/index.php?title=OrientationButton ). How
could I import that into my PySide project? :)

If you wanted to use the C++ implementation, you'd need to create a library for it and then generate bindings against the library; probably not worth the effort for one single simple widget.

However, an easier solution would be to reimplement the widget in PySide. The code is quite short and straightforward; if you just take the C++ code and translate it to Python 1:1, I guess that could be done in no time!

Cheers,

ma.
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to