Index: sources/gui/GuiView.h =================================================================== diff -u -r265ce7409a0ea99a4ae059f5ce7978c9cdb10631 -rb77869b5e44de6f8b140f6d8764efc5a2bb61a59 --- sources/gui/GuiView.h (.../GuiView.h) (revision 265ce7409a0ea99a4ae059f5ce7978c9cdb10631) +++ sources/gui/GuiView.h (.../GuiView.h) (revision b77869b5e44de6f8b140f6d8764efc5a2bb61a59) @@ -69,7 +69,10 @@ PROPERTY(bool , usbIsLow , false ) PROPERTY(bool , exportRunning , false ) + PROPERTY(quint32, exportCount , 0 ) + QMap _exportList; + public: explicit GuiView(QObject *parent = nullptr); @@ -99,6 +102,11 @@ void doExportService (); void doExportTreatment (); + void doExportListInsert (quint32 vIndex, const QString &vFilename ) { /* DEBUG: qDebug() << vIndex; */ _exportList [vIndex] = vFilename; exportCount( _exportList.count() ); } + void doExportListDelete (quint32 vIndex ) { /* DEBUG: qDebug() << vIndex; */ _exportList.remove (vIndex) ; exportCount( _exportList.count() ); } + bool doExportListSelect (quint32 vIndex ) { /* DEBUG: qDebug() << vIndex; */ return _exportList.contains(vIndex) ; } + + signals: void didActionReceive (GuiActionType vAction, const QVariantList &vData); // UI <= HD/DG void didActionTransmit(GuiActionType vAction, const QVariantList &vData); // UI => HD/DG @@ -111,6 +119,6 @@ void didExportLog (); void didExportService (); void didExportTreatment (); - void didExport (); + void didExport (); }; }