Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(4)  |  Call(2)  |  Derive(0)  |  Import(2)
BuddyGroup implements the view of a Buddy group from the Roster

src/p/y/PyTalk-HEAD/pytalk/BuddyList.py   PyTalk(Download)
from PyQt4.QtGui import QTreeWidget, QTreeWidgetItem, QMenu, QIcon
from PyQt4.QtCore import Qt, SIGNAL
 
from BuddyItem import BuddyItem
from BuddyGroup import BuddyGroup
    def addGroup(self, group):
        if group:
            if group not in self.groups.keys():
                self.groups[group] = BuddyGroup(group)
                self.tree[group] = {}

src/e/0/E-learning-HEAD/AbstractContactList.py   E-learning(Download)
from PyQt4.QtGui import QTreeWidget
from PyQt4.QtCore import Qt
 
from BuddyGroup import BuddyGroup
 
	def addGroup(self, group):		
		if group:
			if group not in self.groups.keys():
				self.groups[group] = BuddyGroup(group)
				self.tree[group] = {}