chandan
15th February 2011, 10:26
Hi Everyone,
I am using a customised widget which contains 2 QPushButton and I have added that customised widget as a QTreeView item using setIndexWidget method. Now when I select the empty spaces in the customised widget I receive the signal
clicked ( QModelIndex ). But if I click on the QPushButton which is there in the customised widget dont give me any clicked ( QModelIndex ) signal, however I am receiving the normal clicked() signal for the QPushButton. Is there anyway to get the clicked(QModelIndex) signal clicking this QPushButton in the cutomised widget?
Any help will be appreciated.
Thanks.
Chandan
I am using a customised widget which contains 2 QPushButton and I have added that customised widget as a QTreeView item using setIndexWidget method. Now when I select the empty spaces in the customised widget I receive the signal
clicked ( QModelIndex ). But if I click on the QPushButton which is there in the customised widget dont give me any clicked ( QModelIndex ) signal, however I am receiving the normal clicked() signal for the QPushButton. Is there anyway to get the clicked(QModelIndex) signal clicking this QPushButton in the cutomised widget?
Any help will be appreciated.
Thanks.
Chandan