예제 #1
0
QVariant BaseTableView::itemChange(GraphicsItemChange change, const QVariant &value)
{
	BaseObjectView::itemChange(change, value);

	if(change==ItemPositionHasChanged)
		emit s_objectMoved();

	return(value);
}
예제 #2
0
QVariant BaseTableView::itemChange(GraphicsItemChange change, const QVariant &value)
{
	if(change==ItemSelectedHasChanged)
	{
		this->setToolTip(this->table_tooltip);
		BaseObjectView::configureObjectSelection();
	}

	if(change==ItemPositionHasChanged)
		emit s_objectMoved();

	BaseObjectView::itemChange(change, value);

	return(value);
}