Rapid Application development using PyQt and Eric3 ... in realtime!
Now, this is not a tutorial in the sense that you gonna learn how to do stuff.
However, it may show you what is possible!
So, hop in and enter the wonderful world of one evening of development in the company of PyQt, Eric3, and Python.
great. i'm looking forward to the next issue
Thanks for this great presentation.
Have you noticed that the source code isn't downloadable?
I would be happy to read all the source code.
Possible bugfixes:
It seems the issue with only drag-copy working is because dropNote is calling event.accept() instead of event.acceptAction()!
In the second release (maybe next week) I will explain this better, and add other functionality to notty.
Oops. It is .tar.gz, not .tgz . Should be fixed in a minute.
Really nice, Roberto.
Some ramdom notes:
- window.py is a bit white space damaged
- Window.getChildren() looks unfinished
- Window.close() should read:
def close(self,alsoDelete=True):
self.fileSave()
return WindowBase.close(self,alsoDelete)
and a tip for RPM junkies (like me :-):
Instead of running "python setup.py install" for the additional packages, better use: "python setup.py bdist_rpm", and install the resulting noarch.rpm.
Neat app, reminds me of Leo (http://leo.sf.net) but simpler and acts as a note taker rather than a full programming editor.
The white space damage is caused by copy&paste;, mostly. It should work, though ;-)
Thanks for the other tips, but I haven´t done a setup.py for this baby yet :-)
There´s also Treeline: http://www.bellz.org/treeline/index.html
These things are much more ambitious and complex than Notty, though :-)
Nifty story!
Gracias por el relato, Alberto.
I tried to follow along by running Qt and Eric3 myself, but I lost the trail on the first entry into Qt, as I didn't know what widgets you were using. A good addition to your story would be a subtext or sidebar that explains a little about what you did in Qt. For instance, how do you create WindowBase Class in Qt? I can't figure it out!
thanks for providing all of the code; I'm able to download it and open it up in Eric3. I don't get anywhere with it, though, since it requires docutils.core. Where would I find that? Time to google...
Ok, late answer, but...
docutils.core comes from docutils :-)
http://docutils.sf.net
You can see what widgets I am using by opening the .ui files on Qt´s designer and looking around.
But anyway:
A QTabWidget containing a QTextEdit and a QTextBrowser, and on the left side a QListView.
If you have any problems, just email me (small envelope on the right side of my pages)