Skip to content

Commit

Permalink
Add tooltips for shapes
Browse files Browse the repository at this point in the history
  • Loading branch information
mhugent committed Jun 15, 2011
1 parent aafd837 commit abdf280
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion src/gui/symbology-ng/qgsellipsesymbollayerv2widget.cpp
Expand Up @@ -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;
}
Expand Down
2 changes: 1 addition & 1 deletion src/ui/symbollayer/widget_ellipse.ui
Expand Up @@ -7,7 +7,7 @@
<x>0</x>
<y>0</y>
<width>336</width>
<height>318</height>
<height>326</height>
</rect>
</property>
<property name="windowTitle">
Expand Down

0 comments on commit abdf280

Please sign in to comment.