Skip to content

Commit

Permalink
qgspolygon3dsymbolwidget: Add tooltips to culling mode combobox
Browse files Browse the repository at this point in the history
  • Loading branch information
ptitjano authored and nyalldawson committed Oct 6, 2023
1 parent cb28455 commit af3bab4
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/app/3d/qgspolygon3dsymbolwidget.cpp
Expand Up @@ -31,6 +31,10 @@ QgsPolygon3DSymbolWidget::QgsPolygon3DSymbolWidget( QWidget *parent )
cboCullingMode->addItem( tr( "Front" ), Qgs3DTypes::Front );
cboCullingMode->addItem( tr( "Back" ), Qgs3DTypes::Back );

cboCullingMode->setItemData( 0, tr( "Both sides of the shapes are visible" ), Qt::ToolTipRole );
cboCullingMode->setItemData( 1, tr( "Only the back of the shapes is visible" ), Qt::ToolTipRole );
cboCullingMode->setItemData( 2, tr( "Only the front of the shapes is visible" ), Qt::ToolTipRole );

QgsPolygon3DSymbol defaultSymbol;
setSymbol( &defaultSymbol, nullptr );

Expand Down

0 comments on commit af3bab4

Please sign in to comment.