Skip to content

Commit

Permalink
Merge pull request #1073 from 3nids/expressiondialogsplitter
Browse files Browse the repository at this point in the history
expression builder: add splitters and change buttons
  • Loading branch information
3nids committed Jan 14, 2014
2 parents 27f5b8d + 8edd6a4 commit 1be2674
Show file tree
Hide file tree
Showing 2 changed files with 568 additions and 539 deletions.
6 changes: 2 additions & 4 deletions src/gui/qgsexpressionbuilderwidget.cpp
Expand Up @@ -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( );
Expand Down Expand Up @@ -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.
Expand Down

0 comments on commit 1be2674

Please sign in to comment.