sophister
2nd May 2009, 08:19
Hi to all:
I use a QGridLayout in my QMainWindow, and have added some QToolButtons into it. But when I delete some QToolButtons in another dialog, the QGridLayout don't update itself. What's worse, even if I call the QGridLayout::update(), it still show part of the QToolButtons that have been deleted!!
why??
I use a QGridLayout in my QMainWindow, and have added some QToolButtons into it. But when I delete some QToolButtons in another dialog, the QGridLayout don't update itself. What's worse, even if I call the QGridLayout::update(), it still show part of the QToolButtons that have been deleted!!
why??