Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void JobDependenciesDelegate::updateEditorGeometry(QWidget * a_pEditor,
- const QStyleOptionViewItem & a_option, const QModelIndex & a_index) const
- {
- (void)a_index;
- QListWidget * pListWidget = qobject_cast<QListWidget *>(a_pEditor);
- if(!pListWidget)
- return;
- QPoint origin = a_option.widget->mapToGlobal(a_option.rect.topLeft());
- pListWidget->move(origin);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement