Ir al contenido principal

Ralsina.Me — El sitio web de Roberto Alsina

Rapid Application development using PyQt and Eric3 ... in realtime!

Now, this is not a tu­to­ri­al in the sense that you gonna learn how to do stuff.

How­ev­er, it may show you what is pos­si­ble!

So, hop in and en­ter the won­der­ful world of one evening of de­vel­op­ment in the com­pa­ny of PyQt, Er­ic3, and Python.

tom / 2006-04-03 05:27:

great. i'm looking forward to the next issue

Lucas / 2006-04-03 05:28:

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.

Roberto Alsina / 2006-04-03 05:28:

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.

Roberto Alsina / 2006-04-03 05:29:

Oops. It is .tar.gz, not .tgz . Should be fixed in a minute.

frispete / 2006-04-03 05:30:

Really nice, Roberto.

Some ramdom notes:

- is a bit white space damaged

- Window.getChildren() looks unfinished

- Window.close() should read:

def close(self,alsoDelete=True):


return WindowBase.close(self,alsoDelete)

and a tip for RPM junkies (like me :-):

Instead of running "python install" for the additional packages, better use: "python bdist_rpm", and install the resulting noarch.rpm.

Roberto Alsina / 2006-04-03 05:31:

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 for this baby yet :-)

grayrest / 2006-04-03 05:31:

Neat app, reminds me of Leo ( but simpler and acts as a note taker rather than a full programming editor.

Roberto Alsina / 2006-04-03 05:32:

There´s also Treeline:

These things are much more ambitious and complex than Notty, though :-)

John P. Speno / 2006-04-03 05:33:

Nifty story!

Stewart Midwinter / 2006-04-03 06:27:

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...

Roberto Alsina / 2006-04-03 06:30:

Ok, late answer, but...

docutils.core comes from docutils :-)

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)

Contents © 2000-2020 Roberto Alsina