Package ts3widgets :: Module serverview :: Class Serverview
[hide private]
[frames] | no frames]

Class Serverview

source code

PythonQt.QtGui.QTreeView --+
                           |
                          Serverview

A QTreeView widget to display the complete view on a TS3 Server.

Instance Methods [hide private]
 
__init__(self, parent=None, schid=None)
Instantiates a new Serverview widget (including model and delegate).
source code
 
setServerConnectionHandlerId(self, schid) source code
Server or Channel or Client
indexToObject(self, index)
Returns the underlying object of a QModelIndex.
source code
Method Details [hide private]

__init__(self, parent=None, schid=None)
(Constructor)

source code 

Instantiates a new Serverview widget (including model and delegate).

Parameters:
  • schid (int) - the ID of the serverconnection
  • parent (QWidget) - parent widget

indexToObject(self, index)

source code 

Returns the underlying object of a QModelIndex.

Parameters:
  • index (QModelIndex) - the index of the model
Returns: Server or Channel or Client
the wrapped viewitem