Skip to content

Instantly share code, notes, and snippets.

@msiahaan
Created August 24, 2010 15:53
Show Gist options
  • Save msiahaan/547781 to your computer and use it in GitHub Desktop.
Save msiahaan/547781 to your computer and use it in GitHub Desktop.
self.websettings = QWebSettings #setting untuk browser web
self.websettings = {
'JavascriptEnabled': True,
'AutoLoadImages': True}
#widget untuk menampilkan halaman web: QWebView
self.twitterView = QWebView(self)
self.twitterView.load(QUrl('http://twitter.com/login'))
self.setCentralWidget(self.twitterView)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment