Quantcast
Channel: QtWebEngine
Viewing all articles
Browse latest Browse all 13965

many nested QFrame widgets render somewhat slow

$
0
0
I’m writing some code which will display a threaded conversation. There are many nested QFrames, each reply is a child of the previous post’s QFrame. This is as a mockup of what I am doing !http://i.imgur.com/1NIFEqZ.png()! The code to generate the widgets is fast, I watch in the console/qDebug output for when the recursion into the conversation begins and when it stops and that part is fast, but then it takes a few seconds for the QFrames and other controls to render/show up. There are about 200 posts in the discussion thread I’m testing. The slowness is fairly tolerable, but, I am duplicating something which is already done on the web, and the same thing renders faster there! The point of Qt was to have a fast local app. hehe But to reiterate, the code which generates the QFrames is fast. but there is a delay from when that code finishes until the controls actually show up. Is there anything I can do do speed this up? Would using the tree view with a custom delegate be better? (The only reason I didn’t is because I don’t know how). Thank You!

Viewing all articles
Browse latest Browse all 13965

Latest Images

Trending Articles



Latest Images