First issue:
- The "document is totally signed" was based on the last signature of
the last page (that had signatures) that is not correct and needs to
be based in the last signature by date
- The "Rev #" number was based on the signature on the page, so if we
had two pages with one signature each the model showed "Rev 1" for
both
It adds new API which is not awesome in a stable branch, but the first
issue is important enough that warrants this to go to the stable branch
m_signatureMessage->setText(i18n("All editing and interactive features for this document are disabled. Please save a copy and reopen to edit this document."));
m_signatureMessage->setText(i18n("All editing and interactive features for this document are disabled. Please save a copy and reopen to edit this document."));
revisionLayout->addWidget(newQLabel(i18nc("Document Revision <current> of <total>","Document Revision %1 of %2",signatureFormFields.indexOf(m_signatureForm)+1,signatureFormFields.size())));
revisionLayout->addWidget(newQLabel(i18nc("Document Revision <current> of <total>","Document Revision %1 of %2",signatureFormFields.indexOf(m_signatureForm)+1,signatureFormFields.size())));
revisionLayout->addStretch();
revisionLayout->addStretch();
autorevisionBtn=newQPushButton(i18n("View Signed Version..."));
autorevisionBtn=newQPushButton(i18n("View Signed Version..."));