Class implementing a small wrapper around BrowserNode.
It sets a pixmap depending on the open state.
Methods
|
|
__init__
setOpen
|
|
__init__
|
__init__ (
self,
parent,
text,
)
Constructor
Arguments
- parent
- parent widget of this item (QListView or QListViewItem)
- text
- text to be displayed (string or QString)
|
|
setOpen
|
setOpen ( self, o )
Slot called to open/close the tree node.
It sets the pixmap displayed next to the tree node depending of the
open status of the node.
Arguments
|
|