The Mathcad Application Class COM object is a QAxObject with the CLSID {94fbbd40-e791-4e8c-8f21-fa7a724654da}.
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(__MIDL___MIDL_itf_automation_0262_0002)), object, SLOT(CloseAll(__MIDL___MIDL_itf_automation_0262_0002)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("CloseAll(__MIDL___MIDL_itf_automation_0262_0002)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(QString)), object, SLOT(GetIntProperty(QString)));
Or call the function directly:
QVariantList params = ... int result = object->dynamicCall("GetIntProperty(QString)", params).toInt();
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(__MIDL___MIDL_itf_automation_0262_0006)), object, SLOT(GetOption(__MIDL___MIDL_itf_automation_0262_0006)));
Or call the function directly:
QVariantList params = ... QVariant result = object->dynamicCall("GetOption(__MIDL___MIDL_itf_automation_0262_0006)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(QString)), object, SLOT(GetStringProperty(QString)));
Or call the function directly:
QVariantList params = ... QString result = object->dynamicCall("GetStringProperty(QString)", params).toString();
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(__MIDL___MIDL_itf_automation_0262_0002)), object, SLOT(Quit(__MIDL___MIDL_itf_automation_0262_0002)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("Quit(__MIDL___MIDL_itf_automation_0262_0002)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(bool)), object, SLOT(SetActive(bool)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetActive(bool)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(QString)), object, SLOT(SetDefaultFilePath(QString)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetDefaultFilePath(QString)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(int)), object, SLOT(SetHeight(int)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetHeight(int)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(int)), object, SLOT(SetLeft(int)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetLeft(int)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(__MIDL___MIDL_itf_automation_0262_0006, QVariant)), object, SLOT(SetOption(__MIDL___MIDL_itf_automation_0262_0006, QVariant)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetOption(__MIDL___MIDL_itf_automation_0262_0006, QVariant)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(int)), object, SLOT(SetTop(int)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetTop(int)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(bool)), object, SLOT(SetVisible(bool)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetVisible(bool)", params);
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(int)), object, SLOT(SetWidth(int)));
Or call the function directly:
QVariantList params = ... object->dynamicCall("SetWidth(int)", params);
Connect a slot to this signal:
QObject::connect(object, SIGNAL(Idle()), receiver, SLOT(someSlot()));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(Quit()), receiver, SLOT(someSlot()));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(WindowActivated(IDispatch*)), receiver, SLOT(someSlot(IDispatch*)));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(WindowDeactivated(IDispatch*)), receiver, SLOT(someSlot(IDispatch*)));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(WorksheetClosed(IDispatch*)), receiver, SLOT(someSlot(IDispatch*)));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(WorksheetClosing(IDispatch*)), receiver, SLOT(someSlot(IDispatch*)));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(WorksheetOpened(IDispatch*)), receiver, SLOT(someSlot(IDispatch*)));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(WorksheetSaved(IDispatch*)), receiver, SLOT(someSlot(IDispatch*)));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(WorksheetSaving(IDispatch*)), receiver, SLOT(someSlot(IDispatch*)));
Connect a slot to this signal:
QObject::connect(object, SIGNAL(WorksheetSavingByAutomation(IDispatch*)), receiver, SLOT(someSlot(IDispatch*)));
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:
bool val = object->property("Active").toBool();Set this property' value using QObject::setProperty:
bool newValue = ... object->setProperty("Active", newValue);Or using the SetActive slot.
Read this property's value using QObject::property:
IDispatch* val = object->property("ActiveWindow").toIDispatch*();
Read this property's value using QObject::property:
IDispatch* val = object->property("ActiveWorksheet").toIDispatch*();
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("DefaultFilePath").toString();Set this property' value using QObject::setProperty:
QString newValue = ... object->setProperty("DefaultFilePath", newValue);Or using the SetDefaultFilePath slot.
Read this property's value using QObject::property:
QString val = object->property("FullName").toString();
Read this property's value using QObject::property:
int val = object->property("HWND").toInt();
Read this property's value using QObject::property:
int val = object->property("Height").toInt();Set this property' value using QObject::setProperty:
int newValue = ... object->setProperty("Height", newValue);Or using the SetHeight slot.
Read this property's value using QObject::property:
int val = object->property("Left").toInt();Set this property' value using QObject::setProperty:
int newValue = ... object->setProperty("Left", newValue);Or using the SetLeft slot.
Read this property's value using QObject::property:
QString val = object->property("Name").toString();
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:
int val = object->property("Top").toInt();Set this property' value using QObject::setProperty:
int newValue = ... object->setProperty("Top", newValue);Or using the SetTop slot.
Read this property's value using QObject::property:
QString val = object->property("Version").toString();
Read this property's value using QObject::property:
bool val = object->property("Visible").toBool();Set this property' value using QObject::setProperty:
bool newValue = ... object->setProperty("Visible", newValue);Or using the SetVisible slot.
Read this property's value using QObject::property:
int val = object->property("Width").toInt();Set this property' value using QObject::setProperty:
int newValue = ... object->setProperty("Width", newValue);Or using the SetWidth slot.
Read this property's value using QObject::property:
IDispatch* val = object->property("Windows").toIDispatch*();
Read this property's value using QObject::property:
IDispatch* val = object->property("Worksheets").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.