|
ORE Studio 0.0.4
|
Widget displaying the 6 standard record provenance fields. More...
#include <ProvenanceWidget.hpp>
Inherits QWidget.

Public Member Functions | |
| ProvenanceWidget (QWidget *parent=nullptr) | |
| void | populate (int version, const std::string &modified_by, const std::string &performed_by, std::chrono::system_clock::time_point recorded_at, const std::string &change_reason_code, const std::string &change_commentary) |
| Populate all provenance fields from entity data. | |
| void | clear () |
| Clear all provenance fields. | |
Widget displaying the 6 standard record provenance fields.
All fields are read-only. Embed one in every detail dialog's Provenance tab via the provenanceWidget named widget.
| void populate | ( | int | version, |
| const std::string & | modified_by, | ||
| const std::string & | performed_by, | ||
| std::chrono::system_clock::time_point | recorded_at, | ||
| const std::string & | change_reason_code, | ||
| const std::string & | change_commentary | ||
| ) |
Populate all provenance fields from entity data.
| recorded_at | Pass a default-constructed time_point to leave Recorded At blank (for entities without this field). |