mirror of
https://github.com/qgis/QGIS.git
synced 2025-02-28 00:17:30 -05:00
Merge branch 'master' of github.com:qgis/Quantum-GIS
This commit is contained in:
commit
f9ff8ccd46
@ -87,7 +87,11 @@ QgsExpressionBuilderWidget::QgsExpressionBuilderWidget( QWidget *parent )
|
||||
if ( func.mParams >= 1 )
|
||||
name += "(";
|
||||
registerItem( func.mGroup, func.mName, " " + name + " " );
|
||||
};
|
||||
}
|
||||
|
||||
#if QT_VERSION >= 0x040700
|
||||
txtSearchEdit->setPlaceHolderText( tr( "Search" ) );
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
@ -114,9 +118,9 @@ void QgsExpressionBuilderWidget::currentChanged( const QModelIndex &index, const
|
||||
mValueListWidget->clear();
|
||||
}
|
||||
|
||||
btnLoadAll->setVisible(item->getItemType() == QgsExpressionItem::Field);
|
||||
btnLoadSample->setVisible(item->getItemType() == QgsExpressionItem::Field);
|
||||
mValueGroupBox->setVisible(item->getItemType() == QgsExpressionItem::Field);
|
||||
btnLoadAll->setVisible( item->getItemType() == QgsExpressionItem::Field );
|
||||
btnLoadSample->setVisible( item->getItemType() == QgsExpressionItem::Field );
|
||||
mValueGroupBox->setVisible( item->getItemType() == QgsExpressionItem::Field );
|
||||
|
||||
// Show the help for the current item.
|
||||
QString help = loadFunctionHelp( item );
|
||||
|
@ -79,9 +79,6 @@
|
||||
<property name="enabled">
|
||||
<bool>true</bool>
|
||||
</property>
|
||||
<property name="placeholderText">
|
||||
<string>Search</string>
|
||||
</property>
|
||||
</widget>
|
||||
</item>
|
||||
</layout>
|
||||
|
Loading…
x
Reference in New Issue
Block a user