├── .gitattributes ├── README.md ├── qtbrowserplugin ├── INSTALL.TXT ├── README.TXT ├── configure ├── configure.bat ├── doc │ ├── html │ │ ├── classic.css │ │ ├── developingplugins.html │ │ ├── images │ │ │ └── qt-logo.png │ │ ├── index.html │ │ ├── qtbrowserplugin-example-grapher.html │ │ ├── qtbrowserplugin-example-scripting.html │ │ ├── qtbrowserplugin-example-trivial.html │ │ ├── qtbrowserplugin.dcf │ │ ├── qtbrowserplugin.index │ │ ├── qtbrowserplugin.qhp │ │ ├── qtnpbindable-members.html │ │ ├── qtnpbindable.html │ │ ├── qtnpfactory-members.html │ │ └── qtnpfactory.html │ ├── images │ │ └── qt-logo.png │ ├── index.qdoc │ └── qtbrowserplugin.qdoc ├── examples │ ├── examples.pro │ ├── grapher │ │ ├── Info.plist │ │ ├── graph.g1n │ │ ├── grapher.cpp │ │ ├── grapher.pro │ │ ├── grapher.qdoc │ │ ├── grapher.r │ │ └── grapher.rc │ └── trivial │ │ ├── Info.plist │ │ ├── scripting.qdoc │ │ ├── trivial.cpp │ │ ├── trivial.pro │ │ ├── trivial.qdoc │ │ ├── trivial.r │ │ └── trivial.rc ├── qtbrowserplugin.pro └── src │ ├── qtbrowserplugin.cpp │ ├── qtbrowserplugin.def │ ├── qtbrowserplugin.h │ ├── qtbrowserplugin.pri │ ├── qtbrowserplugin_mac.cpp │ ├── qtbrowserplugin_p.h │ ├── qtbrowserplugin_win.cpp │ ├── qtbrowserplugin_x11.cpp │ ├── qtbrowserpluginax.def │ └── qtnpapi.h ├── qtlockedfile ├── INSTALL.TXT ├── README.TXT ├── buildlib │ └── buildlib.pro ├── common.pri ├── configure ├── configure.bat ├── doc │ ├── html │ │ ├── classic.css │ │ ├── images │ │ │ └── qt-logo.png │ │ ├── index.html │ │ ├── qtlockedfile-members.html │ │ ├── qtlockedfile.dcf │ │ ├── qtlockedfile.html │ │ ├── qtlockedfile.index │ │ └── qtlockedfile.qhp │ ├── images │ │ └── qt-logo.png │ └── index.qdoc ├── example │ ├── example.cpp │ └── example.pro ├── qtlockedfile.pro └── src │ ├── QtLockedFile │ ├── qtlockedfile.cpp │ ├── qtlockedfile.h │ ├── qtlockedfile.pri │ ├── qtlockedfile_unix.cpp │ └── qtlockedfile_win.cpp ├── qtpropertybrowser ├── INSTALL.TXT ├── README.TXT ├── buildlib │ └── buildlib.pro ├── common.pri ├── configure ├── configure.bat ├── doc │ ├── html │ │ ├── classic.css │ │ ├── images │ │ │ ├── canvas_typed.png │ │ │ ├── canvas_variant.png │ │ │ ├── decoration.png │ │ │ ├── demo.png │ │ │ ├── extension.png │ │ │ ├── object_controller.png │ │ │ ├── qt-logo.png │ │ │ ├── qtbuttonpropertybrowser.png │ │ │ ├── qtgroupboxpropertybrowser.png │ │ │ ├── qtpropertybrowser-duplicate.png │ │ │ ├── qtpropertybrowser.png │ │ │ ├── qttreepropertybrowser.png │ │ │ └── simple.png │ │ ├── index.html │ │ ├── qtabstracteditorfactory-members.html │ │ ├── qtabstracteditorfactory.html │ │ ├── qtabstracteditorfactorybase-members.html │ │ ├── qtabstracteditorfactorybase.html │ │ ├── qtabstractpropertybrowser-members.html │ │ ├── qtabstractpropertybrowser.html │ │ ├── qtabstractpropertymanager-members.html │ │ ├── qtabstractpropertymanager.html │ │ ├── qtboolpropertymanager-members.html │ │ ├── qtboolpropertymanager.html │ │ ├── qtbrowseritem-members.html │ │ ├── qtbrowseritem.html │ │ ├── qtbuttonpropertybrowser-members.html │ │ ├── qtbuttonpropertybrowser.html │ │ ├── qtchareditorfactory-members.html │ │ ├── qtchareditorfactory.html │ │ ├── qtcharpropertymanager-members.html │ │ ├── qtcharpropertymanager.html │ │ ├── qtcheckboxfactory-members.html │ │ ├── qtcheckboxfactory.html │ │ ├── qtcoloreditorfactory-members.html │ │ ├── qtcoloreditorfactory.html │ │ ├── qtcolorpropertymanager-members.html │ │ ├── qtcolorpropertymanager.html │ │ ├── qtcursoreditorfactory-members.html │ │ ├── qtcursoreditorfactory.html │ │ ├── qtcursorpropertymanager-members.html │ │ ├── qtcursorpropertymanager.html │ │ ├── qtdateeditfactory-members.html │ │ ├── qtdateeditfactory.html │ │ ├── qtdatepropertymanager-members.html │ │ ├── qtdatepropertymanager.html │ │ ├── qtdatetimeeditfactory-members.html │ │ ├── qtdatetimeeditfactory.html │ │ ├── qtdatetimepropertymanager-members.html │ │ ├── qtdatetimepropertymanager.html │ │ ├── qtdoublepropertymanager-members.html │ │ ├── qtdoublepropertymanager.html │ │ ├── qtdoublespinboxfactory-members.html │ │ ├── qtdoublespinboxfactory.html │ │ ├── qtenumeditorfactory-members.html │ │ ├── qtenumeditorfactory.html │ │ ├── qtenumpropertymanager-members.html │ │ ├── qtenumpropertymanager.html │ │ ├── qtflagpropertymanager-members.html │ │ ├── qtflagpropertymanager.html │ │ ├── qtfonteditorfactory-members.html │ │ ├── qtfonteditorfactory.html │ │ ├── qtfontpropertymanager-members.html │ │ ├── qtfontpropertymanager.html │ │ ├── qtgroupboxpropertybrowser-members.html │ │ ├── qtgroupboxpropertybrowser.html │ │ ├── qtgrouppropertymanager-members.html │ │ ├── qtgrouppropertymanager.html │ │ ├── qtintpropertymanager-members.html │ │ ├── qtintpropertymanager.html │ │ ├── qtkeysequenceeditorfactory-members.html │ │ ├── qtkeysequenceeditorfactory.html │ │ ├── qtkeysequencepropertymanager-members.html │ │ ├── qtkeysequencepropertymanager.html │ │ ├── qtlineeditfactory-members.html │ │ ├── qtlineeditfactory.html │ │ ├── qtlocalepropertymanager-members.html │ │ ├── qtlocalepropertymanager.html │ │ ├── qtpointfpropertymanager-members.html │ │ ├── qtpointfpropertymanager.html │ │ ├── qtpointpropertymanager-members.html │ │ ├── qtpointpropertymanager.html │ │ ├── qtproperty-members.html │ │ ├── qtproperty.html │ │ ├── qtpropertybrowser-example-canvas-typed.html │ │ ├── qtpropertybrowser-example-canvas-variant.html │ │ ├── qtpropertybrowser-example-decoration.html │ │ ├── qtpropertybrowser-example-demo.html │ │ ├── qtpropertybrowser-example-extension.html │ │ ├── qtpropertybrowser-example-object-controller.html │ │ ├── qtpropertybrowser-example-simple.html │ │ ├── qtpropertybrowser.dcf │ │ ├── qtpropertybrowser.index │ │ ├── qtpropertybrowser.qhp │ │ ├── qtrectfpropertymanager-members.html │ │ ├── qtrectfpropertymanager.html │ │ ├── qtrectpropertymanager-members.html │ │ ├── qtrectpropertymanager.html │ │ ├── qtscrollbarfactory-members.html │ │ ├── qtscrollbarfactory.html │ │ ├── qtsizefpropertymanager-members.html │ │ ├── qtsizefpropertymanager.html │ │ ├── qtsizepolicypropertymanager-members.html │ │ ├── qtsizepolicypropertymanager.html │ │ ├── qtsizepropertymanager-members.html │ │ ├── qtsizepropertymanager.html │ │ ├── qtsliderfactory-members.html │ │ ├── qtsliderfactory.html │ │ ├── qtspinboxfactory-members.html │ │ ├── qtspinboxfactory.html │ │ ├── qtstringpropertymanager-members.html │ │ ├── qtstringpropertymanager.html │ │ ├── qttimeeditfactory-members.html │ │ ├── qttimeeditfactory.html │ │ ├── qttimepropertymanager-members.html │ │ ├── qttimepropertymanager.html │ │ ├── qttreepropertybrowser-members.html │ │ ├── qttreepropertybrowser.html │ │ ├── qtvarianteditorfactory-members.html │ │ ├── qtvarianteditorfactory.html │ │ ├── qtvariantproperty-members.html │ │ ├── qtvariantproperty.html │ │ ├── qtvariantpropertymanager-members.html │ │ └── qtvariantpropertymanager.html │ ├── images │ │ ├── canvas_typed.png │ │ ├── canvas_variant.png │ │ ├── decoration.png │ │ ├── demo.png │ │ ├── extension.png │ │ ├── object_controller.png │ │ ├── qt-logo.png │ │ ├── qtbuttonpropertybrowser.png │ │ ├── qtgroupboxpropertybrowser.png │ │ ├── qtpropertybrowser-duplicate.png │ │ ├── qtpropertybrowser.png │ │ ├── qttreepropertybrowser.png │ │ └── simple.png │ └── index.qdoc ├── examples │ ├── canvas_typed │ │ ├── canvas_typed.pro │ │ ├── canvas_typed.qdoc │ │ ├── main.cpp │ │ ├── mainwindow.cpp │ │ ├── mainwindow.h │ │ ├── qtcanvas.cpp │ │ └── qtcanvas.h │ ├── canvas_variant │ │ ├── canvas_variant.pro │ │ ├── canvas_variant.qdoc │ │ ├── main.cpp │ │ ├── mainwindow.cpp │ │ ├── mainwindow.h │ │ ├── qtcanvas.cpp │ │ └── qtcanvas.h │ ├── decoration │ │ ├── decoration.pro │ │ ├── decoration.qdoc │ │ └── main.cpp │ ├── demo │ │ ├── demo.pro │ │ ├── demo.qdoc │ │ ├── demo.qrc │ │ ├── images │ │ │ ├── down.png │ │ │ ├── left.png │ │ │ ├── right.png │ │ │ └── up.png │ │ └── main.cpp │ ├── examples.pro │ ├── extension │ │ ├── extension.pro │ │ ├── extension.qdoc │ │ └── main.cpp │ ├── object_controller │ │ ├── main.cpp │ │ ├── object_controller.pro │ │ ├── object_controller.qdoc │ │ ├── objectcontroller.cpp │ │ └── objectcontroller.h │ └── simple │ │ ├── main.cpp │ │ ├── simple.pro │ │ └── simple.qdoc ├── qtpropertybrowser.pro └── src │ ├── QtAbstractEditorFactoryBase │ ├── QtAbstractPropertyBrowser │ ├── QtAbstractPropertyManager │ ├── QtBoolPropertyManager │ ├── QtBrowserItem │ ├── QtButtonPropertyBrowser │ ├── QtCharEditorFactory │ ├── QtCharPropertyManager │ ├── QtCheckBoxFactory │ ├── QtColorEditorFactory │ ├── QtColorPropertyManager │ ├── QtCursorEditorFactory │ ├── QtCursorPropertyManager │ ├── QtDateEditFactory │ ├── QtDatePropertyManager │ ├── QtDateTimeEditFactory │ ├── QtDateTimePropertyManager │ ├── QtDoublePropertyManager │ ├── QtDoubleSpinBoxFactory │ ├── QtEnumEditorFactory │ ├── QtEnumPropertyManager │ ├── QtFlagPropertyManager │ ├── QtFontEditorFactory │ ├── QtFontPropertyManager │ ├── QtGroupBoxPropertyBrowser │ ├── QtGroupPropertyManager │ ├── QtIntPropertyManager │ ├── QtKeySequenceEditorFactory │ ├── QtKeySequencePropertyManager │ ├── QtLineEditFactory │ ├── QtLocalePropertyManager │ ├── QtPointFPropertyManager │ ├── QtPointPropertyManager │ ├── QtProperty │ ├── QtRectFPropertyManager │ ├── QtRectPropertyManager │ ├── QtScrollBarFactory │ ├── QtSizeFPropertyManager │ ├── QtSizePolicyPropertyManager │ ├── QtSizePropertyManager │ ├── QtSliderFactory │ ├── QtSpinBoxFactory │ ├── QtStringPropertyManager │ ├── QtTimeEditFactory │ ├── QtTimePropertyManager │ ├── QtTreePropertyBrowser │ ├── QtVariantEditorFactory │ ├── QtVariantProperty │ ├── QtVariantPropertyManager │ ├── images │ ├── cursor-arrow.png │ ├── cursor-busy.png │ ├── cursor-closedhand.png │ ├── cursor-cross.png │ ├── cursor-forbidden.png │ ├── cursor-hand.png │ ├── cursor-hsplit.png │ ├── cursor-ibeam.png │ ├── cursor-openhand.png │ ├── cursor-sizeall.png │ ├── cursor-sizeb.png │ ├── cursor-sizef.png │ ├── cursor-sizeh.png │ ├── cursor-sizev.png │ ├── cursor-uparrow.png │ ├── cursor-vsplit.png │ ├── cursor-wait.png │ └── cursor-whatsthis.png │ ├── qtbuttonpropertybrowser.cpp │ ├── qtbuttonpropertybrowser.h │ ├── qteditorfactory.cpp │ ├── qteditorfactory.h │ ├── qtgroupboxpropertybrowser.cpp │ ├── qtgroupboxpropertybrowser.h │ ├── qtpropertybrowser.cpp │ ├── qtpropertybrowser.h │ ├── qtpropertybrowser.pri │ ├── qtpropertybrowser.qrc │ ├── qtpropertybrowserutils.cpp │ ├── qtpropertybrowserutils_p.h │ ├── qtpropertymanager.cpp │ ├── qtpropertymanager.h │ ├── qttreepropertybrowser.cpp │ ├── qttreepropertybrowser.h │ ├── qtvariantproperty.cpp │ └── qtvariantproperty.h ├── qtscriptclassic ├── INSTALL.TXT ├── README.TXT ├── configure ├── configure.bat ├── doc │ ├── html │ │ ├── classic.css │ │ ├── images │ │ │ └── qt-logo.png │ │ ├── index.html │ │ ├── qscriptable-members.html │ │ ├── qscriptable.html │ │ ├── qscriptclass-members.html │ │ ├── qscriptclass.html │ │ ├── qscriptclasspropertyiterator-members.html │ │ ├── qscriptclasspropertyiterator.html │ │ ├── qscriptcontext-members.html │ │ ├── qscriptcontext.html │ │ ├── qscriptcontextinfo-members.html │ │ ├── qscriptcontextinfo.html │ │ ├── qscriptengine-members.html │ │ ├── qscriptengine-obsolete.html │ │ ├── qscriptengine.html │ │ ├── qscriptengineagent-members.html │ │ ├── qscriptengineagent.html │ │ ├── qscriptextensionplugin-members.html │ │ ├── qscriptextensionplugin.html │ │ ├── qscriptstring-members.html │ │ ├── qscriptstring.html │ │ ├── qscriptsyntaxcheckresult-members.html │ │ ├── qscriptsyntaxcheckresult.html │ │ ├── qscriptvalue-members.html │ │ ├── qscriptvalue-obsolete.html │ │ ├── qscriptvalue.html │ │ ├── qscriptvalueiterator-members.html │ │ ├── qscriptvalueiterator.html │ │ ├── qtscriptclassic-example-helloscript.html │ │ ├── qtscriptclassic.dcf │ │ ├── qtscriptclassic.index │ │ └── qtscriptclassic.qhp │ ├── images │ │ └── qt-logo.png │ └── index.qdoc ├── examples │ ├── examples.pro │ └── helloscript │ │ ├── helloscript.pro │ │ ├── helloscript.qdoc │ │ ├── helloscript.qrc │ │ ├── helloscript.qs │ │ └── main.cpp ├── include │ └── QtScript │ │ ├── QScriptClass │ │ ├── QScriptClassPropertyIterator │ │ ├── QScriptContext │ │ ├── QScriptContextInfo │ │ ├── QScriptContextInfoList │ │ ├── QScriptEngine │ │ ├── QScriptEngineAgent │ │ ├── QScriptExtensionInterface │ │ ├── QScriptExtensionPlugin │ │ ├── QScriptString │ │ ├── QScriptSyntaxCheckResult │ │ ├── QScriptValue │ │ ├── QScriptValueIterator │ │ ├── QScriptValueList │ │ ├── QScriptable │ │ └── QtScript ├── qtscriptclassic.pro └── src │ ├── QScriptClass │ ├── QScriptClassPropertyIterator │ ├── QScriptContext │ ├── QScriptContextInfo │ ├── QScriptEngine │ ├── QScriptEngineAgent │ ├── QScriptExtensionPlugin │ ├── QScriptString │ ├── QScriptSyntaxCheckResult │ ├── QScriptValue │ ├── QScriptValueIterator │ ├── QScriptable │ ├── QtScript │ ├── instruction.table │ ├── private │ ├── qguard_p.h │ └── qobject_p.h │ ├── qscriptable.cpp │ ├── qscriptable.h │ ├── qscriptable_p.h │ ├── qscriptarray_p.h │ ├── qscriptasm.cpp │ ├── qscriptasm_p.h │ ├── qscriptast.cpp │ ├── qscriptast_p.h │ ├── qscriptastfwd_p.h │ ├── qscriptastvisitor.cpp │ ├── qscriptastvisitor_p.h │ ├── qscriptbuffer_p.h │ ├── qscriptclass.cpp │ ├── qscriptclass.h │ ├── qscriptclass_p.h │ ├── qscriptclassdata.cpp │ ├── qscriptclassdata_p.h │ ├── qscriptclassinfo_p.h │ ├── qscriptclasspropertyiterator.cpp │ ├── qscriptclasspropertyiterator.h │ ├── qscriptclasspropertyiterator_p.h │ ├── qscriptcompiler.cpp │ ├── qscriptcompiler_p.h │ ├── qscriptcontext.cpp │ ├── qscriptcontext.h │ ├── qscriptcontext_p.cpp │ ├── qscriptcontext_p.h │ ├── qscriptcontextfwd_p.h │ ├── qscriptcontextinfo.cpp │ ├── qscriptcontextinfo.h │ ├── qscriptcontextinfo_p.h │ ├── qscriptecmaarray.cpp │ ├── qscriptecmaarray_p.h │ ├── qscriptecmaboolean.cpp │ ├── qscriptecmaboolean_p.h │ ├── qscriptecmacore.cpp │ ├── qscriptecmacore_p.h │ ├── qscriptecmadate.cpp │ ├── qscriptecmadate_p.h │ ├── qscriptecmaerror.cpp │ ├── qscriptecmaerror_p.h │ ├── qscriptecmafunction.cpp │ ├── qscriptecmafunction_p.h │ ├── qscriptecmaglobal.cpp │ ├── qscriptecmaglobal_p.h │ ├── qscriptecmamath.cpp │ ├── qscriptecmamath_p.h │ ├── qscriptecmanumber.cpp │ ├── qscriptecmanumber_p.h │ ├── qscriptecmaobject.cpp │ ├── qscriptecmaobject_p.h │ ├── qscriptecmaregexp.cpp │ ├── qscriptecmaregexp_p.h │ ├── qscriptecmastring.cpp │ ├── qscriptecmastring_p.h │ ├── qscriptengine.cpp │ ├── qscriptengine.h │ ├── qscriptengine_p.cpp │ ├── qscriptengine_p.h │ ├── qscriptengineagent.cpp │ ├── qscriptengineagent.h │ ├── qscriptengineagent_p.h │ ├── qscriptenginefwd_p.h │ ├── qscriptextensioninterface.h │ ├── qscriptextensionplugin.cpp │ ├── qscriptextensionplugin.h │ ├── qscriptextenumeration.cpp │ ├── qscriptextenumeration_p.h │ ├── qscriptextqobject.cpp │ ├── qscriptextqobject_p.h │ ├── qscriptextvariant.cpp │ ├── qscriptextvariant_p.h │ ├── qscriptfunction.cpp │ ├── qscriptfunction_p.h │ ├── qscriptgc_p.h │ ├── qscriptglobals_p.h │ ├── qscriptgrammar.cpp │ ├── qscriptgrammar_p.h │ ├── qscriptlexer.cpp │ ├── qscriptlexer_p.h │ ├── qscriptmember_p.h │ ├── qscriptmemberfwd_p.h │ ├── qscriptmemorypool_p.h │ ├── qscriptnameid_p.h │ ├── qscriptnodepool_p.h │ ├── qscriptobject_p.h │ ├── qscriptobjectdata_p.h │ ├── qscriptobjectfwd_p.h │ ├── qscriptparser.cpp │ ├── qscriptparser_p.h │ ├── qscriptprettypretty.cpp │ ├── qscriptprettypretty_p.h │ ├── qscriptrepository_p.h │ ├── qscriptstring.cpp │ ├── qscriptstring.h │ ├── qscriptstring_p.h │ ├── qscriptsyntaxchecker.cpp │ ├── qscriptsyntaxchecker_p.h │ ├── qscriptsyntaxcheckresult_p.h │ ├── qscriptvalue.cpp │ ├── qscriptvalue.h │ ├── qscriptvalue_p.h │ ├── qscriptvaluefwd_p.h │ ├── qscriptvalueimpl.cpp │ ├── qscriptvalueimpl_p.h │ ├── qscriptvalueimplfwd_p.h │ ├── qscriptvalueiterator.cpp │ ├── qscriptvalueiterator.h │ ├── qscriptvalueiterator_p.h │ ├── qscriptvalueiteratorimpl.cpp │ ├── qscriptvalueiteratorimpl_p.h │ ├── qscriptxmlgenerator.cpp │ ├── qscriptxmlgenerator_p.h │ ├── qtscriptclassic.pri │ ├── script.pri │ └── src.pro ├── qtservice ├── .qmake.stash ├── INSTALL.TXT ├── Makefile ├── README.TXT ├── buildlib │ └── buildlib.pro ├── common.pri ├── configure ├── configure.bat ├── doc │ ├── html │ │ ├── classic.css │ │ ├── images │ │ │ └── qt-logo.png │ │ ├── index.html │ │ ├── qtservice-example-controller.html │ │ ├── qtservice-example-interactive.html │ │ ├── qtservice-example-server.html │ │ ├── qtservice-members.html │ │ ├── qtservice.dcf │ │ ├── qtservice.html │ │ ├── qtservice.index │ │ ├── qtservice.qhp │ │ ├── qtservicebase-members.html │ │ ├── qtservicebase.html │ │ ├── qtservicecontroller-members.html │ │ └── qtservicecontroller.html │ ├── images │ │ └── qt-logo.png │ └── index.qdoc ├── examples │ ├── Makefile │ ├── controller │ │ ├── Makefile │ │ ├── Makefile.Debug │ │ ├── Makefile.Release │ │ ├── controller.pro │ │ ├── controller.qdoc │ │ ├── debug │ │ │ ├── controller.exe │ │ │ ├── controller.ilk │ │ │ ├── controller.pdb │ │ │ ├── controller.vc.pdb │ │ │ ├── main.obj │ │ │ ├── moc_predefs.h │ │ │ ├── qtservice.moc │ │ │ ├── qtservice.obj │ │ │ ├── qtservice_win.moc │ │ │ └── qtservice_win.obj │ │ └── main.cpp │ ├── examples.pro │ ├── interactive │ │ ├── Makefile │ │ ├── Makefile.Debug │ │ ├── Makefile.Release │ │ ├── debug │ │ │ ├── interactive.exe │ │ │ ├── interactive.ilk │ │ │ ├── interactive.pdb │ │ │ ├── interactive.vc.pdb │ │ │ ├── main.obj │ │ │ ├── moc_predefs.h │ │ │ ├── qtservice.moc │ │ │ ├── qtservice.obj │ │ │ ├── qtservice_win.moc │ │ │ └── qtservice_win.obj │ │ ├── interactive.pro │ │ ├── interactive.qdoc │ │ └── main.cpp │ └── server │ │ ├── Makefile │ │ ├── Makefile.Debug │ │ ├── Makefile.Release │ │ ├── debug │ │ ├── httpservice.exe │ │ ├── httpservice.ilk │ │ ├── httpservice.pdb │ │ ├── httpservice.vc.pdb │ │ ├── main.moc │ │ ├── main.obj │ │ ├── moc_predefs.h │ │ ├── qtservice.moc │ │ ├── qtservice.obj │ │ ├── qtservice_win.moc │ │ └── qtservice_win.obj │ │ ├── main.cpp │ │ ├── server.pro │ │ └── server.qdoc ├── qtservice.pro ├── qtservice.pro.user └── src │ ├── QtService │ ├── QtServiceBase │ ├── QtServiceController │ ├── qtservice.cpp │ ├── qtservice.h │ ├── qtservice.pri │ ├── qtservice_p.h │ ├── qtservice_unix.cpp │ ├── qtservice_win.cpp │ ├── qtunixserversocket.cpp │ ├── qtunixserversocket.h │ ├── qtunixsocket.cpp │ └── qtunixsocket.h ├── qtsingleapplication ├── INSTALL.TXT ├── Makefile ├── README.TXT ├── buildlib │ ├── .qmake.stash │ ├── Makefile │ ├── Makefile.Debug │ ├── Makefile.Release │ ├── buildlib.pro │ └── release │ │ ├── moc_predefs.h │ │ ├── moc_qtlocalpeer.cpp │ │ ├── moc_qtlocalpeer.obj │ │ ├── moc_qtsingleapplication.cpp │ │ ├── moc_qtsingleapplication.obj │ │ ├── qtlocalpeer.obj │ │ └── qtsingleapplication.obj ├── common.pri ├── configure ├── configure.bat ├── doc │ ├── html │ │ ├── classic.css │ │ ├── images │ │ │ └── qt-logo.png │ │ ├── index.html │ │ ├── qtsingleapplication-example-loader.html │ │ ├── qtsingleapplication-example-trivial.html │ │ ├── qtsingleapplication-members.html │ │ ├── qtsingleapplication-obsolete.html │ │ ├── qtsingleapplication.dcf │ │ ├── qtsingleapplication.html │ │ ├── qtsingleapplication.index │ │ ├── qtsingleapplication.qhp │ │ ├── qtsinglecoreapplication-example-console.html │ │ ├── qtsinglecoreapplication-members.html │ │ └── qtsinglecoreapplication.html │ ├── images │ │ └── qt-logo.png │ └── index.qdoc ├── examples │ ├── Makefile │ ├── console │ │ ├── Makefile │ │ ├── Makefile.Debug │ │ ├── Makefile.Release │ │ ├── console.pro │ │ ├── console.qdoc │ │ ├── debug │ │ │ ├── console.exe │ │ │ ├── console.ilk │ │ │ ├── console.pdb │ │ │ ├── console.vc.pdb │ │ │ ├── main.moc │ │ │ ├── main.obj │ │ │ ├── moc_predefs.h │ │ │ ├── moc_qtlocalpeer.cpp │ │ │ ├── moc_qtlocalpeer.obj │ │ │ ├── moc_qtsinglecoreapplication.cpp │ │ │ ├── moc_qtsinglecoreapplication.obj │ │ │ ├── qtlocalpeer.obj │ │ │ └── qtsinglecoreapplication.obj │ │ └── main.cpp │ ├── examples.pro │ ├── loader │ │ ├── Makefile │ │ ├── Makefile.Debug │ │ ├── Makefile.Release │ │ ├── debug │ │ │ ├── loader.exe │ │ │ ├── loader.ilk │ │ │ ├── loader.pdb │ │ │ ├── loader.vc.pdb │ │ │ ├── main.moc │ │ │ ├── main.obj │ │ │ ├── moc_predefs.h │ │ │ ├── moc_qtlocalpeer.cpp │ │ │ ├── moc_qtlocalpeer.obj │ │ │ ├── moc_qtsingleapplication.cpp │ │ │ ├── moc_qtsingleapplication.obj │ │ │ ├── qtlocalpeer.obj │ │ │ └── qtsingleapplication.obj │ │ ├── file1.qsl │ │ ├── file2.qsl │ │ ├── loader.pro │ │ ├── loader.qdoc │ │ └── main.cpp │ └── trivial │ │ ├── Makefile │ │ ├── Makefile.Debug │ │ ├── Makefile.Release │ │ ├── debug │ │ ├── main.moc │ │ ├── main.obj │ │ ├── moc_predefs.h │ │ ├── moc_qtlocalpeer.cpp │ │ ├── moc_qtlocalpeer.obj │ │ ├── moc_qtsingleapplication.cpp │ │ ├── moc_qtsingleapplication.obj │ │ ├── qtlocalpeer.obj │ │ ├── qtsingleapplication.obj │ │ ├── trivial.exe │ │ ├── trivial.ilk │ │ ├── trivial.pdb │ │ └── trivial.vc.pdb │ │ ├── main.cpp │ │ ├── trivial.pro │ │ └── trivial.qdoc ├── qtsingleapplication.pro └── src │ ├── QtLockedFile │ ├── QtSingleApplication │ ├── qtlocalpeer.cpp │ ├── qtlocalpeer.h │ ├── qtlockedfile.cpp │ ├── qtlockedfile.h │ ├── qtlockedfile_unix.cpp │ ├── qtlockedfile_win.cpp │ ├── qtsingleapplication.cpp │ ├── qtsingleapplication.h │ ├── qtsingleapplication.pri │ ├── qtsinglecoreapplication.cpp │ ├── qtsinglecoreapplication.h │ └── qtsinglecoreapplication.pri ├── qtsoap ├── INSTALL.TXT ├── README.TXT ├── buildlib │ └── buildlib.pro ├── common.pri ├── configure ├── configure.bat ├── doc │ ├── html │ │ ├── classic.css │ │ ├── google-example.html │ │ ├── images │ │ │ └── qt-logo.png │ │ ├── index.html │ │ ├── qtsoap-overview.html │ │ ├── qtsoap.dcf │ │ ├── qtsoap.index │ │ ├── qtsoap.qhp │ │ ├── qtsoaparray-members.html │ │ ├── qtsoaparray.html │ │ ├── qtsoaparrayiterator-members.html │ │ ├── qtsoaparrayiterator.html │ │ ├── qtsoaphttptransport-members.html │ │ ├── qtsoaphttptransport-obsolete.html │ │ ├── qtsoaphttptransport.html │ │ ├── qtsoapmessage-members.html │ │ ├── qtsoapmessage.html │ │ ├── qtsoapnamespaces-members.html │ │ ├── qtsoapnamespaces.html │ │ ├── qtsoapqname-members.html │ │ ├── qtsoapqname.html │ │ ├── qtsoapsimpletype-members.html │ │ ├── qtsoapsimpletype.html │ │ ├── qtsoapstruct-members.html │ │ ├── qtsoapstruct.html │ │ ├── qtsoapstructiterator-members.html │ │ ├── qtsoapstructiterator.html │ │ ├── qtsoaptype-members.html │ │ └── qtsoaptype.html │ ├── images │ │ └── qt-logo.png │ └── index.qdoc ├── examples │ ├── easter │ │ ├── easter.cpp │ │ ├── easter.h │ │ ├── easter.pro │ │ └── main.cpp │ ├── examples.pro │ ├── google │ │ ├── google.cpp │ │ ├── google.h │ │ ├── google.pro │ │ ├── google.qdoc │ │ └── main.cpp │ └── population │ │ ├── main.cpp │ │ ├── population.cpp │ │ ├── population.h │ │ └── population.pro ├── qtsoap.pro └── src │ ├── QtSoapArray │ ├── QtSoapArrayIterator │ ├── QtSoapHttpTransport │ ├── QtSoapMessage │ ├── QtSoapNamespaces │ ├── QtSoapQName │ ├── QtSoapSimpleType │ ├── QtSoapStruct │ ├── QtSoapStructIterator │ ├── QtSoapType │ ├── QtSoapTypeConstructor │ ├── QtSoapTypeConstructorBase │ ├── QtSoapTypeFactory │ ├── qtsoap.cpp │ ├── qtsoap.h │ └── qtsoap.pri └── qtwinmigrate ├── INSTALL.TXT ├── README.TXT ├── buildlib └── buildlib.pro ├── common.pri ├── configure ├── configure.bat ├── doc ├── html │ ├── classic.css │ ├── images │ │ └── qt-logo.png │ ├── index.html │ ├── qmfcapp-members.html │ ├── qmfcapp.html │ ├── qtwinmigrate.dcf │ ├── qtwinmigrate.index │ ├── qtwinmigrate.qhp │ ├── qwinhost-members.html │ ├── qwinhost.html │ ├── qwinwidget-members.html │ ├── qwinwidget-obsolete.html │ ├── qwinwidget.html │ ├── winmigrate-qt-dll-example.html │ ├── winmigrate-qt-in-win32-example.html │ ├── winmigrate-walkthrough.html │ └── winmigrate-win32-in-qt-example.html ├── images │ └── qt-logo.png ├── index.qdoc └── walkthrough.qdoc ├── examples ├── examples.pro ├── mfc │ ├── step1 │ │ ├── QtMfc.dsp │ │ ├── Resource.h │ │ ├── StdAfx.cpp │ │ ├── StdAfx.h │ │ ├── childview.cpp │ │ ├── childview.h │ │ ├── mainframe.cpp │ │ ├── mainframe.h │ │ ├── qtmfc.cpp │ │ ├── qtmfc.h │ │ ├── qtmfc.rc │ │ └── res │ │ │ ├── QtMfc.ico │ │ │ └── QtMfc.rc2 │ ├── step2 │ │ ├── Resource.h │ │ ├── StdAfx.cpp │ │ ├── StdAfx.h │ │ ├── childview.cpp │ │ ├── childview.h │ │ ├── mainframe.cpp │ │ ├── mainframe.h │ │ ├── qtmfc.cpp │ │ ├── qtmfc.h │ │ ├── qtmfc.rc │ │ ├── res │ │ │ ├── QtMfc.ico │ │ │ └── QtMfc.rc2 │ │ └── step2.pro │ ├── step3 │ │ ├── Resource.h │ │ ├── StdAfx.cpp │ │ ├── StdAfx.h │ │ ├── childview.cpp │ │ ├── childview.h │ │ ├── mainframe.cpp │ │ ├── mainframe.h │ │ ├── qtmfc.cpp │ │ ├── qtmfc.h │ │ ├── qtmfc.rc │ │ ├── res │ │ │ ├── QtMfc.ico │ │ │ └── QtMfc.rc2 │ │ └── step3.pro │ ├── step4 │ │ ├── Resource.h │ │ ├── StdAfx.cpp │ │ ├── StdAfx.h │ │ ├── childview.cpp │ │ ├── childview.h │ │ ├── mainframe.cpp │ │ ├── mainframe.h │ │ ├── optionsdialog.ui │ │ ├── qtmfc.cpp │ │ ├── qtmfc.h │ │ ├── qtmfc.rc │ │ ├── res │ │ │ ├── QtMfc.ico │ │ │ └── QtMfc.rc2 │ │ └── step4.pro │ └── step5 │ │ ├── childview.cpp │ │ ├── childview.h │ │ ├── mainframe.cpp │ │ ├── mainframe.h │ │ ├── qtmfc.cpp │ │ ├── qtmfc.rc │ │ ├── res │ │ ├── QtMfc.ico │ │ └── qtmfc.bmp │ │ └── step5.pro ├── qtdll │ ├── main.cpp │ ├── qtdll.pro │ └── qtdll.qdoc ├── winhost │ ├── main.cpp │ ├── winhost.pro │ └── winhost.qdoc └── winwidget │ ├── main.cpp │ ├── winwidget.pro │ └── winwidget.qdoc ├── qtwinmigrate.pro └── src ├── QMfcApp ├── QWinHost ├── QWinWidget ├── qmfcapp.cpp ├── qmfcapp.h ├── qtwinmigrate.pri ├── qwinhost.cpp ├── qwinhost.h ├── qwinwidget.cpp └── qwinwidget.h /.gitattributes: -------------------------------------------------------------------------------- 1 | *.bat -crlf 2 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # qt-solution 2 | qt-solutions提供了8个开源项目其实这是官方提供的源代码 3 | ---------------------------------------------------------------------- 4 | 这8个项目分别是: 5 | qtbrowserplugin 浏览器插件 6 | qtlockedfile 锁定文件 7 | qtpropertybrowser 属性编辑器 8 | qtscriptclassic 脚本支持 9 | qtservice 提供服务属性 10 | qtsingleapplication 单例运行 11 | qtsoap SOAP协议 12 | qtwinmigrate 混合运行,主要是指MFC吧。 13 | -------------------------------------------------------------------------------- /qtbrowserplugin/README.TXT: -------------------------------------------------------------------------------- 1 | Qt Solutions Component: Browser Plugin 2 | 3 | The QtBrowserPlugin solution is useful for implementing plugins 4 | for web browser. 5 | 6 | 7 | 8 | Notes: 9 | 10 | This module can not function if built as a DLL, it must be 11 | statically linked with the plugin. Hence, DLL building is not 12 | supported, and the -library option to configure will be ignored. 13 | For the same reason, the source code that needs to be statically 14 | linked is licensed under a BSD style license (ref. the comment 15 | headers of the files in the src directory). 16 | 17 | Version 2.4 is known to not work, even experimentally, on Mac OS 18 | X. 19 | 20 | Version history: 21 | 22 | 2.1: - Documentation updates. 23 | - Support of shortcut keys in the plugin (Windows only) 24 | - Implement scripting support. 25 | - Add experimental support for Mac (Safari) and Linux (Firefox). 26 | 27 | 2.2: - Fix crash when calling slots with multiple arguments of 28 | different types from script. 29 | - Fix compilation and potential stability problem on 64 bit 30 | architectures. 31 | 32 | 2.3: - Support default and QVariant-type parameters in script 33 | binding. 34 | - Be more selective in setting plugin widget's autofillbackground 35 | to true - Avoids conflict with OpenGL. 36 | - Fixed bug where QtBrowserPlugin could not change properties on 37 | sub-objects. 38 | - Fixed default mimeTypes() implementations. Makes it work with 39 | Opera 9.50 on Linux. 40 | - For Qt 4.4, support for using a namespaced Qt build to avoid 41 | symbol clash with other instances of Qt in the browser. 42 | 43 | 2.4: - Don't trigger first QAction without shortcut if 44 | non-alphanumerical key is pressed. 45 | - Documentation updates. 46 | - Misc. minor fixes. 47 | - LGPL/BSD release. 48 | 49 | -------------------------------------------------------------------------------- /qtbrowserplugin/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "x$1" != "x" -a "x$1" != "x-library" ]; then 4 | echo "Usage: $0 [-library]" 5 | echo 6 | echo "-library: Build the component as a dynamic library (DLL). Default is to" 7 | echo " include the component source code directly in the application." 8 | echo 9 | exit 0 10 | fi 11 | 12 | rm -f config.pri 13 | if [ "x$1" = "x-library" ]; then 14 | echo "Configuring to build this component as a dynamic library." 15 | echo "SOLUTIONS_LIBRARY = yes" > config.pri 16 | fi 17 | 18 | echo 19 | echo "This component is now configured." 20 | echo 21 | echo "To build the component library (if requested) and example(s)," 22 | echo "run qmake and your make command." 23 | echo 24 | echo "To remove or reconfigure, run make distclean." 25 | echo 26 | -------------------------------------------------------------------------------- /qtbrowserplugin/doc/html/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtbrowserplugin/doc/html/images/qt-logo.png -------------------------------------------------------------------------------- /qtbrowserplugin/doc/html/qtnpfactory-members.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | List of All Members for QtNPFactory 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

List of All Members for QtNPFactory

16 |

This is the complete list of members for QtNPFactory, including inherited members.

17 | 25 |


26 | 27 | 28 | 29 | 30 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
31 | 32 | -------------------------------------------------------------------------------- /qtbrowserplugin/doc/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtbrowserplugin/doc/images/qt-logo.png -------------------------------------------------------------------------------- /qtbrowserplugin/examples/examples.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS = trivial grapher 3 | -------------------------------------------------------------------------------- /qtbrowserplugin/examples/grapher/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | grapher 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundlePackageType 12 | BRPL 13 | CFBundleSignature 14 | TEST 15 | CFBundleVersion 16 | 0.0.1d1 17 | CSResourcesFileMapped 18 | 19 | WebPluginDescription 20 | A graphing plug-in 21 | WebPluginMIMETypes 22 | 23 | application/x-graphable 24 | 25 | WebPluginExtensions 26 | 27 | g1n 28 | 29 | WebPluginTypeDescription 30 | Very graphing mimetype 31 | 32 | 33 | WebPluginName 34 | Qt graphing test plug-in 35 | 36 | 37 | -------------------------------------------------------------------------------- /qtbrowserplugin/examples/grapher/graph.g1n: -------------------------------------------------------------------------------- 1 | num label 2 | 10 A 3 | 24 B 4 | 12 C 5 | 7 D 6 | 34 E 7 | 15 F 8 | 19 G 9 | -------------------------------------------------------------------------------- /qtbrowserplugin/examples/grapher/grapher.pro: -------------------------------------------------------------------------------- 1 | TARGET = grapher 2 | 3 | SOURCES = grapher.cpp 4 | 5 | win32 { 6 | # On Windows, uncomment the following lines to build a plugin that can 7 | # be used also in Internet Explorer, through ActiveX. 8 | # CONFIG += qaxserver 9 | # LIBS += -lurlmon 10 | 11 | RC_FILE = grapher.rc 12 | } else:mac { 13 | QMAKE_INFO_PLIST = Info.plist 14 | REZ_FILES += grapher.r 15 | rsrc_files.files = grapher.rsrc 16 | rsrc_files.path = Contents/Resources 17 | QMAKE_BUNDLE_DATA += rsrc_files 18 | } 19 | 20 | include(../../src/qtbrowserplugin.pri) 21 | -------------------------------------------------------------------------------- /qtbrowserplugin/examples/grapher/grapher.qdoc: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | /*! \page qtbrowserplugin-example-grapher.html 42 | 43 | \title Grapher Plugin 44 | 45 | \raw HTML 46 | 47 | \endraw 48 | 49 | Implementation: 50 | 51 | \quotefile grapher/grapher.cpp 52 | */ 53 | -------------------------------------------------------------------------------- /qtbrowserplugin/examples/grapher/grapher.r: -------------------------------------------------------------------------------- 1 | #define SystemSevenOrLater 1 2 | 3 | #include 4 | 5 | resource 'STR#' (127) 6 | {{ 7 | "A graphing plugin!" 8 | }}; 9 | 10 | resource 'STR#' (128) 11 | {{ 12 | "application/x-graphable", 13 | "" 14 | }}; 15 | 16 | resource 'STR#' (126) 17 | {{ 18 | "Plugin for demonstration" 19 | }}; 20 | -------------------------------------------------------------------------------- /qtbrowserplugin/examples/grapher/grapher.rc: -------------------------------------------------------------------------------- 1 | 1 TYPELIB "grapher.rc" 2 | 3 | 1 VERSIONINFO 4 | FILEVERSION 1,0,0,1 5 | PRODUCTVERSION 1,0,0,1 6 | FILEFLAGSMASK 0x3fL 7 | #ifdef _DEBUG 8 | FILEFLAGS 0x1L 9 | #else 10 | FILEFLAGS 0x0L 11 | #endif 12 | FILEOS 0x4L 13 | FILETYPE 0x2L 14 | FILESUBTYPE 0x0L 15 | BEGIN 16 | BLOCK "StringFileInfo" 17 | BEGIN 18 | BLOCK "040904e4" 19 | BEGIN 20 | VALUE "Comments", "\0" 21 | VALUE "CompanyName", "Digia\0" 22 | VALUE "FileDescription", "grapher\0" 23 | VALUE "FileExtents", "g1n\0" 24 | VALUE "FileOpenName", "Graphable data (*.g1n)\0" 25 | VALUE "FileVersion", "1, 0, 0, 1\0" 26 | VALUE "InternalName", "grapher\0" 27 | VALUE "LegalTrademarks", "\0" 28 | VALUE "MIMEType", "application/x-graphable\0" 29 | VALUE "OriginalFilename", "grapher.dll\0" 30 | VALUE "PrivateBuild", "\0" 31 | VALUE "ProductName", "Grapher QtBrowserPlugin example\0" 32 | VALUE "ProductVersion", "1, 0, 0, 1\0" 33 | VALUE "SpecialBuild", "\0" 34 | END 35 | END 36 | BLOCK "VarFileInfo" 37 | BEGIN 38 | VALUE "Translation", 0x409, 1252 39 | END 40 | END 41 | -------------------------------------------------------------------------------- /qtbrowserplugin/examples/trivial/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | English 7 | CFBundleExecutable 8 | trivial 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundlePackageType 12 | BRPL 13 | CFBundleSignature 14 | TEST 15 | CFBundleVersion 16 | 0.0.1d1 17 | CSResourcesFileMapped 18 | 19 | WebPluginDescription 20 | A very trivial plug-in 21 | WebPluginMIMETypes 22 | 23 | trivial/very 24 | 25 | WebPluginTypeDescription 26 | Very trivial mimetype 27 | 28 | 29 | WebPluginName 30 | Qt trivial test plug-in 31 | 32 | 33 | -------------------------------------------------------------------------------- /qtbrowserplugin/examples/trivial/trivial.pro: -------------------------------------------------------------------------------- 1 | TARGET = trivial 2 | 3 | SOURCES = trivial.cpp 4 | 5 | win32 { 6 | RC_FILE = trivial.rc 7 | } else:mac { 8 | QMAKE_INFO_PLIST = Info.plist 9 | REZ_FILES += trivial.r 10 | rsrc_files.files = trivial.rsrc 11 | rsrc_files.path = Contents/Resources 12 | QMAKE_BUNDLE_DATA += rsrc_files 13 | } 14 | 15 | include(../../src/qtbrowserplugin.pri) 16 | -------------------------------------------------------------------------------- /qtbrowserplugin/examples/trivial/trivial.r: -------------------------------------------------------------------------------- 1 | #define SystemSevenOrLater 1 2 | 3 | #include 4 | 5 | resource 'STR#' (127) 6 | {{ 7 | "A trivial Example plugin!" 8 | }}; 9 | 10 | resource 'STR#' (128) 11 | {{ 12 | "trivial/very", 13 | "" 14 | }}; 15 | 16 | resource 'STR#' (126) 17 | {{ 18 | "Plugin for trivial uses" 19 | }}; 20 | -------------------------------------------------------------------------------- /qtbrowserplugin/examples/trivial/trivial.rc: -------------------------------------------------------------------------------- 1 | 1 TYPELIB "trivial.rc" 2 | 3 | 1 VERSIONINFO 4 | FILEVERSION 1,0,0,1 5 | PRODUCTVERSION 1,0,0,1 6 | FILEFLAGSMASK 0x3fL 7 | #ifdef _DEBUG 8 | FILEFLAGS 0x1L 9 | #else 10 | FILEFLAGS 0x0L 11 | #endif 12 | FILEOS 0x4L 13 | FILETYPE 0x2L 14 | FILESUBTYPE 0x0L 15 | BEGIN 16 | BLOCK "StringFileInfo" 17 | BEGIN 18 | BLOCK "040904e4" 19 | BEGIN 20 | VALUE "CompanyName", "Digia\0" 21 | VALUE "FileDescription", "trivial\0" 22 | VALUE "FileExtents", "xxx\0" 23 | VALUE "FileOpenName", "Nothing (*.xxx)\0" 24 | VALUE "FileVersion", "1, 0, 0, 1\0" 25 | VALUE "InternalName", "trivial\0" 26 | VALUE "LegalCopyright", "Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies).\0" 27 | VALUE "MIMEType", "trivial/very\0" 28 | VALUE "OriginalFilename", "trivial.dll\0" 29 | VALUE "ProductName", "Qt trivial plugin\0" 30 | VALUE "ProductVersion", "1, 0, 0, 1\0" 31 | END 32 | END 33 | BLOCK "VarFileInfo" 34 | BEGIN 35 | VALUE "Translation", 0x409, 1252 36 | END 37 | END 38 | -------------------------------------------------------------------------------- /qtbrowserplugin/qtbrowserplugin.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=subdirs 2 | SUBDIRS=examples 3 | -------------------------------------------------------------------------------- /qtbrowserplugin/src/qtbrowserplugin.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | NP_GetEntryPoints @1 3 | NP_Initialize @2 4 | NP_Shutdown @3 5 | -------------------------------------------------------------------------------- /qtbrowserplugin/src/qtbrowserplugin.pri: -------------------------------------------------------------------------------- 1 | TEMPLATE = lib 2 | CONFIG += dll 3 | win32 { 4 | # Uncomment the following line to build a plugin that can be used also in 5 | # Internet Explorer, through ActiveX. 6 | # CONFIG += qaxserver 7 | } else { 8 | CONFIG += plugin 9 | } 10 | 11 | INCLUDEPATH += $$PWD 12 | DEPENDPATH += $$PWD 13 | 14 | SOURCES += $$PWD/qtbrowserplugin.cpp 15 | HEADERS += $$PWD/qtbrowserplugin.h qtnpapi.h 16 | 17 | win32 { 18 | SOURCES += $$PWD/qtbrowserplugin_win.cpp 19 | !isEmpty(TARGET) { 20 | TARGET = np$$TARGET 21 | } 22 | LIBS += -luser32 23 | 24 | qaxserver { 25 | DEF_FILE += $$PWD/qtbrowserpluginax.def 26 | } else { 27 | DEF_FILE += $$PWD/qtbrowserplugin.def 28 | } 29 | 30 | firefox { 31 | exists("c:/program files/mozilla firefox/plugins") { 32 | DLLDESTDIR += "c:/program files/mozilla firefox/plugins" 33 | } else { 34 | message("Firefox not found at default location") 35 | } 36 | } 37 | opera { 38 | exists("c:/program files/opera/program/plugins") { 39 | DLLDESTDIR += "c:/program files/opera/program/plugins" 40 | } else { 41 | message("Opera not found at default location") 42 | } 43 | } 44 | netscape { 45 | exists("c:/program files/netscape/netscape browser/plugins") { 46 | DLLDESTDIR += "c:/program files/netscape/netscape browser/plugins" 47 | } else { 48 | message("Netscape not found at default location") 49 | } 50 | } 51 | } else:mac { 52 | CONFIG += plugin_bundle 53 | SOURCES += $$PWD/qtbrowserplugin_mac.cpp 54 | #target.path = /Library/Internet\ Plugins 55 | #INSTALLS += target 56 | } else { 57 | SOURCES += $$PWD/qtbrowserplugin_x11.cpp 58 | INCLUDEPATH += /usr/X11R6/include 59 | 60 | # Avoiding symbol clash with other instances of the Qt library 61 | # (ref. developingplugins.html in the doc.): 62 | # 63 | # For Qt 4.4 and later, just configure Qt to use a separate namespace: 64 | # configure -qtnamespace SomeNamespace 65 | # 66 | # For Qt 4.3: Uncomment the line below. 67 | # It makes the dynamic linker prefer our own Qt symbols for the plugin, 68 | # provided that our Qt is statically built and linked into the 69 | # plugin. Note that to force the linker to prefer the static Qt 70 | # libraries (.a files), the dynamic libraries (.so) files must not 71 | # be present in the lib directory. 72 | # 73 | # QMAKE_LFLAGS += -Wl,-Bsymbolic 74 | } 75 | -------------------------------------------------------------------------------- /qtbrowserplugin/src/qtbrowserpluginax.def: -------------------------------------------------------------------------------- 1 | EXPORTS 2 | NP_GetEntryPoints @1 3 | NP_Initialize @2 4 | NP_Shutdown @3 5 | DllCanUnloadNow PRIVATE 6 | DllGetClassObject PRIVATE 7 | DllRegisterServer PRIVATE 8 | DllUnregisterServer PRIVATE 9 | DumpIDL PRIVATE 10 | -------------------------------------------------------------------------------- /qtlockedfile/README.TXT: -------------------------------------------------------------------------------- 1 | Qt Solutions Component: Locked File 2 | 3 | The QtLockedFile class extends QFile with advisory locking 4 | functions. 5 | 6 | This class extends the QFile class with inter-process file locking 7 | capabilities. If an application requires that several processes 8 | should access the same file, QtLockedFile can be used to easily 9 | ensure that only one process at a time is writing to the file, and 10 | that no process is writing to it while others are reading it. 11 | 12 | Version history: 13 | 14 | 2.0: - This is a port to Qt 4 of the latest Qt 3 version (1.1). 15 | 16 | 2.1: - Fix non-blocking lock() on Windows. 17 | 18 | 2.2: - Windows: Possible deadlock removed. 19 | - Windows: Allow file names with paths. 20 | - Windows: Compilation fix for MinGW. 21 | 22 | 2.3: - Windows: Bugfix; non-blocking lock attempt could cause 23 | locking failures later. 24 | 25 | 2.4: - Misc. minor fixes. 26 | - Windows: Reimplemented. Fixed issue where crashed processes 27 | could hold on to a lock. 28 | - LGPL release. 29 | 30 | -------------------------------------------------------------------------------- /qtlockedfile/buildlib/buildlib.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=lib 2 | CONFIG += qt dll qtlockedfile-buildlib 3 | mac:CONFIG += absolute_library_soname 4 | win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release build_all 5 | include(../src/qtlockedfile.pri) 6 | TARGET = $$QTLOCKEDFILE_LIBNAME 7 | DESTDIR = $$QTLOCKEDFILE_LIBDIR 8 | win32 { 9 | DLLDESTDIR = $$[QT_INSTALL_BINS] 10 | QMAKE_DISTCLEAN += $$[QT_INSTALL_BINS]\\$${QTLOCKEDFILE_LIBNAME}.dll 11 | } 12 | target.path = $$DESTDIR 13 | INSTALLS += target 14 | -------------------------------------------------------------------------------- /qtlockedfile/common.pri: -------------------------------------------------------------------------------- 1 | exists(config.pri):infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtlockedfile-uselib 2 | 3 | TEMPLATE += fakelib 4 | greaterThan(QT_MAJOR_VERSION, 5)|\ 5 | if(equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 4))|\ 6 | if(equals(QT_MAJOR_VERSION, 5):equals(QT_MINOR_VERSION, 4):greaterThan(QT_PATCH_VERSION, 1)) { 7 | QTLOCKEDFILE_LIBNAME = $$qt5LibraryTarget(QtSolutions_LockedFile-head) 8 | } else { 9 | QTLOCKEDFILE_LIBNAME = $$qtLibraryTarget(QtSolutions_LockedFile-head) 10 | } 11 | TEMPLATE -= fakelib 12 | 13 | QTLOCKEDFILE_LIBDIR = $$PWD/lib 14 | unix:qtlockedfile-uselib:!qtlockedfile-buildlib:QMAKE_RPATHDIR += $$QTLOCKEDFILE_LIBDIR 15 | -------------------------------------------------------------------------------- /qtlockedfile/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "x$1" != "x" -a "x$1" != "x-library" ]; then 4 | echo "Usage: $0 [-library]" 5 | echo 6 | echo "-library: Build the component as a dynamic library (DLL). Default is to" 7 | echo " include the component source code directly in the application." 8 | echo 9 | exit 0 10 | fi 11 | 12 | rm -f config.pri 13 | if [ "x$1" = "x-library" ]; then 14 | echo "Configuring to build this component as a dynamic library." 15 | echo "SOLUTIONS_LIBRARY = yes" > config.pri 16 | fi 17 | 18 | echo 19 | echo "This component is now configured." 20 | echo 21 | echo "To build the component library (if requested) and example(s)," 22 | echo "run qmake and your make command." 23 | echo 24 | echo "To remove or reconfigure, run make distclean." 25 | echo 26 | -------------------------------------------------------------------------------- /qtlockedfile/doc/html/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtlockedfile/doc/html/images/qt-logo.png -------------------------------------------------------------------------------- /qtlockedfile/doc/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Locked File 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

Locked File
16 |

17 | 18 |

Description

19 |

The QtLockedFile class extends QFile with advisory locking functions.

20 |

This class extends the QFile class with inter-process file locking capabilities. If an application requires that several processes should access the same file, QtLockedFile can be used to easily ensure that only one process at a time is writing to the file, and that no process is writing to it while others are reading it.

21 | 22 |

Classes

23 | 26 | 27 |

Tested platforms

28 | 33 |


34 | 35 | 36 | 37 | 38 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
39 | 40 | -------------------------------------------------------------------------------- /qtlockedfile/doc/html/qtlockedfile.dcf: -------------------------------------------------------------------------------- 1 | 2 | 3 |
4 |
5 | QtLockedFile 6 | LockMode 7 | QtLockedFile::WriteLock 8 | QtLockedFile::NoLock 9 | QtLockedFile::ReadLock 10 | isLocked 11 | lock 12 | lockMode 13 | open 14 | unlock 15 |
16 |
17 |
18 |
19 |
20 | Locked File 21 |
22 |
23 |
24 | 25 | -------------------------------------------------------------------------------- /qtlockedfile/doc/html/qtlockedfile.qhp: -------------------------------------------------------------------------------- 1 | 2 | 3 | com.nokia.qtsolutions.qtlockedfile_head 4 | qdoc 5 | 6 | qt 7 | solutions 8 | qtlockedfile 9 | 10 | 11 | qt 12 | solutions 13 | qtlockedfile 14 | 15 |
16 |
17 |
18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | index.html 35 | qtlockedfile.html 36 | classic.css 37 | images/qt-logo.png 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /qtlockedfile/doc/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtlockedfile/doc/images/qt-logo.png -------------------------------------------------------------------------------- /qtlockedfile/example/example.pro: -------------------------------------------------------------------------------- 1 | ###################################################################### 2 | # Automatically generated by qmake (1.07a) Wed Sep 1 15:54:18 2004 3 | ###################################################################### 4 | 5 | TEMPLATE = app 6 | CONFIG += console 7 | 8 | SOURCES += example.cpp 9 | 10 | include(../src/qtlockedfile.pri) 11 | -------------------------------------------------------------------------------- /qtlockedfile/qtlockedfile.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=subdirs 2 | CONFIG += ordered 3 | include(common.pri) 4 | qtlockedfile-uselib:SUBDIRS=buildlib 5 | SUBDIRS+=example 6 | -------------------------------------------------------------------------------- /qtlockedfile/src/QtLockedFile: -------------------------------------------------------------------------------- 1 | #include "qtlockedfile.h" 2 | -------------------------------------------------------------------------------- /qtlockedfile/src/qtlockedfile.pri: -------------------------------------------------------------------------------- 1 | include(../common.pri) 2 | INCLUDEPATH += $$PWD 3 | DEPENDPATH += $$PWD 4 | QT -= gui 5 | qtlockedfile-uselib:!qtlockedfile-buildlib { 6 | LIBS += -L$$QTLOCKEDFILE_LIBDIR -l$$QTLOCKEDFILE_LIBNAME 7 | } else { 8 | HEADERS += $$PWD/qtlockedfile.h 9 | SOURCES += $$PWD/qtlockedfile.cpp 10 | unix:SOURCES += $$PWD/qtlockedfile_unix.cpp 11 | win32:SOURCES += $$PWD/qtlockedfile_win.cpp 12 | } 13 | 14 | win32 { 15 | contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTLOCKEDFILE_EXPORT 16 | else:qtlockedfile-uselib:DEFINES += QT_QTLOCKEDFILE_IMPORT 17 | } 18 | -------------------------------------------------------------------------------- /qtpropertybrowser/buildlib/buildlib.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=lib 2 | CONFIG += qt dll qtpropertybrowser-buildlib 3 | mac:CONFIG += absolute_library_soname 4 | win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release build_all 5 | include(../src/qtpropertybrowser.pri) 6 | TARGET = $$QTPROPERTYBROWSER_LIBNAME 7 | DESTDIR = $$QTPROPERTYBROWSER_LIBDIR 8 | win32 { 9 | DLLDESTDIR = $$[QT_INSTALL_BINS] 10 | QMAKE_DISTCLEAN += $$[QT_INSTALL_BINS]\\$${QTPROPERTYBROWSER_LIBNAME}.dll 11 | } 12 | target.path = $$DESTDIR 13 | INSTALLS += target 14 | -------------------------------------------------------------------------------- /qtpropertybrowser/common.pri: -------------------------------------------------------------------------------- 1 | exists(config.pri):infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtpropertybrowser-uselib 2 | TEMPLATE += fakelib 3 | QTPROPERTYBROWSER_LIBNAME = $$qtLibraryTarget(QtSolutions_PropertyBrowser-head) 4 | TEMPLATE -= fakelib 5 | QTPROPERTYBROWSER_LIBDIR = $$PWD/lib 6 | unix:qtpropertybrowser-uselib:!qtpropertybrowser-buildlib:QMAKE_RPATHDIR += $$QTPROPERTYBROWSER_LIBDIR 7 | -------------------------------------------------------------------------------- /qtpropertybrowser/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "x$1" != "x" -a "x$1" != "x-library" ]; then 4 | echo "Usage: $0 [-library]" 5 | echo 6 | echo "-library: Build the component as a dynamic library (DLL). Default is to" 7 | echo " include the component source code directly in the application." 8 | echo 9 | exit 0 10 | fi 11 | 12 | rm -f config.pri 13 | if [ "x$1" = "x-library" ]; then 14 | echo "Configuring to build this component as a dynamic library." 15 | echo "SOLUTIONS_LIBRARY = yes" > config.pri 16 | fi 17 | 18 | echo 19 | echo "This component is now configured." 20 | echo 21 | echo "To build the component library (if requested) and example(s)," 22 | echo "run qmake and your make command." 23 | echo 24 | echo "To remove or reconfigure, run make distclean." 25 | echo 26 | -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/canvas_typed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/canvas_typed.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/canvas_variant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/canvas_variant.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/decoration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/decoration.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/demo.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/extension.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/extension.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/object_controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/object_controller.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/qt-logo.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/qtbuttonpropertybrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/qtbuttonpropertybrowser.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/qtgroupboxpropertybrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/qtgroupboxpropertybrowser.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/qtpropertybrowser-duplicate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/qtpropertybrowser-duplicate.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/qtpropertybrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/qtpropertybrowser.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/qttreepropertybrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/qttreepropertybrowser.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/images/simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/html/images/simple.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/qtbrowseritem-members.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | List of All Members for QtBrowserItem 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

List of All Members for QtBrowserItem

16 |

This is the complete list of members for QtBrowserItem, including inherited members.

17 |
    18 |
  • browser () const : QtAbstractPropertyBrowser *
  • 19 |
  • children () const : QList<QtBrowserItem *>
  • 20 |
  • parent () const : QtBrowserItem *
  • 21 |
  • property () const : QtProperty *
  • 22 |
23 |


24 | 25 | 26 | 27 | 28 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
29 | 30 | -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/qtpropertybrowser-example-decoration.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Decoration Example 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

Decoration Example
16 |

17 |

This example demonstrates how to decorate the existing QtDoublePropertyManager class with additional responsibilities.

18 |

It also shows how to write respective editor factory for decorated manager by delegating common responsibilities of undecorated base manager to the aggregated QtDoubleSpinBoxFactory member.

19 |

The source files can be found in examples/decoration directory of the package.

20 |


21 | 22 | 23 | 24 | 25 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
26 | 27 | -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/qtpropertybrowser-example-demo.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Demo Example 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

Demo Example
16 |

17 |

This example shows how to customize a property browser widget's appearance and behavior.

18 |

The various property browsers presented in this example display the same set of properties, and are implementations of the QtTreePropertyBrowser class and the QtGroupBoxPropertyBrowser class, respectively.

19 |

The example shows how a property browser's appearance and behavior can be varied using the QtPropertyBrowser framework's property managers and editor factories.

20 |

The source files can be found in examples/demo directory of the package.

21 |


22 | 23 | 24 | 25 | 26 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
27 | 28 | -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/qtpropertybrowser-example-extension.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Extension Example 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

Extension Example
16 |

17 |

This example demonstrates how to extend the QtVariantPropertyManager class to handle additional property types.

18 |

The variant manager is extended to handle the QPointF type.

19 |

The source files can be found in examples/extension directory of the package.

20 |


21 | 22 | 23 | 24 | 25 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
26 | 27 | -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/qtpropertybrowser-example-object-controller.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | The Object Controller Example. 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

The Object Controller Example.
16 |

17 |

This example implements a simple widget component which shows QObject's and its subclasses' properties. The user can modify these properies interacively and the object controller applies the changes to the controlled object. The object controller is similar to the property editor used in QDesigner application. To control the object just instantiate ObjectController, set controlled object (any QObject subclass) by calling ObjectController::setObject() and show the controller.

18 |

The source files can be found in examples/object_controller directory of the package.

19 |


20 | 21 | 22 | 23 | 24 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
25 | 26 | -------------------------------------------------------------------------------- /qtpropertybrowser/doc/html/qtpropertybrowser-example-simple.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Simple Tree Property Browser Example 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

Simple Tree Property Browser Example
16 |

17 |

This example shows how to present various properties using a simple tree property browser, i.e. an implementation of the QtTreePropertyBrowser class.

18 |

The source files can be found in examples/simple directory of the package.

19 |


20 | 21 | 22 | 23 | 24 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
25 | 26 | -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/canvas_typed.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/canvas_typed.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/canvas_variant.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/canvas_variant.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/decoration.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/decoration.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/demo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/demo.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/extension.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/extension.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/object_controller.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/object_controller.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/qt-logo.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/qtbuttonpropertybrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/qtbuttonpropertybrowser.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/qtgroupboxpropertybrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/qtgroupboxpropertybrowser.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/qtpropertybrowser-duplicate.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/qtpropertybrowser-duplicate.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/qtpropertybrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/qtpropertybrowser.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/qttreepropertybrowser.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/qttreepropertybrowser.png -------------------------------------------------------------------------------- /qtpropertybrowser/doc/images/simple.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/doc/images/simple.png -------------------------------------------------------------------------------- /qtpropertybrowser/examples/canvas_typed/canvas_typed.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | DEPENDPATH += . 3 | INCLUDEPATH += . 4 | 5 | include(../../src/qtpropertybrowser.pri) 6 | # Input 7 | HEADERS += qtcanvas.h mainwindow.h 8 | SOURCES += qtcanvas.cpp mainwindow.cpp main.cpp 9 | 10 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/canvas_typed/main.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | #include 42 | #include "mainwindow.h" 43 | 44 | int main(int argc, char **argv) 45 | { 46 | QApplication app(argc, argv); 47 | 48 | MainWindow mw; 49 | mw.show(); 50 | 51 | return app.exec(); 52 | } 53 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/canvas_variant/canvas_variant.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | DEPENDPATH += . 3 | INCLUDEPATH += . 4 | 5 | include(../../src/qtpropertybrowser.pri) 6 | # Input 7 | HEADERS += qtcanvas.h mainwindow.h 8 | SOURCES += qtcanvas.cpp mainwindow.cpp main.cpp 9 | 10 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/canvas_variant/main.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | #include 42 | #include "mainwindow.h" 43 | 44 | int main(int argc, char **argv) 45 | { 46 | QApplication app(argc, argv); 47 | 48 | MainWindow mw; 49 | mw.show(); 50 | 51 | return app.exec(); 52 | } 53 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/decoration/decoration.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | DEPENDPATH += . 3 | INCLUDEPATH += . 4 | 5 | include(../../src/qtpropertybrowser.pri) 6 | # Input 7 | SOURCES += main.cpp 8 | 9 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/demo/demo.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | DEPENDPATH += . 3 | INCLUDEPATH += . 4 | 5 | include(../../src/qtpropertybrowser.pri) 6 | # Input 7 | SOURCES += main.cpp 8 | RESOURCES += demo.qrc 9 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/demo/demo.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/up.png 4 | images/down.png 5 | images/right.png 6 | images/left.png 7 | 8 | 9 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/demo/images/down.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/examples/demo/images/down.png -------------------------------------------------------------------------------- /qtpropertybrowser/examples/demo/images/left.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/examples/demo/images/left.png -------------------------------------------------------------------------------- /qtpropertybrowser/examples/demo/images/right.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/examples/demo/images/right.png -------------------------------------------------------------------------------- /qtpropertybrowser/examples/demo/images/up.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/examples/demo/images/up.png -------------------------------------------------------------------------------- /qtpropertybrowser/examples/examples.pro: -------------------------------------------------------------------------------- 1 | ###################################################################### 2 | # Automatically generated by qmake (2.00a) Wed Jun 15 15:53:34 2005 3 | ###################################################################### 4 | 5 | TEMPLATE = subdirs 6 | SUBDIRS = simple canvas_variant canvas_typed demo decoration extension object_controller 7 | 8 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/extension/extension.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | DEPENDPATH += . 3 | INCLUDEPATH += . 4 | 5 | include(../../src/qtpropertybrowser.pri) 6 | # Input 7 | SOURCES += main.cpp 8 | 9 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/extension/extension.qdoc: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | /*! 42 | \page qtpropertybrowser-example-extension.html 43 | \title Extension Example 44 | 45 | This example demonstrates how to extend the 46 | QtVariantPropertyManager class to handle additional property 47 | types. 48 | 49 | \image extension.png 50 | 51 | The variant manager is extended to handle the QPointF type. 52 | 53 | The source files can be found in examples/extension directory of the package. 54 | */ 55 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/object_controller/object_controller.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | DEPENDPATH += . 3 | INCLUDEPATH += . 4 | 5 | include(../../src/qtpropertybrowser.pri) 6 | # Input 7 | HEADERS += objectcontroller.h 8 | SOURCES += objectcontroller.cpp main.cpp 9 | 10 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/simple/simple.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | DEPENDPATH += . 3 | INCLUDEPATH += . 4 | 5 | include(../../src/qtpropertybrowser.pri) 6 | # Input 7 | SOURCES += main.cpp 8 | 9 | -------------------------------------------------------------------------------- /qtpropertybrowser/examples/simple/simple.qdoc: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | /*! 42 | \page qtpropertybrowser-example-simple.html 43 | \title Simple Tree Property Browser Example 44 | 45 | \image simple.png 46 | 47 | This example shows how to present various properties using a 48 | simple tree property browser, i.e. an implementation of the 49 | QtTreePropertyBrowser class. 50 | 51 | The source files can be found in examples/simple directory of the package. 52 | */ 53 | -------------------------------------------------------------------------------- /qtpropertybrowser/qtpropertybrowser.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=subdirs 2 | CONFIG += ordered 3 | include(common.pri) 4 | qtpropertybrowser-uselib:SUBDIRS=buildlib 5 | SUBDIRS+=examples 6 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtAbstractEditorFactoryBase: -------------------------------------------------------------------------------- 1 | #include "qtpropertybrowser.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtAbstractPropertyBrowser: -------------------------------------------------------------------------------- 1 | #include "qtpropertybrowser.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtAbstractPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertybrowser.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtBoolPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtBrowserItem: -------------------------------------------------------------------------------- 1 | #include "qtpropertybrowser.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtButtonPropertyBrowser: -------------------------------------------------------------------------------- 1 | #include "qtbuttonpropertybrowser.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtCharEditorFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtCharPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtCheckBoxFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtColorEditorFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtColorPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtCursorEditorFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtCursorPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtDateEditFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtDatePropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtDateTimeEditFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtDateTimePropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtDoublePropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtDoubleSpinBoxFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtEnumEditorFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtEnumPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtFlagPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtFontEditorFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtFontPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtGroupBoxPropertyBrowser: -------------------------------------------------------------------------------- 1 | #include "qtgroupboxpropertybrowser.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtGroupPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtIntPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtKeySequenceEditorFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtKeySequencePropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtLineEditFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtLocalePropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtPointFPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtPointPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtProperty: -------------------------------------------------------------------------------- 1 | #include "qtpropertybrowser.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtRectFPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtRectPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtScrollBarFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtSizeFPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtSizePolicyPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtSizePropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtSliderFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtSpinBoxFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtStringPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtTimeEditFactory: -------------------------------------------------------------------------------- 1 | #include "qteditorfactory.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtTimePropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtpropertymanager.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtTreePropertyBrowser: -------------------------------------------------------------------------------- 1 | #include "qttreepropertybrowser.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtVariantEditorFactory: -------------------------------------------------------------------------------- 1 | #include "qtvariantproperty.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtVariantProperty: -------------------------------------------------------------------------------- 1 | #include "qtvariantproperty.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/QtVariantPropertyManager: -------------------------------------------------------------------------------- 1 | #include "qtvariantproperty.h" 2 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-arrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-arrow.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-busy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-busy.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-closedhand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-closedhand.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-cross.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-cross.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-forbidden.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-forbidden.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-hand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-hand.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-hsplit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-hsplit.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-ibeam.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-ibeam.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-openhand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-openhand.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-sizeall.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-sizeall.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-sizeb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-sizeb.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-sizef.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-sizef.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-sizeh.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-sizeh.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-sizev.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-sizev.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-uparrow.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-uparrow.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-vsplit.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-vsplit.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-wait.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-wait.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/images/cursor-whatsthis.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtpropertybrowser/src/images/cursor-whatsthis.png -------------------------------------------------------------------------------- /qtpropertybrowser/src/qtpropertybrowser.pri: -------------------------------------------------------------------------------- 1 | include(../common.pri) 2 | greaterThan(QT_MAJOR_VERSION, 4): QT *= widgets 3 | INCLUDEPATH += $$PWD 4 | DEPENDPATH += $$PWD 5 | 6 | qtpropertybrowser-uselib:!qtpropertybrowser-buildlib { 7 | LIBS += -L$$QTPROPERTYBROWSER_LIBDIR -l$$QTPROPERTYBROWSER_LIBNAME 8 | } else { 9 | DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0 10 | SOURCES += $$PWD/qtpropertybrowser.cpp \ 11 | $$PWD/qtpropertymanager.cpp \ 12 | $$PWD/qteditorfactory.cpp \ 13 | $$PWD/qtvariantproperty.cpp \ 14 | $$PWD/qttreepropertybrowser.cpp \ 15 | $$PWD/qtbuttonpropertybrowser.cpp \ 16 | $$PWD/qtgroupboxpropertybrowser.cpp \ 17 | $$PWD/qtpropertybrowserutils.cpp 18 | HEADERS += $$PWD/qtpropertybrowser.h \ 19 | $$PWD/qtpropertymanager.h \ 20 | $$PWD/qteditorfactory.h \ 21 | $$PWD/qtvariantproperty.h \ 22 | $$PWD/qttreepropertybrowser.h \ 23 | $$PWD/qtbuttonpropertybrowser.h \ 24 | $$PWD/qtgroupboxpropertybrowser.h \ 25 | $$PWD/qtpropertybrowserutils_p.h 26 | RESOURCES += $$PWD/qtpropertybrowser.qrc 27 | } 28 | 29 | win32 { 30 | contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTPROPERTYBROWSER_EXPORT 31 | else:qtpropertybrowser-uselib:DEFINES += QT_QTPROPERTYBROWSER_IMPORT 32 | } 33 | -------------------------------------------------------------------------------- /qtpropertybrowser/src/qtpropertybrowser.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | images/cursor-arrow.png 4 | images/cursor-busy.png 5 | images/cursor-closedhand.png 6 | images/cursor-cross.png 7 | images/cursor-forbidden.png 8 | images/cursor-hand.png 9 | images/cursor-hsplit.png 10 | images/cursor-ibeam.png 11 | images/cursor-openhand.png 12 | images/cursor-sizeall.png 13 | images/cursor-sizeb.png 14 | images/cursor-sizef.png 15 | images/cursor-sizeh.png 16 | images/cursor-sizev.png 17 | images/cursor-uparrow.png 18 | images/cursor-vsplit.png 19 | images/cursor-wait.png 20 | images/cursor-whatsthis.png 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /qtscriptclassic/README.TXT: -------------------------------------------------------------------------------- 1 | Qt Solutions Component: QtScript Classic 2 | 3 | This component provides the original (pre-Qt 4.6) implementation 4 | of the QtScript module. 5 | 6 | 7 | 8 | Notes: 9 | 10 | QtScriptClassic is always built as a shared/dynamic library. The 11 | library file is named QtScriptClassic, so as to differentiate it 12 | from the QtScript module's, which is called QtScript. 13 | 14 | To use QtScriptClassic in your project, include the 15 | src/qtscriptclassic.pri file in your qmake project file, or make 16 | the corresponding changes to your build setup. The project file 17 | must not contain 'Qt += script', since that may cause the wrong 18 | header files to be used and linking symbol clashes with the 19 | QtScript module. 20 | 21 | As per Qt 4.6, the API of QtScriptClassic is for most practical 22 | purposes fully source compatible with the QtScript module. 23 | 24 | Qt can be built without the QtScript module by giving the 25 | -no-script option to configure. 26 | 27 | Version history: 28 | 29 | 1.0: - Initial version, corresponding to Qt 4.6.0 30 | 31 | -------------------------------------------------------------------------------- /qtscriptclassic/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "x$1" != "x" -a "x$1" != "x-library" ]; then 4 | echo "Usage: $0 [-library]" 5 | echo 6 | echo "-library: Build the component as a dynamic library (DLL). Default is to" 7 | echo " include the component source code directly in the application." 8 | echo 9 | exit 0 10 | fi 11 | 12 | rm -f config.pri 13 | if [ "x$1" = "x-library" ]; then 14 | echo "Configuring to build this component as a dynamic library." 15 | echo "SOLUTIONS_LIBRARY = yes" > config.pri 16 | fi 17 | 18 | echo 19 | echo "This component is now configured." 20 | echo 21 | echo "To build the component library (if requested) and example(s)," 22 | echo "run qmake and your make command." 23 | echo 24 | echo "To remove or reconfigure, run make distclean." 25 | echo 26 | -------------------------------------------------------------------------------- /qtscriptclassic/doc/html/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtscriptclassic/doc/html/images/qt-logo.png -------------------------------------------------------------------------------- /qtscriptclassic/doc/html/qscriptable-members.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | List of All Members for QScriptable 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

List of All Members for QScriptable

16 |

This is the complete list of members for QScriptable, including inherited members.

17 | 24 |


25 | 26 | 27 | 28 | 29 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
30 | 31 | -------------------------------------------------------------------------------- /qtscriptclassic/doc/html/qscriptstring-members.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | List of All Members for QScriptString 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

List of All Members for QScriptString

16 |

This is the complete list of members for QScriptString, including inherited members.

17 | 28 |


29 | 30 | 31 | 32 | 33 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
34 | 35 | -------------------------------------------------------------------------------- /qtscriptclassic/doc/html/qscriptsyntaxcheckresult-members.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | List of All Members for QScriptSyntaxCheckResult 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

List of All Members for QScriptSyntaxCheckResult

16 |

This is the complete list of members for QScriptSyntaxCheckResult, including inherited members.

17 | 27 |


28 | 29 | 30 | 31 | 32 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
33 | 34 | -------------------------------------------------------------------------------- /qtscriptclassic/doc/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtscriptclassic/doc/images/qt-logo.png -------------------------------------------------------------------------------- /qtscriptclassic/examples/examples.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS = helloscript 3 | -------------------------------------------------------------------------------- /qtscriptclassic/examples/helloscript/helloscript.pro: -------------------------------------------------------------------------------- 1 | include(../../src/qtscriptclassic.pri) 2 | # Note: The above line replaces the ordinary 'QT += script' 3 | 4 | RESOURCES += helloscript.qrc 5 | SOURCES += main.cpp 6 | -------------------------------------------------------------------------------- /qtscriptclassic/examples/helloscript/helloscript.qrc: -------------------------------------------------------------------------------- 1 | 2 | 3 | helloscript.qs 4 | 5 | 6 | -------------------------------------------------------------------------------- /qtscriptclassic/examples/helloscript/helloscript.qs: -------------------------------------------------------------------------------- 1 | //! [0] 2 | button.text = qsTr('Hello World!'); 3 | button.styleSheet = 'font-style: italic'; 4 | button.show(); 5 | //! [0] 6 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptClass: -------------------------------------------------------------------------------- 1 | #include "qscriptclass.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptClassPropertyIterator: -------------------------------------------------------------------------------- 1 | #include "qscriptclasspropertyiterator.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptContext: -------------------------------------------------------------------------------- 1 | #include "qscriptcontext.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptContextInfo: -------------------------------------------------------------------------------- 1 | #include "qscriptcontextinfo.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptContextInfoList: -------------------------------------------------------------------------------- 1 | #include "qscriptcontextinfo.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptEngine: -------------------------------------------------------------------------------- 1 | #include "qscriptengine.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptEngineAgent: -------------------------------------------------------------------------------- 1 | #include "qscriptengineagent.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptExtensionInterface: -------------------------------------------------------------------------------- 1 | #include "qscriptextensioninterface.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptExtensionPlugin: -------------------------------------------------------------------------------- 1 | #include "qscriptextensionplugin.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptString: -------------------------------------------------------------------------------- 1 | #include "qscriptstring.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptSyntaxCheckResult: -------------------------------------------------------------------------------- 1 | #include "qscriptengine.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptValue: -------------------------------------------------------------------------------- 1 | #include "qscriptvalue.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptValueIterator: -------------------------------------------------------------------------------- 1 | #include "qscriptvalueiterator.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptValueList: -------------------------------------------------------------------------------- 1 | #include "qscriptvalue.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QScriptable: -------------------------------------------------------------------------------- 1 | #include "qscriptable.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/include/QtScript/QtScript: -------------------------------------------------------------------------------- 1 | #ifndef QT_QTSCRIPT_MODULE_H 2 | #define QT_QTSCRIPT_MODULE_H 3 | #include 4 | #include "qscriptextensionplugin.h" 5 | #include "qscriptvalue.h" 6 | #include "qscriptstring.h" 7 | #include "qscriptextensioninterface.h" 8 | #include "qscriptengineagent.h" 9 | #include "qscriptable.h" 10 | #include "qscriptcontext.h" 11 | #include "qscriptvalueiterator.h" 12 | #include "qscriptclasspropertyiterator.h" 13 | #include "qscriptengine.h" 14 | #include "qscriptcontextinfo.h" 15 | #include "qscriptclass.h" 16 | #endif 17 | -------------------------------------------------------------------------------- /qtscriptclassic/qtscriptclassic.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=subdirs 2 | CONFIG += ordered 3 | SUBDIRS=src 4 | SUBDIRS+=examples 5 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptClass: -------------------------------------------------------------------------------- 1 | #include "qscriptclass.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptClassPropertyIterator: -------------------------------------------------------------------------------- 1 | #include "qscriptclasspropertyiterator.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptContext: -------------------------------------------------------------------------------- 1 | #include "qscriptcontext.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptContextInfo: -------------------------------------------------------------------------------- 1 | #include "qscriptcontextinfo.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptEngine: -------------------------------------------------------------------------------- 1 | #include "qscriptengine.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptEngineAgent: -------------------------------------------------------------------------------- 1 | #include "qscriptengineagent.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptExtensionPlugin: -------------------------------------------------------------------------------- 1 | #include "qscriptextensionplugin.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptString: -------------------------------------------------------------------------------- 1 | #include "qscriptstring.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptSyntaxCheckResult: -------------------------------------------------------------------------------- 1 | #include "qscriptengine.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptValue: -------------------------------------------------------------------------------- 1 | #include "qscriptvalue.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptValueIterator: -------------------------------------------------------------------------------- 1 | #include "qscriptvalueiterator.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QScriptable: -------------------------------------------------------------------------------- 1 | #include "qscriptable.h" 2 | -------------------------------------------------------------------------------- /qtscriptclassic/src/QtScript: -------------------------------------------------------------------------------- 1 | #ifndef QT_QTSCRIPT_MODULE_H 2 | #define QT_QTSCRIPT_MODULE_H 3 | #include 4 | #include "qscriptextensionplugin.h" 5 | #include "qscriptvalue.h" 6 | #include "qscriptstring.h" 7 | #include "qscriptextensioninterface.h" 8 | #include "qscriptengineagent.h" 9 | #include "qscriptable.h" 10 | #include "qscriptcontext.h" 11 | #include "qscriptvalueiterator.h" 12 | #include "qscriptclasspropertyiterator.h" 13 | #include "qscriptengine.h" 14 | #include "qscriptcontextinfo.h" 15 | #include "qscriptclass.h" 16 | #endif 17 | -------------------------------------------------------------------------------- /qtscriptclassic/src/qscriptastvisitor.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | 42 | #include "qscriptastvisitor_p.h" 43 | 44 | QT_BEGIN_NAMESPACE 45 | 46 | namespace QScript { namespace AST { 47 | 48 | Visitor::Visitor() 49 | { 50 | } 51 | 52 | Visitor::~Visitor() 53 | { 54 | } 55 | 56 | } } // namespace QScript::AST 57 | 58 | QT_END_NAMESPACE 59 | -------------------------------------------------------------------------------- /qtscriptclassic/src/qtscriptclassic.pri: -------------------------------------------------------------------------------- 1 | INCLUDEPATH += $$PWD/../include $$PWD 2 | DEPENDPATH += $$PWD 3 | TEMPLATE += fakelib 4 | mac:LIBS += -F$$PWD/../lib -framework QtScriptClassic 5 | else:LIBS += -L$$PWD/../lib -l$$qtLibraryTarget(QtScriptClassic) 6 | TEMPLATE -= fakelib 7 | unix:QMAKE_RPATHDIR += $$PWD/../lib 8 | -------------------------------------------------------------------------------- /qtservice/.qmake.stash: -------------------------------------------------------------------------------- 1 | QMAKE_CXX.QT_COMPILER_STDCXX = 199711L 2 | QMAKE_CXX.QMAKE_MSC_VER = 1916 3 | QMAKE_CXX.QMAKE_MSC_FULL_VER = 191627039 4 | QMAKE_CXX.COMPILER_MACROS = \ 5 | QT_COMPILER_STDCXX \ 6 | QMAKE_MSC_VER \ 7 | QMAKE_MSC_FULL_VER 8 | QMAKE_CXX.INCDIRS = \ 9 | D:\\VS\\VC\\Tools\\MSVC\\14.16.27023\\ATLMFC\\include \ 10 | D:\\VS\\VC\\Tools\\MSVC\\14.16.27023\\include \ 11 | "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\include\\um" \ 12 | "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17134.0\\ucrt" \ 13 | "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17134.0\\shared" \ 14 | "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17134.0\\um" \ 15 | "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17134.0\\winrt" \ 16 | "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17134.0\\cppwinrt" 17 | QMAKE_CXX.LIBDIRS = \ 18 | D:\\VS\\VC\\Tools\\MSVC\\14.16.27023\\ATLMFC\\lib\\x86 \ 19 | D:\\VS\\VC\\Tools\\MSVC\\14.16.27023\\lib\\x86 \ 20 | "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\lib\\um\\x86" \ 21 | "C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.17134.0\\ucrt\\x86" \ 22 | "C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.17134.0\\um\\x86" 23 | -------------------------------------------------------------------------------- /qtservice/README.TXT: -------------------------------------------------------------------------------- 1 | Qt Solutions Component: Service 2 | 3 | The QtService component is useful for developing Windows services 4 | and Unix daemons. 5 | 6 | 7 | 8 | Version history: 9 | 10 | 2.0: - Reimplemented for Qt 4 with improved API. 11 | 12 | 2.1: - More feedback while installing / uninstalling. 13 | - Unix: Documentation about installing service improved. 14 | - Windows: Added account and password arguments to install(). 15 | - Windows: Report status correcty when stopping through the 16 | controller. 17 | - Windows: Send command IDs correctly. 18 | 19 | 2.2: - Unix: logMessage() works properly with '%' characters. 20 | - Windows: Dependency on the QtGui library removed. 21 | 22 | 2.3: - Unix: Using QProcess in a service no longer leaves zombie 23 | processes around. 24 | - Windows: Place controller's receiver object in proper thread. 25 | (makes QtService work with Qt 4.2). 26 | - Compilation fixes for MinGW. 27 | 28 | 2.4: - Windows: Do net require Administrator privileges just to 29 | start service. 30 | - Improved command-line help text. 31 | - Document the caveats of using GUI services, including that Vista 32 | does not support it. 33 | - Added -w(ait) argument to controller example 34 | - Added doc about usage on Windows Vista 35 | - Windows: Fix: GUI services would terminate on logoff. 36 | - Windows: internal redesign of threading. Fixes issue where 37 | signal/slot connections created before start() would not work. 38 | Fixes problem/warning about QApplication not created in main 39 | thread. 40 | 41 | 2.5: - Fixes: crash on OS X Leopard. Note: On mac, main() will now 42 | be executed both in the starting process and in the forked, 43 | service process. This is consistent with the behaviour on Windows. 44 | - Fixes: Improved logging of multi-line messages on Unix. 45 | 46 | 2.6: - Misc. minor fixes. 47 | - LGPL release. 48 | 49 | -------------------------------------------------------------------------------- /qtservice/buildlib/buildlib.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=lib 2 | CONFIG += qt dll qtservice-buildlib 3 | mac:CONFIG += absolute_library_soname 4 | win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release build_all 5 | include(../src/qtservice.pri) 6 | TARGET = $$QTSERVICE_LIBNAME 7 | DESTDIR = $$QTSERVICE_LIBDIR 8 | win32 { 9 | DLLDESTDIR = $$[QT_INSTALL_BINS] 10 | QMAKE_DISTCLEAN += $$[QT_INSTALL_BINS]\\$${QTSERVICE_LIBNAME}.dll 11 | } 12 | target.path = $$DESTDIR 13 | INSTALLS += target 14 | -------------------------------------------------------------------------------- /qtservice/common.pri: -------------------------------------------------------------------------------- 1 | exists(config.pri):infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtservice-uselib 2 | TEMPLATE += fakelib 3 | QTSERVICE_LIBNAME = QtSolutions_Service-head 4 | CONFIG(debug, debug|release) { 5 | mac:QTSERVICE_LIBNAME = $$member(QTSERVICE_LIBNAME, 0)_debug 6 | else:win32:QTSERVICE_LIBNAME = $$member(QTSERVICE_LIBNAME, 0)d 7 | } 8 | TEMPLATE -= fakelib 9 | QTSERVICE_LIBDIR = $$PWD/lib 10 | unix:qtservice-uselib:!qtservice-buildlib:QMAKE_RPATHDIR += $$QTSERVICE_LIBDIR 11 | -------------------------------------------------------------------------------- /qtservice/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "x$1" != "x" -a "x$1" != "x-library" ]; then 4 | echo "Usage: $0 [-library]" 5 | echo 6 | echo "-library: Build the component as a dynamic library (DLL). Default is to" 7 | echo " include the component source code directly in the application." 8 | echo 9 | exit 0 10 | fi 11 | 12 | rm -f config.pri 13 | if [ "x$1" = "x-library" ]; then 14 | echo "Configuring to build this component as a dynamic library." 15 | echo "SOLUTIONS_LIBRARY = yes" > config.pri 16 | fi 17 | 18 | echo 19 | echo "This component is now configured." 20 | echo 21 | echo "To build the component library (if requested) and example(s)," 22 | echo "run qmake and your make command." 23 | echo 24 | echo "To remove or reconfigure, run make distclean." 25 | echo 26 | -------------------------------------------------------------------------------- /qtservice/doc/html/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/doc/html/images/qt-logo.png -------------------------------------------------------------------------------- /qtservice/doc/html/index.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Service 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

Service
16 |

17 | 18 |

Description

19 |

The QtService component is useful for developing Windows services and Unix daemons.

20 |

The project provides a QtService template class that can be used to implement service applications, and a QtServiceController class to control a service.

21 |

On Windows systems the implementation uses the Service Control Manager.

22 |

On Unix systems services are implemented as daemons.

23 | 24 |

Classes

25 | 30 | 31 |

Examples

32 | 37 | 38 |

Tested platforms

39 |
    40 |
  • Qt 4.4, 4.5 / Windows XP / MSVC.NET 2005
  • 41 |
  • Qt 4.4, 4.5 / Linux / gcc
  • 42 |
  • Qt 4.4, 4.5 / MacOS X 10.5 / gcc
  • 43 |
44 |


45 | 46 | 47 | 48 | 49 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
50 | 51 | -------------------------------------------------------------------------------- /qtservice/doc/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/doc/images/qt-logo.png -------------------------------------------------------------------------------- /qtservice/examples/controller/controller.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | CONFIG += console qt 3 | QT = core 4 | 5 | SOURCES = main.cpp 6 | 7 | include(../../src/qtservice.pri) 8 | -------------------------------------------------------------------------------- /qtservice/examples/controller/debug/controller.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/controller/debug/controller.exe -------------------------------------------------------------------------------- /qtservice/examples/controller/debug/controller.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/controller/debug/controller.ilk -------------------------------------------------------------------------------- /qtservice/examples/controller/debug/controller.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/controller/debug/controller.pdb -------------------------------------------------------------------------------- /qtservice/examples/controller/debug/controller.vc.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/controller/debug/controller.vc.pdb -------------------------------------------------------------------------------- /qtservice/examples/controller/debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/controller/debug/main.obj -------------------------------------------------------------------------------- /qtservice/examples/controller/debug/moc_predefs.h: -------------------------------------------------------------------------------- 1 | #define _MSC_EXTENSIONS 2 | #define _INTEGRAL_MAX_BITS 64 3 | #define _MSC_VER 1916 4 | #define _MSC_FULL_VER 191627039 5 | #define _MSC_BUILD 0 6 | #define _WIN32 7 | #define _M_IX86 600 8 | #define _M_IX86_FP 2 9 | #define _CPPRTTI 10 | #define _DEBUG 11 | #define _MT 12 | #define _DLL 13 | -------------------------------------------------------------------------------- /qtservice/examples/controller/debug/qtservice.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/controller/debug/qtservice.obj -------------------------------------------------------------------------------- /qtservice/examples/controller/debug/qtservice_win.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/controller/debug/qtservice_win.obj -------------------------------------------------------------------------------- /qtservice/examples/examples.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS = interactive \ 3 | server \ 4 | controller 5 | -------------------------------------------------------------------------------- /qtservice/examples/interactive/debug/interactive.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/interactive/debug/interactive.exe -------------------------------------------------------------------------------- /qtservice/examples/interactive/debug/interactive.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/interactive/debug/interactive.ilk -------------------------------------------------------------------------------- /qtservice/examples/interactive/debug/interactive.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/interactive/debug/interactive.pdb -------------------------------------------------------------------------------- /qtservice/examples/interactive/debug/interactive.vc.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/interactive/debug/interactive.vc.pdb -------------------------------------------------------------------------------- /qtservice/examples/interactive/debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/interactive/debug/main.obj -------------------------------------------------------------------------------- /qtservice/examples/interactive/debug/moc_predefs.h: -------------------------------------------------------------------------------- 1 | #define _MSC_EXTENSIONS 2 | #define _INTEGRAL_MAX_BITS 64 3 | #define _MSC_VER 1916 4 | #define _MSC_FULL_VER 191627039 5 | #define _MSC_BUILD 0 6 | #define _WIN32 7 | #define _M_IX86 600 8 | #define _M_IX86_FP 2 9 | #define _CPPRTTI 10 | #define _DEBUG 11 | #define _MT 12 | #define _DLL 13 | -------------------------------------------------------------------------------- /qtservice/examples/interactive/debug/qtservice.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/interactive/debug/qtservice.obj -------------------------------------------------------------------------------- /qtservice/examples/interactive/debug/qtservice_win.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/interactive/debug/qtservice_win.obj -------------------------------------------------------------------------------- /qtservice/examples/interactive/interactive.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | CONFIG += console qt 3 | greaterThan(QT_MAJOR_VERSION, 4): QT += widgets 4 | 5 | SOURCES = main.cpp 6 | 7 | include(../../src/qtservice.pri) 8 | -------------------------------------------------------------------------------- /qtservice/examples/server/debug/httpservice.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/server/debug/httpservice.exe -------------------------------------------------------------------------------- /qtservice/examples/server/debug/httpservice.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/server/debug/httpservice.ilk -------------------------------------------------------------------------------- /qtservice/examples/server/debug/httpservice.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/server/debug/httpservice.pdb -------------------------------------------------------------------------------- /qtservice/examples/server/debug/httpservice.vc.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/server/debug/httpservice.vc.pdb -------------------------------------------------------------------------------- /qtservice/examples/server/debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/server/debug/main.obj -------------------------------------------------------------------------------- /qtservice/examples/server/debug/moc_predefs.h: -------------------------------------------------------------------------------- 1 | #define _MSC_EXTENSIONS 2 | #define _INTEGRAL_MAX_BITS 64 3 | #define _MSC_VER 1916 4 | #define _MSC_FULL_VER 191627039 5 | #define _MSC_BUILD 0 6 | #define _WIN32 7 | #define _M_IX86 600 8 | #define _M_IX86_FP 2 9 | #define _CPPRTTI 10 | #define _DEBUG 11 | #define _MT 12 | #define _DLL 13 | -------------------------------------------------------------------------------- /qtservice/examples/server/debug/qtservice.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/server/debug/qtservice.obj -------------------------------------------------------------------------------- /qtservice/examples/server/debug/qtservice_win.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtservice/examples/server/debug/qtservice_win.obj -------------------------------------------------------------------------------- /qtservice/examples/server/server.pro: -------------------------------------------------------------------------------- 1 | TARGET = httpservice 2 | TEMPLATE = app 3 | CONFIG += console qt 4 | QT = core network 5 | 6 | SOURCES = main.cpp 7 | 8 | include(../../src/qtservice.pri) 9 | -------------------------------------------------------------------------------- /qtservice/qtservice.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=subdirs 2 | CONFIG += ordered 3 | include(common.pri) 4 | qtservice-uselib:SUBDIRS=buildlib 5 | SUBDIRS+=examples 6 | -------------------------------------------------------------------------------- /qtservice/src/QtService: -------------------------------------------------------------------------------- 1 | #include "qtservice.h" 2 | -------------------------------------------------------------------------------- /qtservice/src/QtServiceBase: -------------------------------------------------------------------------------- 1 | #include "qtservice.h" 2 | -------------------------------------------------------------------------------- /qtservice/src/QtServiceController: -------------------------------------------------------------------------------- 1 | #include "qtservice.h" 2 | -------------------------------------------------------------------------------- /qtservice/src/qtservice.pri: -------------------------------------------------------------------------------- 1 | include(../common.pri) 2 | INCLUDEPATH += $$PWD 3 | DEPENDPATH += $$PWD 4 | !win32:QT += network 5 | win32:LIBS += -luser32 6 | 7 | qtservice-uselib:!qtservice-buildlib { 8 | LIBS += -L$$QTSERVICE_LIBDIR -l$$QTSERVICE_LIBNAME 9 | } else { 10 | HEADERS += $$PWD/qtservice.h \ 11 | $$PWD/qtservice_p.h 12 | SOURCES += $$PWD/qtservice.cpp 13 | win32:SOURCES += $$PWD/qtservice_win.cpp 14 | unix:HEADERS += $$PWD/qtunixsocket.h $$PWD/qtunixserversocket.h 15 | unix:SOURCES += $$PWD/qtservice_unix.cpp $$PWD/qtunixsocket.cpp $$PWD/qtunixserversocket.cpp 16 | } 17 | 18 | win32 { 19 | qtservice-buildlib:shared:DEFINES += QT_QTSERVICE_EXPORT 20 | else:qtservice-uselib:DEFINES += QT_QTSERVICE_IMPORT 21 | } 22 | -------------------------------------------------------------------------------- /qtservice/src/qtunixserversocket.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | #ifndef QTUNIXSERVERSOCKET_H 42 | #define QTUNIXSERVERSOCKET_H 43 | 44 | #include 45 | 46 | class QtUnixServerSocket : public QTcpServer 47 | { 48 | Q_OBJECT 49 | public: 50 | QtUnixServerSocket(const QString &path, QObject *parent = 0); 51 | QtUnixServerSocket(QObject *parent = 0); 52 | 53 | void setPath(const QString &path); 54 | void close(); 55 | 56 | private: 57 | QString path_; 58 | }; 59 | 60 | 61 | #endif 62 | -------------------------------------------------------------------------------- /qtservice/src/qtunixsocket.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | #ifndef QTUNIXSOCKET_H 42 | #define QTUNIXSOCKET_H 43 | 44 | #include 45 | 46 | class QtUnixSocket : public QTcpSocket 47 | { 48 | Q_OBJECT 49 | public: 50 | QtUnixSocket(QObject *parent = 0); 51 | 52 | bool connectTo(const QString &path); 53 | }; 54 | 55 | #endif 56 | -------------------------------------------------------------------------------- /qtsingleapplication/README.TXT: -------------------------------------------------------------------------------- 1 | Qt Solutions Component: Single Application 2 | 3 | The QtSingleApplication component provides support for 4 | applications that can be only started once per user. 5 | 6 | 7 | 8 | Version history: 9 | 10 | 2.0: - Version 1.3 ported to Qt 4. 11 | 12 | 2.1: - Fix compilation problem on Mac. 13 | 14 | 2.2: - Really fix the Mac compilation problem. 15 | - Mac: fix crash due to wrong object releasing. 16 | - Mac: Fix memory leak. 17 | 18 | 2.3: - Windows: Force creation of internal widget to make it work 19 | with Qt 4.2. 20 | 21 | 2.4: - Fix the system for automatic window raising on message 22 | reception. NOTE: minor API change. 23 | 24 | 2.5: - Mac: Fix isRunning() to work and report correctly. 25 | 26 | 2.6: - - initialize() is now obsolete, no longer necessary to call 27 | it 28 | - - Fixed race condition where multiple instances migth be started 29 | - - QtSingleCoreApplication variant provided for non-GUI (console) 30 | usage 31 | - Complete reimplementation. Visible changes: 32 | - LGPL release. 33 | 34 | -------------------------------------------------------------------------------- /qtsingleapplication/buildlib/.qmake.stash: -------------------------------------------------------------------------------- 1 | QMAKE_CXX.QT_COMPILER_STDCXX = 199711L 2 | QMAKE_CXX.QMAKE_MSC_VER = 1916 3 | QMAKE_CXX.QMAKE_MSC_FULL_VER = 191627039 4 | QMAKE_CXX.COMPILER_MACROS = \ 5 | QT_COMPILER_STDCXX \ 6 | QMAKE_MSC_VER \ 7 | QMAKE_MSC_FULL_VER 8 | QMAKE_CXX.INCDIRS = \ 9 | D:\\VS\\VC\\Tools\\MSVC\\14.16.27023\\ATLMFC\\include \ 10 | D:\\VS\\VC\\Tools\\MSVC\\14.16.27023\\include \ 11 | "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\include\\um" \ 12 | "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17134.0\\ucrt" \ 13 | "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17134.0\\shared" \ 14 | "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17134.0\\um" \ 15 | "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17134.0\\winrt" \ 16 | "C:\\Program Files (x86)\\Windows Kits\\10\\include\\10.0.17134.0\\cppwinrt" 17 | QMAKE_CXX.LIBDIRS = \ 18 | D:\\VS\\VC\\Tools\\MSVC\\14.16.27023\\ATLMFC\\lib\\x86 \ 19 | D:\\VS\\VC\\Tools\\MSVC\\14.16.27023\\lib\\x86 \ 20 | "C:\\Program Files (x86)\\Windows Kits\\NETFXSDK\\4.6.1\\lib\\um\\x86" \ 21 | "C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.17134.0\\ucrt\\x86" \ 22 | "C:\\Program Files (x86)\\Windows Kits\\10\\lib\\10.0.17134.0\\um\\x86" 23 | -------------------------------------------------------------------------------- /qtsingleapplication/buildlib/buildlib.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=lib 2 | CONFIG += qt dll qtsingleapplication-buildlib 3 | mac:CONFIG += absolute_library_soname 4 | win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release build_all 5 | include(../src/qtsingleapplication.pri) 6 | TARGET = $$QTSINGLEAPPLICATION_LIBNAME 7 | DESTDIR = $$QTSINGLEAPPLICATION_LIBDIR 8 | win32 { 9 | DLLDESTDIR = $$[QT_INSTALL_BINS] 10 | QMAKE_DISTCLEAN += $$[QT_INSTALL_BINS]\\$${QTSINGLEAPPLICATION_LIBNAME}.dll 11 | } 12 | target.path = $$DESTDIR 13 | INSTALLS += target 14 | -------------------------------------------------------------------------------- /qtsingleapplication/buildlib/release/moc_predefs.h: -------------------------------------------------------------------------------- 1 | #define _MSC_EXTENSIONS 2 | #define _INTEGRAL_MAX_BITS 64 3 | #define _MSC_VER 1916 4 | #define _MSC_FULL_VER 191627039 5 | #define _MSC_BUILD 0 6 | #define _WIN32 7 | #define _M_IX86 600 8 | #define _M_IX86_FP 2 9 | #define _CPPRTTI 10 | #define _MT 11 | #define _DLL 12 | -------------------------------------------------------------------------------- /qtsingleapplication/buildlib/release/moc_qtlocalpeer.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/buildlib/release/moc_qtlocalpeer.obj -------------------------------------------------------------------------------- /qtsingleapplication/buildlib/release/moc_qtsingleapplication.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/buildlib/release/moc_qtsingleapplication.obj -------------------------------------------------------------------------------- /qtsingleapplication/buildlib/release/qtlocalpeer.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/buildlib/release/qtlocalpeer.obj -------------------------------------------------------------------------------- /qtsingleapplication/buildlib/release/qtsingleapplication.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/buildlib/release/qtsingleapplication.obj -------------------------------------------------------------------------------- /qtsingleapplication/common.pri: -------------------------------------------------------------------------------- 1 | exists(config.pri):infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtsingleapplication-uselib 2 | 3 | TEMPLATE += fakelib 4 | greaterThan(QT_MAJOR_VERSION, 5)|\ 5 | if(equals(QT_MAJOR_VERSION, 5):greaterThan(QT_MINOR_VERSION, 4))|\ 6 | if(equals(QT_MAJOR_VERSION, 5):equals(QT_MINOR_VERSION, 4):greaterThan(QT_PATCH_VERSION, 1)) { 7 | QTSINGLEAPPLICATION_LIBNAME = $$qt5LibraryTarget(QtSolutions_SingleApplication-head) 8 | } else { 9 | QTSINGLEAPPLICATION_LIBNAME = $$qtLibraryTarget(QtSolutions_SingleApplication-head) 10 | } 11 | TEMPLATE -= fakelib 12 | 13 | QTSINGLEAPPLICATION_LIBDIR = $$PWD/lib 14 | unix:qtsingleapplication-uselib:!qtsingleapplication-buildlib:QMAKE_RPATHDIR += $$QTSINGLEAPPLICATION_LIBDIR 15 | -------------------------------------------------------------------------------- /qtsingleapplication/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "x$1" != "x" -a "x$1" != "x-library" ]; then 4 | echo "Usage: $0 [-library]" 5 | echo 6 | echo "-library: Build the component as a dynamic library (DLL). Default is to" 7 | echo " include the component source code directly in the application." 8 | echo 9 | exit 0 10 | fi 11 | 12 | rm -f config.pri 13 | if [ "x$1" = "x-library" ]; then 14 | echo "Configuring to build this component as a dynamic library." 15 | echo "SOLUTIONS_LIBRARY = yes" > config.pri 16 | fi 17 | 18 | echo 19 | echo "This component is now configured." 20 | echo 21 | echo "To build the component library (if requested) and example(s)," 22 | echo "run qmake and your make command." 23 | echo 24 | echo "To remove or reconfigure, run make distclean." 25 | echo 26 | -------------------------------------------------------------------------------- /qtsingleapplication/doc/html/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/doc/html/images/qt-logo.png -------------------------------------------------------------------------------- /qtsingleapplication/doc/html/qtsingleapplication-obsolete.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Obsolete Members for QtSingleApplication 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

Obsolete Members for QtSingleApplication

16 |

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

17 |

18 |

Public Functions

19 | 20 | 21 |
void initialize ( bool dummy = true )   (obsolete)
22 |
23 |

Member Function Documentation

24 |

void QtSingleApplication::initialize ( bool dummy = true )

25 |


26 | 27 | 28 | 29 | 30 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
31 | 32 | -------------------------------------------------------------------------------- /qtsingleapplication/doc/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/doc/images/qt-logo.png -------------------------------------------------------------------------------- /qtsingleapplication/examples/console/console.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | CONFIG += console 3 | SOURCES += main.cpp 4 | include(../../src/qtsinglecoreapplication.pri) 5 | QT -= gui 6 | -------------------------------------------------------------------------------- /qtsingleapplication/examples/console/debug/console.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/console/debug/console.exe -------------------------------------------------------------------------------- /qtsingleapplication/examples/console/debug/console.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/console/debug/console.ilk -------------------------------------------------------------------------------- /qtsingleapplication/examples/console/debug/console.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/console/debug/console.pdb -------------------------------------------------------------------------------- /qtsingleapplication/examples/console/debug/console.vc.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/console/debug/console.vc.pdb -------------------------------------------------------------------------------- /qtsingleapplication/examples/console/debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/console/debug/main.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/console/debug/moc_predefs.h: -------------------------------------------------------------------------------- 1 | #define _MSC_EXTENSIONS 2 | #define _INTEGRAL_MAX_BITS 64 3 | #define _MSC_VER 1916 4 | #define _MSC_FULL_VER 191627039 5 | #define _MSC_BUILD 0 6 | #define _WIN32 7 | #define _M_IX86 600 8 | #define _M_IX86_FP 2 9 | #define _CPPRTTI 10 | #define _DEBUG 11 | #define _MT 12 | #define _DLL 13 | -------------------------------------------------------------------------------- /qtsingleapplication/examples/console/debug/moc_qtlocalpeer.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/console/debug/moc_qtlocalpeer.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/console/debug/moc_qtsinglecoreapplication.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/console/debug/moc_qtsinglecoreapplication.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/console/debug/qtlocalpeer.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/console/debug/qtlocalpeer.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/console/debug/qtsinglecoreapplication.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/console/debug/qtsinglecoreapplication.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/examples.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS = trivial \ 3 | loader \ 4 | console 5 | -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/debug/loader.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/loader/debug/loader.exe -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/debug/loader.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/loader/debug/loader.ilk -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/debug/loader.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/loader/debug/loader.pdb -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/debug/loader.vc.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/loader/debug/loader.vc.pdb -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/loader/debug/main.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/debug/moc_predefs.h: -------------------------------------------------------------------------------- 1 | #define _MSC_EXTENSIONS 2 | #define _INTEGRAL_MAX_BITS 64 3 | #define _MSC_VER 1916 4 | #define _MSC_FULL_VER 191627039 5 | #define _MSC_BUILD 0 6 | #define _WIN32 7 | #define _M_IX86 600 8 | #define _M_IX86_FP 2 9 | #define _CPPRTTI 10 | #define _DEBUG 11 | #define _MT 12 | #define _DLL 13 | -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/debug/moc_qtlocalpeer.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/loader/debug/moc_qtlocalpeer.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/debug/moc_qtsingleapplication.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/loader/debug/moc_qtsingleapplication.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/debug/qtlocalpeer.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/loader/debug/qtlocalpeer.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/debug/qtsingleapplication.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/loader/debug/qtsingleapplication.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/file1.qsl: -------------------------------------------------------------------------------- 1 | File 1 2 | -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/file2.qsl: -------------------------------------------------------------------------------- 1 | File 2 2 | -------------------------------------------------------------------------------- /qtsingleapplication/examples/loader/loader.pro: -------------------------------------------------------------------------------- 1 | greaterThan(QT_MAJOR_VERSION, 4): QT += printsupport 2 | TEMPLATE = app 3 | 4 | include(../../src/qtsingleapplication.pri) 5 | 6 | SOURCES += main.cpp 7 | -------------------------------------------------------------------------------- /qtsingleapplication/examples/trivial/debug/main.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/trivial/debug/main.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/trivial/debug/moc_predefs.h: -------------------------------------------------------------------------------- 1 | #define _MSC_EXTENSIONS 2 | #define _INTEGRAL_MAX_BITS 64 3 | #define _MSC_VER 1916 4 | #define _MSC_FULL_VER 191627039 5 | #define _MSC_BUILD 0 6 | #define _WIN32 7 | #define _M_IX86 600 8 | #define _M_IX86_FP 2 9 | #define _CPPRTTI 10 | #define _DEBUG 11 | #define _MT 12 | #define _DLL 13 | -------------------------------------------------------------------------------- /qtsingleapplication/examples/trivial/debug/moc_qtlocalpeer.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/trivial/debug/moc_qtlocalpeer.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/trivial/debug/moc_qtsingleapplication.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/trivial/debug/moc_qtsingleapplication.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/trivial/debug/qtlocalpeer.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/trivial/debug/qtlocalpeer.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/trivial/debug/qtsingleapplication.obj: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/trivial/debug/qtsingleapplication.obj -------------------------------------------------------------------------------- /qtsingleapplication/examples/trivial/debug/trivial.exe: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/trivial/debug/trivial.exe -------------------------------------------------------------------------------- /qtsingleapplication/examples/trivial/debug/trivial.ilk: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/trivial/debug/trivial.ilk -------------------------------------------------------------------------------- /qtsingleapplication/examples/trivial/debug/trivial.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/trivial/debug/trivial.pdb -------------------------------------------------------------------------------- /qtsingleapplication/examples/trivial/debug/trivial.vc.pdb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsingleapplication/examples/trivial/debug/trivial.vc.pdb -------------------------------------------------------------------------------- /qtsingleapplication/examples/trivial/trivial.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | 3 | include(../../src/qtsingleapplication.pri) 4 | 5 | SOURCES += main.cpp 6 | -------------------------------------------------------------------------------- /qtsingleapplication/qtsingleapplication.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=subdirs 2 | CONFIG += ordered 3 | include(common.pri) 4 | qtsingleapplication-uselib:SUBDIRS=buildlib 5 | SUBDIRS+=examples 6 | -------------------------------------------------------------------------------- /qtsingleapplication/src/QtLockedFile: -------------------------------------------------------------------------------- 1 | #include "qtlockedfile.h" 2 | -------------------------------------------------------------------------------- /qtsingleapplication/src/QtSingleApplication: -------------------------------------------------------------------------------- 1 | #include "qtsingleapplication.h" 2 | -------------------------------------------------------------------------------- /qtsingleapplication/src/qtsingleapplication.pri: -------------------------------------------------------------------------------- 1 | include(../common.pri) 2 | INCLUDEPATH += $$PWD 3 | DEPENDPATH += $$PWD 4 | QT *= network 5 | greaterThan(QT_MAJOR_VERSION, 4): QT *= widgets 6 | 7 | qtsingleapplication-uselib:!qtsingleapplication-buildlib { 8 | LIBS += -L$$QTSINGLEAPPLICATION_LIBDIR -l$$QTSINGLEAPPLICATION_LIBNAME 9 | } else { 10 | SOURCES += $$PWD/qtsingleapplication.cpp $$PWD/qtlocalpeer.cpp 11 | HEADERS += $$PWD/qtsingleapplication.h $$PWD/qtlocalpeer.h 12 | } 13 | 14 | win32 { 15 | contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTSINGLEAPPLICATION_EXPORT 16 | else:qtsingleapplication-uselib:DEFINES += QT_QTSINGLEAPPLICATION_IMPORT 17 | } 18 | -------------------------------------------------------------------------------- /qtsingleapplication/src/qtsinglecoreapplication.pri: -------------------------------------------------------------------------------- 1 | INCLUDEPATH += $$PWD 2 | DEPENDPATH += $$PWD 3 | HEADERS += $$PWD/qtsinglecoreapplication.h $$PWD/qtlocalpeer.h 4 | SOURCES += $$PWD/qtsinglecoreapplication.cpp $$PWD/qtlocalpeer.cpp 5 | 6 | QT *= network 7 | 8 | win32:contains(TEMPLATE, lib):contains(CONFIG, shared) { 9 | DEFINES += QT_QTSINGLECOREAPPLICATION_EXPORT=__declspec(dllexport) 10 | } 11 | -------------------------------------------------------------------------------- /qtsoap/README.TXT: -------------------------------------------------------------------------------- 1 | Qt Solutions Component: SOAP 2 | 3 | The Qt SOAP project provides basic web service support with 4 | version 1.1 of the SOAP protocol. 5 | 6 | 7 | 8 | Notes: 9 | 10 | This is a partial implementation of SOAP v1.1. 11 | 12 | - Server side SOAP is not supported. - References to values (id & 13 | href attributes) are not supported. - Only arrays with less than 5 14 | dimensions are supported. - Namespaces for types are not checked. 15 | Only the type names are used. - The encodingStyle attribute is 16 | ignored. The serialization and encoding rules from section 5 in 17 | the SOAP v1.1 specification are assumed regardless of the value of 18 | the encodingStyle attribute. - QtSoapType does not have accessors 19 | for attributes, which means for example that actor, mustUnderstand 20 | and so on are not accessible in headers. - The SOAP root attribute 21 | is not supported. 22 | 23 | Version history: 24 | 25 | 1.1: - Have setContent() always skip first entry if it's not an 26 | element 27 | 28 | 1.2: - QtSoapArray::count() returns correct count 29 | 30 | 1.3: - Documentation fixes 31 | 32 | 2.0: - Version 1.3 ported to Qt 4. 33 | 34 | 2.1: - Fix memory leak, and fix for Qt 4.1. 35 | 36 | 2.2: - Bugfix, and fix for Qt 4.2. 37 | 38 | 2.3: - Handle (but don't preserve) comments in structs/arrays 39 | - Fix memory leak for QtSoapArray 40 | - Allow Array types to not have the "type" attribute set, as per 41 | the Soap 1.1 spec 42 | - Handle fault code of type (in addition to type String) 43 | 44 | 2.4: - Fix: Use UTF8 encoding, as the standard recommends, instead 45 | of Latin1. Indicate the charset in the header. 46 | - Fix: Allow header items to be added before body items, so the 47 | output will have the correct order (header before body), as per 48 | the standard. 49 | - Fix: Possible memory leak when copying QtSoapStructs and 50 | -Arrays. 51 | 52 | 2.5: - Fixes: Error handling. responseReady signal would sometimes 53 | not be emitted in error situations. Now, always emitted, and the 54 | error is recorded in the response. 55 | - Fixes: node parsing bug. 56 | - Fixes: arrayiterator bug, and wrong indices in array example 57 | code in doc. 58 | - Fixes: copying structs and arrays. 59 | - Added: support operator[] for structs. 60 | - Allow the transport to be set to https mode. 61 | 62 | 2.6: - Misc. minor fixes. 63 | - LGPL release. 64 | 65 | 2.7: - Auto-generation in SoapNamespaces has never worked as 66 | intended, dropped. 67 | - The HttpTransport class is now based on QNetworkManager et al. 68 | instead of QHttp. This entails some minor API changes to that 69 | class. 70 | 71 | -------------------------------------------------------------------------------- /qtsoap/buildlib/buildlib.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=lib 2 | CONFIG += qt dll qtsoap-buildlib 3 | mac:CONFIG += absolute_library_soname 4 | win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release build_all 5 | include(../src/qtsoap.pri) 6 | TARGET = $$QTSOAP_LIBNAME 7 | DESTDIR = $$QTSOAP_LIBDIR 8 | win32 { 9 | DLLDESTDIR = $$[QT_INSTALL_BINS] 10 | QMAKE_DISTCLEAN += $$[QT_INSTALL_BINS]\\$${QTSOAP_LIBNAME}.dll 11 | } 12 | target.path = $$DESTDIR 13 | INSTALLS += target 14 | -------------------------------------------------------------------------------- /qtsoap/common.pri: -------------------------------------------------------------------------------- 1 | exists(config.pri):infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtsoap-uselib 2 | TEMPLATE += fakelib 3 | QTSOAP_LIBNAME = $$qtLibraryTarget(QtSolutions_SOAP-head) 4 | TEMPLATE -= fakelib 5 | QTSOAP_LIBDIR = $$PWD/lib 6 | unix:qtsoap-uselib:!qtsoap-buildlib:QMAKE_RPATHDIR += $$QTSOAP_LIBDIR 7 | -------------------------------------------------------------------------------- /qtsoap/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "x$1" != "x" -a "x$1" != "x-library" ]; then 4 | echo "Usage: $0 [-library]" 5 | echo 6 | echo "-library: Build the component as a dynamic library (DLL). Default is to" 7 | echo " include the component source code directly in the application." 8 | echo 9 | exit 0 10 | fi 11 | 12 | rm -f config.pri 13 | if [ "x$1" = "x-library" ]; then 14 | echo "Configuring to build this component as a dynamic library." 15 | echo "SOLUTIONS_LIBRARY = yes" > config.pri 16 | fi 17 | 18 | echo 19 | echo "This component is now configured." 20 | echo 21 | echo "To build the component library (if requested) and example(s)," 22 | echo "run qmake and your make command." 23 | echo 24 | echo "To remove or reconfigure, run make distclean." 25 | echo 26 | -------------------------------------------------------------------------------- /qtsoap/doc/html/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsoap/doc/html/images/qt-logo.png -------------------------------------------------------------------------------- /qtsoap/doc/html/qtsoaphttptransport-obsolete.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Obsolete Members for QtSoapHttpTransport 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

Obsolete Members for QtSoapHttpTransport

16 |

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

17 |

18 |

Public Functions

19 | 20 | 21 |
void setHost ( const QString & host, int port )   (obsolete)
22 |
23 |

Member Function Documentation

24 |

void QtSoapHttpTransport::setHost ( const QString & host, int port )

25 |


26 | 27 | 28 | 29 | 30 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
31 | 32 | -------------------------------------------------------------------------------- /qtsoap/doc/html/qtsoapnamespaces-members.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | List of All Members for QtSoapNamespaces 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

List of All Members for QtSoapNamespaces

16 |

This is the complete list of members for QtSoapNamespaces, including inherited members.

17 | 22 |


23 | 24 | 25 | 26 | 27 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
28 | 29 | -------------------------------------------------------------------------------- /qtsoap/doc/html/qtsoapqname-members.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | List of All Members for QtSoapQName 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

List of All Members for QtSoapQName

16 |

This is the complete list of members for QtSoapQName, including inherited members.

17 | 24 |


25 | 26 | 27 | 28 | 29 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
30 | 31 | -------------------------------------------------------------------------------- /qtsoap/doc/html/qtsoapstructiterator-members.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | List of All Members for QtSoapStructIterator 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

List of All Members for QtSoapStructIterator

16 |

This is the complete list of members for QtSoapStructIterator, including inherited members.

17 | 27 |


28 | 29 | 30 | 31 | 32 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
33 | 34 | -------------------------------------------------------------------------------- /qtsoap/doc/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtsoap/doc/images/qt-logo.png -------------------------------------------------------------------------------- /qtsoap/examples/easter/easter.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | #ifndef EASTER_H 42 | #define EASTER_H 43 | #include 44 | 45 | class Easter : public QObject 46 | { 47 | Q_OBJECT 48 | public: 49 | Easter(short year, QObject *parent = 0); 50 | 51 | private slots: 52 | void getResponse(const QtSoapMessage &); 53 | 54 | private: 55 | QtSoapHttpTransport http; 56 | int year; 57 | }; 58 | 59 | #endif 60 | -------------------------------------------------------------------------------- /qtsoap/examples/easter/easter.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | INCLUDEPATH += . 3 | CONFIG += console 4 | 5 | include(../../src/qtsoap.pri) 6 | 7 | # Input 8 | HEADERS += easter.h 9 | SOURCES += main.cpp easter.cpp 10 | -------------------------------------------------------------------------------- /qtsoap/examples/examples.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | SUBDIRS = google population easter 3 | 4 | -------------------------------------------------------------------------------- /qtsoap/examples/google/google.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | INCLUDEPATH += . 3 | 4 | include(../../src/qtsoap.pri) 5 | 6 | # Input 7 | HEADERS += google.h 8 | SOURCES += google.cpp main.cpp 9 | -------------------------------------------------------------------------------- /qtsoap/examples/google/main.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | #include 42 | #include "google.h" 43 | 44 | int main(int argc, char **argv) 45 | { 46 | QApplication app(argc, argv); 47 | 48 | Google google; 49 | 50 | google.show(); 51 | 52 | return app.exec(); 53 | } 54 | -------------------------------------------------------------------------------- /qtsoap/examples/population/population.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | #ifndef POPULATION_H 42 | #define POPULATION_H 43 | #include 44 | 45 | class Population : public QObject 46 | { 47 | Q_OBJECT 48 | public: 49 | Population(const QString &country, QObject *parent = 0); 50 | 51 | private slots: 52 | void getResponse(); 53 | 54 | private: 55 | QtSoapHttpTransport http; 56 | }; 57 | 58 | #endif 59 | -------------------------------------------------------------------------------- /qtsoap/examples/population/population.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | INCLUDEPATH += . 3 | CONFIG += console 4 | 5 | include(../../src/qtsoap.pri) 6 | 7 | HEADERS += population.h 8 | SOURCES += main.cpp population.cpp 9 | -------------------------------------------------------------------------------- /qtsoap/qtsoap.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=subdirs 2 | CONFIG += ordered 3 | include(common.pri) 4 | qtsoap-uselib:SUBDIRS=buildlib 5 | SUBDIRS+=examples 6 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapArray: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapArrayIterator: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapHttpTransport: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapMessage: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapNamespaces: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapQName: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapSimpleType: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapStruct: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapStructIterator: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapType: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapTypeConstructor: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapTypeConstructorBase: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/QtSoapTypeFactory: -------------------------------------------------------------------------------- 1 | #include "qtsoap.h" 2 | -------------------------------------------------------------------------------- /qtsoap/src/qtsoap.pri: -------------------------------------------------------------------------------- 1 | include(../common.pri) 2 | INCLUDEPATH += $$PWD 3 | DEPENDPATH += $$PWD 4 | QT += xml network 5 | 6 | qtsoap-uselib:!qtsoap-buildlib { 7 | LIBS += -L$$QTSOAP_LIBDIR -l$$QTSOAP_LIBNAME 8 | } else { 9 | SOURCES += $$PWD/qtsoap.cpp 10 | HEADERS += $$PWD/qtsoap.h 11 | } 12 | 13 | win32 { 14 | contains(TEMPLATE, lib):contains(CONFIG, shared):DEFINES += QT_QTSOAP_EXPORT 15 | else:qtsoap-uselib:DEFINES += QT_QTSOAP_IMPORT 16 | } 17 | -------------------------------------------------------------------------------- /qtwinmigrate/README.TXT: -------------------------------------------------------------------------------- 1 | Qt Solutions Component: Qt/MFC Migration Framework 2 | 3 | The Qt/MFC Migration Framework tool assists in the migration of 4 | existing Win32 or MFC applications to the Qt toolkit. 5 | 6 | The project provides a set of classes that allow using Qt and 7 | MFC/Win32 windows in the same application. User interface elements 8 | developed with Qt can be embedded into an existing MFC or Win32 9 | based user interface, and existing custom controls developed with 10 | MFC or Win32 can be integrated into Qt widgets. 11 | 12 | Notes: 13 | 14 | When building this component as a library ("configure.bat 15 | -library"), the default configuration includes MFC support. That 16 | is, the MFC SDK must be present, otherwise compilation will fail. 17 | To avoid this dependency (e.g. for usage with Visual Studio 18 | Express editions, which do not include MFC), edit the 19 | src/qtwinmigrate.pri file as explained in its comments before 20 | building this component. 21 | 22 | Version history: 23 | 24 | 1.1: - Block the Win32 window when a modal Qt dialog opens. 25 | 26 | 1.2: - Integrate Qt and Win32 focus chains for QWinWidget. 27 | 28 | 2.0: - Version 1.2 ported to Qt 4. 29 | 30 | 2.1: - Fix compilation issue in "winwidget" example. 31 | - Don't close when the last Qt widget closes. 32 | - Improve idle-processing. 33 | - Make MFC accelerators work. 34 | 35 | 2.2: - Compilation and documentation fixes. 36 | 37 | 2.3: - Fix possible endless recursion when using QWinWidget in an 38 | MFC dialog. 39 | - Make sure that widgets paint focus indicators when tabbed into 40 | coming from Win32 windows. 41 | 42 | 2.4: - Make QtWinWidget center properly on parent widget when 43 | showCentered(). 44 | - Do not activate Win32 window when a nested Qt dialog is opened. 45 | 46 | 2.5: - Make QWinHost a Q_OBJECT to allow safe casting via 47 | qobject_cast. 48 | - Assert if window handles passed in are invalid. 49 | - Clarify documentation. 50 | - New API QWinWidget::center that does not show the widget. 51 | - Fix type of idle-counter to make OnIdle handling work as in MFC. 52 | 53 | 2.6: - Provide API to block deferred deletes from being processed. 54 | - Compile without Qt3Support. 55 | - Support modal QWinWidget-children that are not QDialogs. 56 | 57 | 2.7: - Fix potential infinite loop when setting focus. 58 | 59 | 2.8: - Misc. minor fixes. 60 | - LGPL release. 61 | 62 | -------------------------------------------------------------------------------- /qtwinmigrate/buildlib/buildlib.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=lib 2 | CONFIG += qt dll qtwinmigrate-buildlib 3 | mac:CONFIG += absolute_library_soname 4 | win32|mac:!wince*:!win32-msvc:!macx-xcode:CONFIG += debug_and_release build_all 5 | include(../src/qtwinmigrate.pri) 6 | TARGET = $$QTWINMIGRATE_LIBNAME 7 | DESTDIR = $$QTWINMIGRATE_LIBDIR 8 | win32 { 9 | DLLDESTDIR = $$[QT_INSTALL_BINS] 10 | QMAKE_DISTCLEAN += $$[QT_INSTALL_BINS]\\$${QTWINMIGRATE_LIBNAME}.dll 11 | } 12 | target.path = $$DESTDIR 13 | INSTALLS += target 14 | -------------------------------------------------------------------------------- /qtwinmigrate/common.pri: -------------------------------------------------------------------------------- 1 | exists(config.pri):infile(config.pri, SOLUTIONS_LIBRARY, yes): CONFIG += qtwinmigrate-uselib 2 | TEMPLATE += fakelib 3 | QTWINMIGRATE_LIBNAME = $$qtLibraryTarget(QtSolutions_MFCMigrationFramework-head) 4 | TEMPLATE -= fakelib 5 | QTWINMIGRATE_LIBDIR = $$PWD/lib 6 | unix:qtwinmigrate-uselib:!qtwinmigrate-buildlib:QMAKE_RPATHDIR += $$QTWINMIGRATE_LIBDIR 7 | -------------------------------------------------------------------------------- /qtwinmigrate/configure: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | if [ "x$1" != "x" -a "x$1" != "x-library" ]; then 4 | echo "Usage: $0 [-library]" 5 | echo 6 | echo "-library: Build the component as a dynamic library (DLL). Default is to" 7 | echo " include the component source code directly in the application." 8 | echo 9 | exit 0 10 | fi 11 | 12 | rm -f config.pri 13 | if [ "x$1" = "x-library" ]; then 14 | echo "Configuring to build this component as a dynamic library." 15 | echo "SOLUTIONS_LIBRARY = yes" > config.pri 16 | fi 17 | 18 | echo 19 | echo "This component is now configured." 20 | echo 21 | echo "To build the component library (if requested) and example(s)," 22 | echo "run qmake and your make command." 23 | echo 24 | echo "To remove or reconfigure, run make distclean." 25 | echo 26 | -------------------------------------------------------------------------------- /qtwinmigrate/doc/html/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtwinmigrate/doc/html/images/qt-logo.png -------------------------------------------------------------------------------- /qtwinmigrate/doc/html/qwinwidget-obsolete.html: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | 6 | 7 | Obsolete Members for QWinWidget 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 |
  Home

Obsolete Members for QWinWidget

16 |

The following class members are obsolete. They are provided to keep old source code working. We strongly advise against using them in new code.

17 |

18 |

Public Functions

19 | 20 | 21 |
void showCentered ()   (obsolete)
22 |
    23 |
  • 3 public functions inherited from QWidget
  • 24 |
25 |
26 |

Member Function Documentation

27 |

void QWinWidget::showCentered ()

28 |

Call center() instead.

29 |


30 | 31 | 32 | 33 | 34 |
Copyright © 2010 Nokia Corporation and/or its subsidiary(-ies)Trademarks
Qt Solutions
35 | 36 | -------------------------------------------------------------------------------- /qtwinmigrate/doc/images/qt-logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtwinmigrate/doc/images/qt-logo.png -------------------------------------------------------------------------------- /qtwinmigrate/examples/examples.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = subdirs 2 | 3 | SUBDIRS += winhost winwidget qtdll -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step1/Resource.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | //{{NO_DEPENDENCIES}} 42 | // Microsoft Visual C++ generated include file. 43 | // Used by QTMFC.RC 44 | // 45 | #define IDD_ABOUTBOX 100 46 | #define IDR_MAINFRAME 128 47 | #define IDR_QTMFCTYPE 129 48 | 49 | // Next default values for new objects 50 | // 51 | #ifdef APSTUDIO_INVOKED 52 | #ifndef APSTUDIO_READONLY_SYMBOLS 53 | #define _APS_3D_CONTROLS 1 54 | #define _APS_NEXT_RESOURCE_VALUE 130 55 | #define _APS_NEXT_CONTROL_VALUE 1000 56 | #define _APS_NEXT_SYMED_VALUE 101 57 | #define _APS_NEXT_COMMAND_VALUE 32771 58 | #endif 59 | #endif 60 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step1/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | // stdafx.cpp : source file that includes just the standard includes 42 | // QtMfc.pch will be the pre-compiled header 43 | // stdafx.obj will contain the pre-compiled type information 44 | 45 | #include "stdafx.h" 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step1/res/QtMfc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtwinmigrate/examples/mfc/step1/res/QtMfc.ico -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step1/res/QtMfc.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // QTMFC.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step2/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | // stdafx.cpp : source file that includes just the standard includes 42 | // QtMfc.pch will be the pre-compiled header 43 | // stdafx.obj will contain the pre-compiled type information 44 | 45 | #include "stdafx.h" 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step2/res/QtMfc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtwinmigrate/examples/mfc/step2/res/QtMfc.ico -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step2/res/QtMfc.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // QTMFC.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step2/step2.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = QtMfc2 3 | 4 | DEFINES -= UNICODE 5 | DEFINES += _AFXDLL WINVER=0x0500 6 | QMAKE_LIBS_QT_ENTRY = 7 | 8 | HEADERS = childview.h mainframe.h qtmfc.h stdafx.h 9 | SOURCES = childview.cpp mainframe.cpp qtmfc.cpp stdafx.cpp 10 | RC_FILE = qtmfc.rc 11 | 12 | include(../../../src/qtwinmigrate.pri) 13 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step3/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | // stdafx.cpp : source file that includes just the standard includes 42 | // QtMfc.pch will be the pre-compiled header 43 | // stdafx.obj will contain the pre-compiled type information 44 | 45 | #include "stdafx.h" 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step3/res/QtMfc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtwinmigrate/examples/mfc/step3/res/QtMfc.ico -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step3/res/QtMfc.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // QTMFC.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step3/step3.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = QtMfc3 3 | 4 | DEFINES -= UNICODE 5 | DEFINES += _AFXDLL WINVER=0x0500 6 | QMAKE_LIBS_QT_ENTRY = 7 | 8 | HEADERS = childview.h mainframe.h qtmfc.h stdafx.h 9 | SOURCES = childview.cpp mainframe.cpp qtmfc.cpp stdafx.cpp 10 | RC_FILE = qtmfc.rc 11 | 12 | include(../../../src/qtwinmigrate.pri) 13 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step4/StdAfx.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | // stdafx.cpp : source file that includes just the standard includes 42 | // QtMfc.pch will be the pre-compiled header 43 | // stdafx.obj will contain the pre-compiled type information 44 | 45 | #include "stdafx.h" 46 | 47 | 48 | 49 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step4/optionsdialog.ui: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | OptionsDialog 6 | 7 | 8 | 9 | 0 10 | 0 11 | 386 12 | 275 13 | 14 | 15 | 16 | Options 17 | 18 | 19 | true 20 | 21 | 22 | 23 | qPixmapFromMimeSource 24 | 25 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step4/res/QtMfc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtwinmigrate/examples/mfc/step4/res/QtMfc.ico -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step4/res/QtMfc.rc2: -------------------------------------------------------------------------------- 1 | // 2 | // QTMFC.RC2 - resources Microsoft Visual C++ does not edit directly 3 | // 4 | 5 | #ifdef APSTUDIO_INVOKED 6 | #error this file is not editable by Microsoft Visual C++ 7 | #endif //APSTUDIO_INVOKED 8 | 9 | 10 | ///////////////////////////////////////////////////////////////////////////// 11 | // Add manually edited resources here... 12 | 13 | ///////////////////////////////////////////////////////////////////////////// 14 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step4/step4.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = QtMfc4 3 | 4 | DEFINES -= UNICODE 5 | DEFINES += _AFXDLL WINVER=0x0500 6 | QMAKE_LIBS_QT_ENTRY = 7 | 8 | HEADERS = childview.h mainframe.h qtmfc.h stdafx.h 9 | SOURCES = childview.cpp mainframe.cpp qtmfc.cpp stdafx.cpp 10 | FORMS = optionsdialog.ui 11 | RC_FILE = qtmfc.rc 12 | 13 | include(../../../src/qtwinmigrate.pri) 14 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step5/childview.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | // childview.h : interface of the ChildView class 42 | // 43 | ///////////////////////////////////////////////////////////////////////////// 44 | 45 | #ifndef CHILDVIEW_H 46 | #define CHILDVIEW_H 47 | 48 | #include 49 | 50 | class ChildView : public QWidget 51 | { 52 | public: 53 | ChildView(QWidget *parent = 0); 54 | 55 | protected: 56 | void paintEvent(QPaintEvent *); 57 | }; 58 | 59 | #endif 60 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step5/mainframe.h: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | // mainframe.h : interface of the MainFrame class 42 | // 43 | ///////////////////////////////////////////////////////////////////////////// 44 | 45 | #ifndef MAINFRAME_H 46 | #define MAINFRAME_H 47 | 48 | #include 49 | 50 | class ChildView; 51 | 52 | class MainFrame : public QMainWindow 53 | { 54 | Q_OBJECT 55 | public: 56 | MainFrame(QWidget *parent = 0); 57 | 58 | protected Q_SLOTS: 59 | void editOptions(); 60 | void helpAbout(); 61 | 62 | private: 63 | ChildView *view; 64 | }; 65 | 66 | #endif 67 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step5/qtmfc.cpp: -------------------------------------------------------------------------------- 1 | /**************************************************************************** 2 | ** 3 | ** Copyright (C) 2013 Digia Plc and/or its subsidiary(-ies). 4 | ** Contact: http://www.qt-project.org/legal 5 | ** 6 | ** This file is part of the Qt Solutions component. 7 | ** 8 | ** $QT_BEGIN_LICENSE:BSD$ 9 | ** You may use this file under the terms of the BSD license as follows: 10 | ** 11 | ** "Redistribution and use in source and binary forms, with or without 12 | ** modification, are permitted provided that the following conditions are 13 | ** met: 14 | ** * Redistributions of source code must retain the above copyright 15 | ** notice, this list of conditions and the following disclaimer. 16 | ** * Redistributions in binary form must reproduce the above copyright 17 | ** notice, this list of conditions and the following disclaimer in 18 | ** the documentation and/or other materials provided with the 19 | ** distribution. 20 | ** * Neither the name of Digia Plc and its Subsidiary(-ies) nor the names 21 | ** of its contributors may be used to endorse or promote products derived 22 | ** from this software without specific prior written permission. 23 | ** 24 | ** 25 | ** THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS 26 | ** "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT 27 | ** LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR 28 | ** A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT 29 | ** OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, 30 | ** SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT 31 | ** LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, 32 | ** DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY 33 | ** THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT 34 | ** (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE 35 | ** OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE." 36 | ** 37 | ** $QT_END_LICENSE$ 38 | ** 39 | ****************************************************************************/ 40 | 41 | #include 42 | #include "mainframe.h" 43 | 44 | int main(int argc, char **argv) 45 | { 46 | QApplication app(argc, argv); 47 | 48 | MainFrame frame; 49 | frame.show(); 50 | 51 | return app.exec(); 52 | } 53 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step5/qtmfc.rc: -------------------------------------------------------------------------------- 1 | IDR_MAINFRAME ICON DISCARDABLE "res\\QtMfc.ico" 2 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step5/res/QtMfc.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtwinmigrate/examples/mfc/step5/res/QtMfc.ico -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step5/res/qtmfc.bmp: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/bac1335/qt-solution/1c173b5e87bb78c6f2d3fa30747a046711300095/qtwinmigrate/examples/mfc/step5/res/qtmfc.bmp -------------------------------------------------------------------------------- /qtwinmigrate/examples/mfc/step5/step5.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | TARGET = QtMfc5 3 | 4 | SOURCES += childview.cpp mainframe.cpp qtmfc.cpp 5 | HEADERS += childview.h mainframe.h 6 | FORMS += ../step4/optionsdialog.ui 7 | RC_FILE = qtmfc.rc 8 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/qtdll/qtdll.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = lib 2 | CONFIG += dll 3 | SOURCES = main.cpp 4 | 5 | TARGET = qtdialog 6 | DLLDESTDIR = $$[QT_INSTALL_PREFIX]/bin 7 | 8 | include(../../src/qtwinmigrate.pri) 9 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/winhost/winhost.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | SOURCES += main.cpp 3 | 4 | include(../../src/qtwinmigrate.pri) 5 | -------------------------------------------------------------------------------- /qtwinmigrate/examples/winwidget/winwidget.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE = app 2 | SOURCES += main.cpp 3 | 4 | include("../../src/qtwinmigrate.pri") 5 | -------------------------------------------------------------------------------- /qtwinmigrate/qtwinmigrate.pro: -------------------------------------------------------------------------------- 1 | TEMPLATE=subdirs 2 | CONFIG += ordered 3 | include(common.pri) 4 | qtwinmigrate-uselib:SUBDIRS=buildlib 5 | SUBDIRS+=examples 6 | 7 | !win32:error("This component will only work on Windows. No makefile generated.") 8 | -------------------------------------------------------------------------------- /qtwinmigrate/src/QMfcApp: -------------------------------------------------------------------------------- 1 | #include "qmfcapp.h" 2 | -------------------------------------------------------------------------------- /qtwinmigrate/src/QWinHost: -------------------------------------------------------------------------------- 1 | #include "qwinhost.h" 2 | -------------------------------------------------------------------------------- /qtwinmigrate/src/QWinWidget: -------------------------------------------------------------------------------- 1 | #include "qwinwidget.h" 2 | -------------------------------------------------------------------------------- /qtwinmigrate/src/qtwinmigrate.pri: -------------------------------------------------------------------------------- 1 | include(../common.pri) 2 | INCLUDEPATH += $$PWD 3 | DEPENDPATH += $$PWD 4 | LIBS += -luser32 5 | 6 | # When built as a library, the default is to include the component's 7 | # MFC support. To disable this (e.g. in order to use this component 8 | # with Visual Studio Express, which does not include MFC), comment out 9 | # the following line. 10 | qtwinmigrate-uselib:DEFINES *= _AFXDLL 11 | 12 | qtwinmigrate-uselib:!qtwinmigrate-buildlib { 13 | LIBS += -L$$QTWINMIGRATE_LIBDIR -l$$QTWINMIGRATE_LIBNAME 14 | } else { 15 | SOURCES += $$PWD/qwinwidget.cpp $$PWD/qwinhost.cpp $$PWD/qmfcapp.cpp 16 | HEADERS += $$PWD/qwinwidget.h $$PWD/qwinhost.h $$PWD/qmfcapp.h 17 | } 18 | 19 | win32 { 20 | qtwinmigrate-buildlib:DEFINES += QT_QTWINMIGRATE_EXPORT 21 | else:qtwinmigrate-uselib:DEFINES += QT_QTWINMIGRATE_IMPORT 22 | } 23 | contains(QT_MAJOR_VERSION, 5): QT += widgets gui-private --------------------------------------------------------------------------------