@ -576,6 +576,7 @@ void CSVRender::WorldspaceWidget::debugProfileAboutToBeRemoved (const QModelInde
void CSVRender::WorldspaceWidget::editModeChanged (const std::string& id)
{
dynamic_cast<CSVRender::EditMode&> (*mEditMode->getCurrent()).setEditLock (mLocked);
mDragging = false;
mDragMode = InteractionType_None;
}
@ -134,15 +134,6 @@ void CSVWidget::SceneToolMode::setButton (const std::string& id)
void CSVWidget::SceneToolMode::mouseReleaseEvent (QMouseEvent *event)
if (getType()==Type_TopAction && event->button()==Qt::RightButton)
showPanel (parentWidget()->mapToGlobal (pos()));
else
PushButton::mouseReleaseEvent (event);
bool CSVWidget::SceneToolMode::event(QEvent* event)
if (event->type() == QEvent::ToolTip)
@ -44,8 +44,6 @@ namespace CSVWidget
void setButton (std::map<ModeButton *, std::string>::iterator iter);
void mouseReleaseEvent (QMouseEvent *event);
protected:
bool event(QEvent* event);