View Full Version : QPushButton and QItemDelegate
sawerset
21st May 2009, 21:28
I want to create a QItemDelegate for a QTableWidget that draws some text and a QPushButton. How it can be done?
wysota
21st May 2009, 22:13
Drawing text is easy so you probably know how to do it. Drawing a button is not much harder. Use QStyle API for that, for example QStyle::drawControl with CE_PushButton.
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.