Commit c3a8819a68cff387178a0f37de62611b98e0a665

  • avatar
  • Jens Bache-Wiig <jbache @trol…ech.com>
  • Wed Mar 17 11:27:48 CET 2010
Use a toolbar for the designer property editor

This makes the designer plugin a little bit more consistent.
It also helps cosmeticaly in creator as we get a better
separation between the tool bar and the treeview.

Reviewed-by: thorbjorn
  
7474 FilterWidget *filterWidget = new FilterWidget(0, FilterWidget::LayoutAlignNone);
7575 filterWidget->setRefuseFocus(true);
7676 connect(filterWidget, SIGNAL(filterChanged(QString)), m_view, SLOT(filter(QString)));
77 l->addWidget(filterWidget);
77
78 QToolBar *toolBar = new QToolBar(this);
79 toolBar->addWidget(filterWidget);
80 l->addWidget(toolBar);
7881
7982 // View
8083 connect(m_view, SIGNAL(pressed(QString,QString,QPoint)),