0
PySide/QWebkit
Slidehare Hack
7Qt
Kazushige TAKEUCHI
N9
0.
NW SE/SIer(S/W)NW
Twitter id @myb1126
NW
CI/BTS
0.
()
SlideshareSlideshare Downloader
Python:
PySide:PySide Qt SDK/PyQt
Slideshare Downloader
1.Python
Lightweight Language
GC
C/C++
pythonpython
python3 (Web)
1.Python
CLILinuxpythonOS
exe/app.exefor Windows)
WebModel / View / Controller
WebWSGI
Python on a Chip
1.Python
Pythonista
2.PySide
2.PySide
LGPL
PySide Qt bindings allow both free open source and proprietary software development
!
2.PySide
LGPL Qt python Binding (PyQtGPL
Python ver - 2.6/2.7 (3.2 experimental)
Qt ver 4.8 beta support
Urlhttp://www.pyside.org/
2PySide
3.Slideshare Downloader(,SD
3.Slideshare Downloader
(Button)
(Button)
(Button)
LineEdit
(WebView)
3.Slideshare Downloader
Demo()
LAN / MicroUSB
3.Slideshare Downloader
Qwebkit
Windows Mozilla FirefoxURL
QWebKit
AppleHTMLQt Port
WindowsFirefox
HTML5 Support
Win 64bit Win 64bitHTML5(SD
32bit
QtWebkitABC
WebCoreQGraphicsWebView
QWebDatabase
QWebElement
QWebElementCollection
QWebFrame
QWebHistory
QWebHistoryInterface
QWebHistoryItem
QWebHitTestResult
QwebInspector
QWebPage
QWebPage.ChooseMultipleFilesExtensionOption
QWebPage.ChooseMultipleFilesExtensionReturn
QWebPage.ErrorPageExtensionOption
QWebPage.ErrorPageExtensionReturn
QWebPage.ExtensionOption
QWebPage.ExtensionReturn
QWebPluginFactory
QWebPluginFactory.MimeType
QWebPluginFactory.Plugin
QWebSecurityOrigin
QWebSettings
QWebView
QtWebkit
WebCore
QwebView
QgraphicsWebView
QWebSettings
QWebPluginFactory
QWebPluginFactory.MimeType
QWebPluginFactory.Plugin
HTMLQWebElement
QWebElementCollection
QWebFrame
QwebInspector
QWebHitTestResult
QWebPage
QWebPage.ChooseMultipleFilesExtensionOption
QWebPage.ChooseMultipleFilesExtensionReturn
QWebPage.ErrorPageExtensionOption
QWebPage.ErrorPageExtensionReturn
QWebPage.ExtensionOption
QWebPage.ExtensionReturn
QWebSecurityOrigin
DBQWebDatabase
QWebHistory
QWebHistoryInterface
QWebHistoryItem
Slideshare Downloader1)
WebViews = QtWebKit.QWebSettings.globalSettings()
s.setAttribute(QWebSettings.PluginsEnabled, True)
s.setAttribute(QWebSettings.JavascriptEnabled, True)
SlideshareAPIWebFrame#evaluateJavascript()Javascript
Slideshare APIPlayer API
jumpTo(slide_number):VoidIn the Slide-show jump to the specified slide number
next():VoidMove to the next slide
previous():VoidMove to the previous slide
first():VoidMove to the first slide in the slide-show
last():VoidMove to the last slide in the slide-show
getCurrentSlide():NumberGet the current slide number
Slideshare Downloader2)
WebFrame#render(QPainter)size = QSize(598, 441)
offscreen_image = QImage(size, QImage.Format_RGB32)
painter = QPainter(offscreen_image)
self.frame.render(painter)
Slideshare Downloader(3)
ZIP(python.)
zip_gen = os.walk(".")for zip_me in zip_gen: # [rootname, dirnamelist, filenamelist ] print zip_me for reg_file in zip_me[2]: # loop for finename print reg_file write_file = os.path.join(zip_me[0], reg_file) arc_name = write_file # print "zip write: ", write_file, arc_name try: zipf.write(write_file, arc_name); except: print "ERROR: writing file =", write_filezipf.close()
HTTPClient
DL
Watermark
PySide
TeratermQconsole
Python
PC Link Tool NECWeb
Growl AndroidPC
PySide/QML on MeeGo Tutorialhttp://thp.io/2010/meego-python/
)http://erlang.web.fc2.com/pyside_tutorial/
N9
06/05/11