Skip to content
Permalink
Browse files

expression builder: add splitters and change buttons

respect HIG
  • Loading branch information
3nids committed Jan 14, 2014
1 parent 385bb59 commit 8edd6a493670f544e827d72c078a3061d1619d86
Showing with 568 additions and 539 deletions.
  1. +2 −4 src/gui/qgsexpressionbuilderwidget.cpp
  2. +566 −535 src/ui/qgsexpressionbuilder.ui
@@ -30,8 +30,7 @@ QgsExpressionBuilderWidget::QgsExpressionBuilderWidget( QWidget *parent )
setupUi( this );

mValueGroupBox->hide();
btnLoadAll->hide();
btnLoadSample->hide();
mLoadGroupBox->hide();
highlighter = new QgsExpressionHighlighter( txtExpressionString->document() );

mModel = new QStandardItemModel( );
@@ -131,8 +130,7 @@ void QgsExpressionBuilderWidget::currentChanged( const QModelIndex &index, const
mValueListWidget->clear();
}

btnLoadAll->setVisible( item->getItemType() == QgsExpressionItem::Field && mLayer );
btnLoadSample->setVisible( item->getItemType() == QgsExpressionItem::Field && mLayer );
mLoadGroupBox->setVisible( item->getItemType() == QgsExpressionItem::Field && mLayer );
mValueGroupBox->setVisible( item->getItemType() == QgsExpressionItem::Field && mLayer );

// Show the help for the current item.

0 comments on commit 8edd6a4

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