From: Alexander Kellett Date: 2005-02-28T00:46:01+09:00 Subject: Re: Thanks, Bugs, and Observations re. KDE Tutorial (was Re: Simple HTML Renderer / Browser?) concealed at the bottom of http://developer.kde.org/language-bindings/ruby/kde3tutorial/p9.html is the following: > > > > &File > > > > > > > > > > i suppose a tarball with the entire example would be really useful for people that just like looking at code :) (e.g, me ;)) i guess richard can commit the additional ) fix in the near future. i forgot my cvs password :P strange that its so slow. my 2000-ish line application (rubberdoc) only takes a second or so to start here. widget creation should be basically instantaneous. (note, i don't have a fast computer) did u just try running once? second time load should be *much* faster. the bindings library is fairly big unfortunately as its the only way to allow for subclassing as gcc doesn't provide anything useful :( qt also has a rich text view. subset html. not sure if thats useful enough :) see: http://doc.trolltech.com/3.3/qtextbrowser.html Alex On Feb 27, 2005, at 4:26 PM, Randy Kramer wrote: > On Saturday 26 February 2005 02:39 pm, you wrote: >> next time use a distribution with a prebuilt package :) >> (we simply don't have the man power to build these ourselves, >> too many distributions too little time :( ) > > Thanks: > > Just wanted to come back and thank Alexander Kellet again for pointing > me to > the Ruby/Qt/KDE tutorial at > http://developer.kde.org/language-bindings/ruby/kde3tutorial/ > index.html it is > very helpful. Thanks also to the authors of the tutorial . (So far > I've > mostly just copied and pasted the code to run the examples, now I need > to go > back and understand them. ;-) > > Bugs: > > I did run into a few bugs (iiuc) in the 9th example program > (http://developer.kde.org/language-bindings/ruby/kde3tutorial/p9.html): > > * First of all, in the line: > > "Original Developer/Mantainer"),"larrosa@kde.org", > > the ) is not required (and it should be Maintainer)--this created the > error > message: > > bash-2.05b$ ./p9.rb:96: syntax error > "Original Developer/Mantainer"),"larrosa@kde.org", > ^ > > (Caret doesn't show in proper place except in a fixed width font.) > > * Even after fixing that line, I get the error: > > kparts: ERROR: No such XML file /home/rhk/work/ruby/qt/p9ui.rc > > I haven't spent much time looking for the problem, maybe it is a BKAC > error--maybe I am supposed to create that file? > > I probably won't pursue this for a few days, so I thought I'd mention > thosse > things. > > Observations: > > I am going to continue to look for some lighter weight HTML widgets. > (I do > like the khtml rendering, and I like the signal / slot communication > method > (vs. callbacks), but most of the widgets take 4 to 7 seconds to appear > on my > screen. (Some of that may be general program startup overhead, maybe > creating a 2nd similar widget will not take nearly as long, but I > would think > there are some lighter weight alternatives. All I have to do is find > some > simple Ruby examples for using them. > > regards, > Randy Kramer