Skip to content
Permalink
Browse files

Add tooltips for shapes

  • Loading branch information
mhugent committed Jun 15, 2011
1 parent aafd837 commit abdf28017962eb1e94e02ce37bb0934410985b5b
Showing with 3 additions and 2 deletions.
  1. +2 −1 src/gui/symbology-ng/qgsellipsesymbollayerv2widget.cpp
  2. +1 −1 src/ui/symbollayer/widget_ellipse.ui
@@ -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">

0 comments on commit abdf280

Please sign in to comment.
You can’t perform that action at this time.