예제 #1
0
void PropertyWidget::slotAccept()
{
	// generate a focus out event for the child windows
	if (!hasFocus())
		setFocus();
		
	acceptPressed();
	emit signalAccept();
}
int gui::NodeEditorDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: acceptPressed(); break;
        case 1: rejectPressed(); break;
        case 2: isActive((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
        _id -= 3;
    }
    return _id;
}
int gui::midiEffecteditdialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: dataChanged(); break;
        case 1: acceptPressed(); break;
        case 2: rejectPressed(); break;
        default: ;
        }
        _id -= 3;
    }
    return _id;
}
int gui::QuadEditorDialog::qt_metacall(QMetaObject::Call _c, int _id, void **_a)
{
    _id = QWidget::qt_metacall(_c, _id, _a);
    if (_id < 0)
        return _id;
    if (_c == QMetaObject::InvokeMetaMethod) {
        switch (_id) {
        case 0: acceptPressed(); break;
        case 1: rejectPressed(); break;
        case 2: x0ValueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 3: y0ValueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 4: x1ValueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 5: y1ValueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 6: x2ValueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 7: y2ValueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 8: x3ValueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 9: y3ValueChanged((*reinterpret_cast< double(*)>(_a[1]))); break;
        case 10: enabledChanged((*reinterpret_cast< bool(*)>(_a[1]))); break;
        default: ;
        }
        _id -= 11;
    }
    return _id;
}