Thursday, April 1, 2010

started learning QT again, it is a really neat framework, the signal and slot design is so handy. In java, we normally use listener or handler, I can not tell which way is better since I am not a pro in c++, but what I can tell is, with QT, I can create a nice desktop App with a lot of nice functions easily, and it got webkit, which is clearly a better solution than other java solutions I know.
Again, I am still a java developer, so I just quickly went through the application level tutorial and won't go deep into C++. So what's next? I am creating a mini browser. I am working on a web project which will have a windows like UI, with this mini browser(without any decoration) , the combination will grant end user the best experience. and it will support functions like minimize to system tray, auto starts when windows starts, etc.
I just solved a issue about web page painting. My projects normally work for government department. government likes reports right? Painting functionality is crucial for them. the solution is simple, with less than 10 lines code about QPrintPreviewDialog and QWebPage::printRequested, now the inner js can call windows.print() as usual.