mirror of
https://github.com/qelectrotech/qelectrotech-source-mirror.git
synced 2025-12-20 08:10:52 +01:00
Elements panel: the tooltip is back on elements categories.
git-svn-id: svn+ssh://svn.tuxfamily.org/svnroot/qet/qet/branches/0.3@1698 bfdf4180-ca20-0410-9c96-a3a8aa849046
This commit is contained in:
@@ -716,6 +716,8 @@ QTreeWidgetItem *GenericPanel::updateElementsCategoryItem(QTreeWidgetItem *categ
|
|||||||
"\"What's this\" tip"
|
"\"What's this\" tip"
|
||||||
);
|
);
|
||||||
category_qtwi -> setWhatsThis(0, category_whatsthis);
|
category_qtwi -> setWhatsThis(0, category_whatsthis);
|
||||||
|
QString category_tooltip = category -> location().toString();
|
||||||
|
category_qtwi -> setToolTip(0, category_tooltip);
|
||||||
category_qtwi -> setText(0, category -> name());
|
category_qtwi -> setText(0, category -> name());
|
||||||
markItemAsContainer(category_qtwi);
|
markItemAsContainer(category_qtwi);
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user