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 8edd6a4
Show file tree
Hide file tree
Showing 2 changed files with 568 additions and 539 deletions.
@@ -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.