SF.net SVN: fclient:[666] trunk/fclient/src/fclient/Ui_ViewBrowser.py
Status: Pre-Alpha
Brought to you by:
jurner
|
From: <jU...@us...> - 2008-07-18 02:58:11
|
Revision: 666
http://fclient.svn.sourceforge.net/fclient/?rev=666&view=rev
Author: jUrner
Date: 2008-07-18 02:58:19 +0000 (Fri, 18 Jul 2008)
Log Message:
-----------
ViewObject is now in config
Modified Paths:
--------------
trunk/fclient/src/fclient/Ui_ViewBrowser.py
Modified: trunk/fclient/src/fclient/Ui_ViewBrowser.py
===================================================================
--- trunk/fclient/src/fclient/Ui_ViewBrowser.py 2008-07-18 02:57:21 UTC (rev 665)
+++ trunk/fclient/src/fclient/Ui_ViewBrowser.py 2008-07-18 02:58:19 UTC (rev 666)
@@ -12,7 +12,6 @@
from PyQt4 import QtCore, QtGui, QtWebKit, QtNetwork
from . import config
-from . import Ui_View
from .lib import fcp2
from .tpls.Ui_ViewBrowserWidgetTpl import Ui_ViewBrowserWidget
@@ -114,10 +113,10 @@
)
-class BrowserViewObject(Ui_View.ViewObject):
+class BrowserViewObject(config.ViewObject):
def __init__(self, parent):
- Ui_View.ViewObject. __init__(self, parent)
+ config.ViewObject. __init__(self, parent)
self.name=parent.objectName()
self.displayName=self.trUtf8('Browser')
@@ -157,8 +156,8 @@
QtWebKit.QWebPage.__init__(self, parent)
def acceptNavigationRequest(self, frame, request, type):
- print frame, request, type
- print request.url()
+ #print frame, request, type
+ #print request.url()
# have to on query here: "?forcedownload" for dl. "?force=abcdef" for app exec on the link
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|