Sem descrição

Reinhard Russinger 88feba4a4a sync há 7 anos atrás
example d40145311d example fixed há 7 anos atrás
.gitignore b7b38053f4 start há 8 anos atrás
README.md 5fc205099e README.md changed há 7 anos atrás
application.cpp 4a99aa53e0 baseclassnamee changed from Application to ApplicahtionLaunch due to possible conflicts with Qt baseclassess há 7 anos atrás
application.h 4a99aa53e0 baseclassnamee changed from Application to ApplicahtionLaunch due to possible conflicts with Qt baseclassess há 7 anos atrás
applicationlauncher.cpp b7b38053f4 start há 8 anos atrás
applicationlauncher.h b7b38053f4 start há 8 anos atrás
applicationlauncher.pro 416fff5a11 typeinfos added há 7 anos atrás
applicationlauncher.qmltypes 4a99aa53e0 baseclassnamee changed from Application to ApplicahtionLaunch due to possible conflicts with Qt baseclassess há 7 anos atrás
applicationlauncher_plugin.cpp 4a99aa53e0 baseclassnamee changed from Application to ApplicahtionLaunch due to possible conflicts with Qt baseclassess há 7 anos atrás
applicationlauncher_plugin.h 7108a95faf Test und Verfeinerungen, erster Wurf , Besipiel mit IP ADresseingabe há 8 anos atrás
qmldir 416fff5a11 typeinfos added há 7 anos atrás

README.md

Application Launcher

App Launcher plugin for QT Qml


import ApplicationLauncher 1.0

.....

    ApplicationLaunch {
        id: testScripts
        appName: "cat"
        arguments: "/etc/passwd"

        onAppFinished: {
            console.debug("AppFinished :");
            console.debug("appError : " + exitError + " appStatus : " + exitStatus + " appCode " + exitCode );
            console.debug("stdERR :" + stdERR);
            console.debug("stdOUT :" + stdOUT);
        }

        onAppStarted: {
            console.debug("appStarted :");
            console.debug("appError : " + exitError + " appStatus : " + exitStatus + " appCode " + exitCode );

        }

        onAppError: {
            console.debug("appError : " + exitError + " appStatus : " + exitStatus + " appCode " + exitCode );

        }
    }

......

  • Properties

    • appName : Executeable (with or without parameters!)
    • arguments : arguments if not given with appName
    • stdERR : output of stderr as QString
    • stdOUT : output as QString
    • outFName : copy stdout to outFName when set
    • exitError
    • exitStatus
    • exitCode
  • Events

    • onAppFinished : app has ended properties are available
    • onAppStarted : app has started
    • onAppError : error on start or in app
  • Methods

    • launchScript() : start application (is started async and not in main event queue)