Comments (6)
Sounds cool but I know nothing about this. Where can I read more?
from rodeo.
For PyQt (GPL) documentation and examples, see:
http://pyqt.sourceforge.net/Docs/PyQt4/qwebview.html
and
https://github.com/pyqt/python-qt5/tree/master/PyQt5/examples/webkit
Alternatively, you can use PySide (LGPL):
https://pyside.github.io/docs/pyside/PySide/QtWebKit/index.html
These are Python-based solutions, however a simple QML-based browser would also work well:
http://doc.qt.io/qt-5/qtwebkitexamples-webkitqml-flickrview-example.html
from rodeo.
Proof of concept, do on a command line
rodeo .
... rodeo starts in a browser window (firefox on windows 7 in my case)
Now, via spyder (in my use case), type and run this:
import sys
from PyQt4.QtCore import *
from PyQt4.QtGui import *
from PyQt4.QtWebKit import *
app = QApplication(sys.argv)
web = QWebView()
web.load(QUrl("http://localhost:5000"))
web.show()
sys.exit(app.exec_())
and now the unbelievable:
I'm impressed (what a shame their is a Python3 porting effort to enjoy this)
Ok, in this use-case (maybe Qt4 QtWebKit is showing its age):
- the editor part has an issue: cursor about 6 characters on the right,
- the click on the magnifying glass button doesn't do anything,
- the click on the picture button open the image full screen, but I can't go back.
from rodeo.
Qt5 version:
import sys
from PyQt5.QtCore import *
from PyQt5.QtGui import *
from PyQt5.QtWebKit import *
from PyQt5.QtWidgets import QApplication
from PyQt5.QtWebKitWidgets import QWebPage, QWebView
app = QApplication(sys.argv)
web = QWebView()
web.load(QUrl("http://localhost:5000"))
web.show()
sys.exit(app.exec_())
In this use-case (Qt5 Webkit only, as QtWebEngine is not compilable with vs2010):
- the editor part has no issue,
- the click on the magnifying glass button doesn't do anything,
- the click on the picture button doesn't open the image full screen.
from rodeo.
see 1.0
from rodeo.
👍
from rodeo.
Related Issues (20)
- why download rodeo so slowly
- Some Variables not showing up on the envoriment HOT 1
- Functions in global scope break the Environment viewer
- keras model fit with verbosity=1 print each line per second
- themes aren't global HOT 1
- WIndows installer doesnt ask for path but installs in C:
- Can't see themes in preferences HOT 1
- RuntimeError: dictionary changed size during iteration
- Download broken link on website HOT 8
- Rodeo Download pages are not working HOT 12
- please add the function of script autosave, or sometimes i will lost my script
- if you can add terminal of cmd like rstudio it could be better.
- environment can't update automaticly when i run the code
- code more than 500 lines, the hint and auto complete don't work.
- Does rodeo desktop support remote python interpreters?
- Can't see image
- A better alternative to Python IDE HOT 2
- Is the program abandoned?
- Rodeo installed from Github Releases: Says can't find python
- Rodeo IDE installed from Github Releases: Says can't find python HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from rodeo.