mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-17 12:40:35 +01:00
title block editor : add '%saveddate' and '%savedtime' as available
values, for moment only when user "save as" project git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@5467 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -255,6 +255,10 @@ void QETProject::setFilePath(const QString &filepath) {
|
||||
setReadOnly(false);
|
||||
}
|
||||
|
||||
project_properties_.addValue("saveddate", QDate::currentDate().toString("yyyy-MM-dd"));
|
||||
project_properties_.addValue("savedtime", QDateTime::currentDateTime().toString("HH:mm"));
|
||||
|
||||
|
||||
emit(projectFilePathChanged(this, m_file_path));
|
||||
emit(projectInformationsChanged(this));
|
||||
updateDiagramsFolioData();
|
||||
|
||||
Reference in New Issue
Block a user