On Samstag, 9. Juli 2016 23:31:19 CEST swarit wipra wrote: > Hi folks, > > i have issues in showing huge data in QTableView ,data read from sqlite > database which is being updated dynamically .. 2k rows in 2s. > i am using QSQLRelationModel > let me describe the scenario in detail. > > My Qt application has a view i.e QTableView , each row has following > structure: > > **************************************** > *QPushButton*|QLabel | QLabel | QLabel * > **************************************** > i have created it using QItemDelegate > > each row isinserted dynamicaly , after sometime gui gets freezed. > > could anyone tell me the way to fix the issue.
Profile the code, find the hotspot, fix it. From the above, it becomes clear already that you should not be using QLabel for plain text delegates but rather the default delegate. Bye -- Milian Wolff | [email protected] | Software Engineer KDAB (Deutschland) GmbH&Co KG, a KDAB Group company Tel: +49-30-521325470 KDAB - The Qt Experts
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ Development mailing list [email protected] http://lists.qt-project.org/mailman/listinfo/development
