i had tried:
MyDelegate *delegate = new MyDelegate;
someView->setItemDelegate(delegaare);
connect(delegate, SIGNAL(delegate's signal()),
someWidget, SLOT(someWidget's slot()));
in MyDelegate implementation:
MyDelegate::createEditor(..)
{
//after create the editor
connect (editor, SIGNAL(editor's signal()), this, SLOT(delegate's slot()));
}
MyDelegate::delegate's slot()
{
emit delegate's signal();
}
it makes troubles when being used, however, it works.
Bookmarks