From: <ve...@us...> - 2008-06-14 12:08:11
|
Revision: 824 http://luma.svn.sourceforge.net/luma/?rev=824&view=rev Author: vegarwe Date: 2008-06-14 05:08:06 -0700 (Sat, 14 Jun 2008) Log Message: ----------- Bad choice of name. Rename modules -> model Modified Paths: -------------- trunk/luma/lib/luma/plugins/browser_plugin/BrowserView.py Added Paths: ----------- trunk/luma/lib/luma/model/ Removed Paths: ------------- trunk/luma/lib/luma/modules/ Copied: trunk/luma/lib/luma/model (from rev 823, trunk/luma/lib/luma/modules) Modified: trunk/luma/lib/luma/plugins/browser_plugin/BrowserView.py =================================================================== --- trunk/luma/lib/luma/plugins/browser_plugin/BrowserView.py 2008-06-14 12:06:39 UTC (rev 823) +++ trunk/luma/lib/luma/plugins/browser_plugin/BrowserView.py 2008-06-14 12:08:06 UTC (rev 824) @@ -9,27 +9,30 @@ ########################################################################### +from PyQt4 import QtCore from PyQt4.QtGui import * from base.utils.gui.BrowserWidget import BrowserWidget -from base.utils.gui.AdvancedObjectWidget import AdvancedObjectWidget +#from base.utils.gui.AdvancedObjectWidget import AdvancedObjectWidget class BrowserView(QWidget): - def __init__(self, parent=None, name=None, fl=0): - QWidget.__init__(self, parent, name, fl) + def __init__(self, parent=None): + QWidget.__init__(self, parent) - self.setName("PLUGIN_BROWSER") + self.setObjectName("PLUGIN_BROWSER") self.splitter = QSplitter(self) self.mainLayout = QHBoxLayout(self) self.entryList = BrowserWidget(self.splitter) self.entryList.setMinimumWidth(200) - self.entryView = AdvancedObjectWidget(self.splitter) - self.connect(self.entryList, PYSIGNAL("ldap_result"), self.entryView.initView) - self.connect(self.entryList, PYSIGNAL("about_to_change"), self.entryView.aboutToChange) - self.connect(self.entryView, PYSIGNAL("REOPEN_PARENT"), self.entryList.reopenDN) - self.connect(self.entryList, PYSIGNAL("ADD_ATTRIBUTE"), self.entryView.addAttribute) + # FIXME: qt4 migration needed + #self.entryView = AdvancedObjectWidget(self.splitter) + self.entryView = QWidget(self.splitter) + #self.connect(self.entryList, QtCore.SIGNAL("ldap_result"), self.entryView.initView) + #self.connect(self.entryList, QtCore.SIGNAL("about_to_change"), self.entryView.aboutToChange) + #self.connect(self.entryView, QtCore.SIGNAL("REOPEN_PARENT"), self.entryList.reopenDN) + #self.connect(self.entryList, QtCore.SIGNAL("ADD_ATTRIBUTE"), self.entryView.addAttribute) self.mainLayout.addWidget(self.splitter) ############################################################################### This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |