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);
}
예제 #2
0
void PropertyEditor::slotCollapsed(QListViewItem *item) {
    if (!item) return;

    moveEditor();
}
예제 #3
0
void PropertyEditor::slotExpanded(QListViewItem *item) {
    if (!item) return;

    moveEditor();
}