mirror of
https://github.com/qgis/QGIS.git
synced 2025-03-21 00:05:53 -04:00
Adds tooltips to the add/remove variable buttons
This commit is contained in:
parent
a0f655add1
commit
3dcb0c44c0
@ -52,10 +52,12 @@ QgsVariableEditorWidget::QgsVariableEditorWidget( QWidget *parent )
|
||||
mAddButton = new QPushButton();
|
||||
mAddButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/symbologyAdd.svg" ) ) );
|
||||
mAddButton->setEnabled( false );
|
||||
mAddButton->setToolTip( tr( "Add variable" ) );
|
||||
horizontalLayout->addWidget( mAddButton );
|
||||
mRemoveButton = new QPushButton();
|
||||
mRemoveButton->setIcon( QgsApplication::getThemeIcon( QStringLiteral( "/symbologyRemove.svg" ) ) );
|
||||
mRemoveButton->setEnabled( false );
|
||||
mRemoveButton->setToolTip( tr( "Remove variable" ) );
|
||||
horizontalLayout->addWidget( mRemoveButton );
|
||||
verticalLayout->addLayout( horizontalLayout );
|
||||
connect( mRemoveButton, SIGNAL( clicked() ), this, SLOT( on_mRemoveButton_clicked() ) );
|
||||
|
Loading…
x
Reference in New Issue
Block a user