I was doing embedded and mobile for many years. But I head a dream. One day I would be able to deploy my application (for learning languages) to a handheld device so people can use it in public transport. I am working now on a mobile port. My dream will become true very soon.
Excuse me so much for (three exclamation points).I dont want to hurt you.
Thanks for your forgiveness..
[quote author="Andre" date="1309164380"][quote author="maxoreli" date="1309163670"]I ask you if the preview code on QTableWidgetItems is correct for best performance!!!
First of all, there is no need to scream at me (three exclamation points). I'm trying to help you, free of charge, but I'll only do that as long as I think it is fun to do so. Getting shouted at does not qualify as fun for me.
Second, I don't get which part of your code you are referring to with "preview code". Do you mean the FormdP0j_Poj::setupContents() code you posted above?
In that case: I guess this is not optimal, no. One obvious thing is, is that you are setting the progress dialog label over and over again. Much worse is, that you modify data in the view on every iteration. That means re-draws, and thus slowdowns. You need to look at using something different than QTableWidget for your viewing needs. Why don't you just store your data in a QVector (or something like that), and create your own QAbstractTableModel-based model class on top of that. Then, you can manipulate the data in a very efficient way, and only after processing, you construct a model to use in visualization on top of it. That would lead to only a single UI update, instead of many. [/quote]
andre, oh yes many politicians do play to mass mania at times here and we've seen some weird rules come and go :) .... utlimately the API will still be in english, its only the relevant docs that could be translated. reading is far easier than actually understanding what you have read. well one could argue on that ...
hey the whole thing could be much easier as soon as say a google translator is available for kannada.. i know it already supports hindi :) but it being fully accurate is not something I would bank upon :P