View Full Version : Preventing display spinbox in tableview cells
alizadeh91
27th December 2012, 16:09
Creating QTableView use predefined QSpinBox sometimes when the data which is passed to tableview is double or int!!! How to prevent this?
alizadeh91
28th December 2012, 05:56
I'm using custom proxy model for tableview and just don't want to let tableview show spinbox. How can i do that? Do i have to write custom delegate for table?
wysota
30th December 2012, 11:48
You can disable editing in the view by setting NoTriggers as edit triggers or by disallowing editing in the model.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.