mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-30 15:50:52 +01:00
New fields titleblock properties %machine and %locmach can now be called
in the element rules autonum git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4628 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -244,6 +244,14 @@ void SelectAutonumW::contextToFormula() {
|
||||
else if (npe->type_ == NumPartEditorW::folio) {
|
||||
m_eaw->setContext("%F");
|
||||
}
|
||||
else if (npe->type_ == NumPartEditorW::machine) {
|
||||
m_eaw->setContext("%M");
|
||||
}
|
||||
else if (npe->type_ == NumPartEditorW::locmach) {
|
||||
m_eaw->setContext("%LM");
|
||||
}
|
||||
|
||||
|
||||
else if (npe->type_ == NumPartEditorW::elementcolumn) {
|
||||
m_eaw->setContext("%c");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user