Multitple icons/pixmap in same cell

donoban <[email protected]>
Newsgroups gmane.comp.python.pyqt-pykde
Message-ID <[email protected]>
Hi,

I am trying to adapt a medium sized pyqt appication to model/view
architecture (https://github.com/QubesOS/qubes-manager/pull/195)

I have a problem when trying to imitate the 'State' column behavior. As
you could see here:
https://www.linuxjournal.com/sites/default/files/styles/850x500/public/nodeimage/story/12011f2.png

This column can have multiple icons which show the current state of the
VM. In the internal code it uses a custom widget with a layout and adds
new widgets with a pixmap and tooltip.

Does anybody know how to imitate this with model/view design? Could I
split the 'State' column in multiple columns which share the same header
cell?

Regards.
_______________________________________________
PyQt mailing list    [email protected]
https://www.riverbankcomputing.com/mailman/listinfo/pyqt
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.