The Mathcad Worksheet Class COM object is a QAxObject with the CLSID .
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(__MIDL___MIDL_itf_automation_0262_0002)), object, SLOT(Close(__MIDL___MIDL_itf_automation_0262_0002)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("Close(__MIDL___MIDL_itf_automation_0262_0002)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(__MIDL___MIDL_itf_automation_0262_0005)), object, SLOT(GetOption(__MIDL___MIDL_itf_automation_0262_0005)));
Or call the function directly:
QVariantList params = ... QVariant result = object->dynamicCall("GetOption(__MIDL___MIDL_itf_automation_0262_0005)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(QString)), object, SLOT(GetValue(QString)));
Or call the function directly:
QVariantList params = ... QAxObject * result = object->querySubObject("GetValue(QString)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(PrintAll()));
Or call the function directly:
object->dynamicCall("PrintAll()");
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(Recalculate()));
Or call the function directly:
object->dynamicCall("Recalculate()");
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal()), object, SLOT(Save()));
Or call the function directly:
object->dynamicCall("Save()");
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(QString, __MIDL___MIDL_itf_automation_0262_0001)), object, SLOT(SaveAs(QString, __MIDL___MIDL_itf_automation_0262_0001)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SaveAs(QString, __MIDL___MIDL_itf_automation_0262_0001)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(__MIDL___MIDL_itf_automation_0262_0005, QVariant)), object, SLOT(SetOption(__MIDL___MIDL_itf_automation_0262_0005, QVariant)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetOption(__MIDL___MIDL_itf_automation_0262_0005, QVariant)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(QString, QVariant)), object, SLOT(SetValue(QString, QVariant)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetValue(QString, QVariant)", params);
Connect a slot to this signal:
QObject::connect(object, SIGNAL(Changed()), receiver, SLOT(someSlot()));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(Dirtied()), receiver, SLOT(someSlot()));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(Recalculated()), receiver, SLOT(someSlot()));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(exception(int, QString, QString, QString)), receiver, SLOT(someSlot(int, QString, QString, QString)));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(propertyChanged(QString)), receiver, SLOT(someSlot(QString)));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(signal(QString, int, void*)), receiver, SLOT(someSlot(QString, int, void*)));
Read this property's value using QObject::property:
QString val = object->property("objectName").toString();Set this property' value using QObject::setProperty:
QString newValue = ... object->setProperty("objectName", newValue);Or using the setObjectName slot.
Read this property's value using QObject::property:
IDispatch* val = object->property("Application").toIDispatch*();
Read this property's value using QObject::property:
QString val = object->property("FullName").toString();
Read this property's value using QObject::property:
bool val = object->property("IsOpen").toBool();
Read this property's value using QObject::property:
IDispatch* val = object->property("Metadata").toIDispatch*();
Read this property's value using QObject::property:
QString val = object->property("Name").toString();
Read this property's value using QObject::property:
bool val = object->property("NeedsSave").toBool();
Read this property's value using QObject::property:
IDispatch* val = object->property("Parent").toIDispatch*();
Read this property's value using QObject::property:
QString val = object->property("Path").toString();
Read this property's value using QObject::property:
IDispatch* val = object->property("Regions").toIDispatch*();
This property is of an unsupported type.
Read this property's value using QObject::property:
IDispatch* val = object->property("Windows").toIDispatch*();
Read this property's value using QObject::property:
QString val = object->property("control").toString();Set this property' value using QObject::setProperty:
QString newValue = ... object->setProperty("control", newValue);Or using the setControl slot.