After editing an element (opened from the new element panel by double clic, or context menu),

new element panel update the content of the item who represent the edited element (pixmap and name)


git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/trunk@4399 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
blacksun
2016-03-24 10:35:00 +00:00
parent e00ed57027
commit d85a7fd53a
5 changed files with 31 additions and 1 deletions

View File

@@ -182,6 +182,16 @@ QVariant FileElementCollectionItem::data(int column, int role)
}
}
/**
* @brief FileElementCollectionItem::clearData
* Reset the current icon
*/
void FileElementCollectionItem::clearData()
{
m_icon = QIcon();
ElementCollectionItem::clearData();
}
/**
* @brief FileElementCollectionItem::mimeData
* @return the mime data of this item