Reverted commit due to change in lang/qet_en.ts

git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4492 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
dfochi
2016-05-20 20:22:44 +00:00
parent 940a7230e3
commit 99f1a0e83a
7 changed files with 30 additions and 110 deletions

View File

@@ -89,16 +89,8 @@ QPainterPath CrossRefItem::shape() const{
* if @add_prefix is true, prefix (for power and delay contact) is added to the poistion text.
*/
QString CrossRefItem::elementPositionText(const Element *elmt, const bool &add_prefix) const{
QString txt;
XRefProperties::ViewMode vw = m_properties.viewMode();
if (vw == XRefProperties::Index)
{
txt += QString::number(elmt->diagram()->folioIndex() + 1);
}
else if (vw == XRefProperties::FolioLabel){
txt += elmt->diagram()->border_and_titleblock.folio();
}
txt += QString::number(elmt->diagram()->folioIndex() + 1);
txt += "-";
txt += elmt->diagram()->convertPosition(elmt -> scenePos()).toString();
if (add_prefix) {