mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-15 00:04:00 -04:00
Add tooltips for shapes
This commit is contained in:
parent
aafd83720d
commit
abdf280179
@ -21,7 +21,8 @@ QgsEllipseSymbolLayerV2Widget::QgsEllipseSymbolLayerV2Widget( const QgsVectorLay
|
||||
lyr->setSymbolWidth(4);
|
||||
lyr->setSymbolHeight(2);
|
||||
QIcon icon = QgsSymbolLayerV2Utils::symbolLayerPreviewIcon( lyr, QgsSymbolV2::MM, iconSize );
|
||||
QListWidgetItem* item = new QListWidgetItem( icon, QString(), mShapeListWidget );
|
||||
QListWidgetItem* item = new QListWidgetItem( icon, "", mShapeListWidget );
|
||||
item->setToolTip( *nameIt );
|
||||
item->setData( Qt::UserRole, *nameIt );
|
||||
delete lyr;
|
||||
}
|
||||
|
@ -7,7 +7,7 @@
|
||||
<x>0</x>
|
||||
<y>0</y>
|
||||
<width>336</width>
|
||||
<height>318</height>
|
||||
<height>326</height>
|
||||
</rect>
|
||||
</property>
|
||||
<property name="windowTitle">
|
||||
|
Loading…
x
Reference in New Issue
Block a user