Reference
The COM object is a QAxObject with the CLSID .
Interfaces
Event Interfaces
Public Slots:
- IMathcadRegion* Item(QVariant index = 0);
Signals:
- void exception(int code, QString source, QString disc, QString help);
- void propertyChanged(QString name);
- void signal(QString name, int argc, void* argv);
Properties:
Member Type Documentation
__MIDL___MIDL_itf_automation_0262_0001
- mcDefaultFormat =0
- mcPromptUser =1
- mcMathML =2
- mcHtml =3
- mcMcad6 =4
- mcMcad7 =5
- mcMcad8 =6
- mcMcad2000 =7
- mcMcad2001 =8
- mcMcadCurrentVersion =9
- mcTemplate =10
- mcMcad2001i =11
- mcMcad12 =12
- mcXMCD12 =13
- mcXMCDZ12 =14
- mcXMCT =15
- mcRTF =16
- mcMcad11 =17
- mcXMCD13 =18
- mcXMCDZ13 =19
- mcXMCD14 =20
- mcXMCDZ14 =21
- mcPDF =22
- mcXMCD =20
- mcXMCDZ =21
- mcMCDX =23
__MIDL___MIDL_itf_automation_0262_0002
- mcSaveChanges =0
- mcPromptToSaveChanges =1
- mcDiscardChanges =2
__MIDL___MIDL_itf_automation_0262_0003
- mcMaximized =0
- mcMinimized =1
- mcNormal =2
__MIDL___MIDL_itf_automation_0262_0004
- mcTextRegion =0
- mcMathRegion =1
- mcBitmapRegion =2
- mcMetafileRegion =3
- mcOLERegion =4
- mcIncludeRegion =5
__MIDL___MIDL_itf_automation_0262_0005
__MIDL___MIDL_itf_automation_0262_0006
__MIDL___MIDL_itf_automation_0262_0007
- mcCMTText =0
- mcCMTDate =1
- mcCMTNumber =2
- mcCMTYesNo =3
Member Function Documentation
IMathcadRegion* Item (QVariant index) [slot]
Connect a signal to this slot:
QObject::connect(sender, SIGNAL(someSignal(QVariant)), object, SLOT(Item(QVariant)));
Or call the function directly:
QVariantList params = ...
IMathcadRegion* result = object->dynamicCall("Item(QVariant)", params).toInt();
void exception (int code, QString source, QString disc, QString help) [signal]
Connect a slot to this signal:
QObject::connect(object, SIGNAL(exception(int, QString, QString, QString)), receiver, SLOT(someSlot(int, QString, QString, QString)));
void propertyChanged (QString name) [signal]
Connect a slot to this signal:
QObject::connect(object, SIGNAL(propertyChanged(QString)), receiver, SLOT(someSlot(QString)));
void signal (QString name, int argc, void* argv) [signal]
Connect a slot to this signal:
QObject::connect(object, SIGNAL(signal(QString, int, void*)), receiver, SLOT(someSlot(QString, int, void*)));
Property Documentation
QString objectName
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.
int Count
Read this property's value using QObject::property:
int val = object->property("Count").toInt();
IUnknown* _NewEnum
Read this property's value using QObject::property:
IUnknown* val = object->property("_NewEnum").toIUnknown*();
QString control
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.