Hello,
I'm trying to write a hex editor (or better, converting my win32 one to Qt). I'm using a QPixmap which needs often to be refreshed (imagine only the scrolling) the pixmap is later on painted (drawPixmap) to the widget. The problem is that it's terribly slow, really not acceptable. I would think that I'm doing something wrong, but lfhex when compiled is exactly just as slow (I compiled it on windows). The problem seems to be related to drawText, which seems to be the slow function. This is really a problem, since the scrolling acts way too slow, just like in lfhex. I hope I can work this out, otherwise I'm in serious trouble.
I even tried to avoid the pixmap approach and paint directly (lfhex does the same, without success) and it didn't change anything.
Could anyone please help me?
Thanks in advance