void TransferFunctionPropertyDialog::moveEvent(QMoveEvent* event) { ivec2 pos = ivec2(event->pos().x(), event->pos().y()); moveEditor(pos); if (isFloating() && !(getEditorDockStatus()==PropertyEditorWidgetDockStatus::Floating)) setDockStatus(PropertyEditorWidgetDockStatus::Floating); QWidget::moveEvent(event); }
void PropertyEditor::slotCollapsed(QListViewItem *item) { if (!item) return; moveEditor(); }
void PropertyEditor::slotExpanded(QListViewItem *item) { if (!item) return; moveEditor(); }