summaryrefslogtreecommitdiffstats
path: root/tools/designer/src/components
diff options
context:
space:
mode:
authorJens Bache-Wiig <jbache@trolltech.com>2010-03-17 10:24:37 (GMT)
committerJens Bache-Wiig <jbache@trolltech.com>2010-03-17 10:27:48 (GMT)
commitc3a8819a68cff387178a0f37de62611b98e0a665 (patch)
treebadca2be573be6a98cf616142c8c2cbd2b1fc3be /tools/designer/src/components
parenta12b989c6d469a5a4512b7cbb70f716d98eae8e3 (diff)
downloadQt-c3a8819a68cff387178a0f37de62611b98e0a665.zip
Qt-c3a8819a68cff387178a0f37de62611b98e0a665.tar.gz
Qt-c3a8819a68cff387178a0f37de62611b98e0a665.tar.bz2
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
Diffstat (limited to 'tools/designer/src/components')
-rw-r--r--tools/designer/src/components/widgetbox/widgetbox.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/tools/designer/src/components/widgetbox/widgetbox.cpp b/tools/designer/src/components/widgetbox/widgetbox.cpp
index 512d6ba..091135a 100644
--- a/tools/designer/src/components/widgetbox/widgetbox.cpp
+++ b/tools/designer/src/components/widgetbox/widgetbox.cpp
@@ -74,7 +74,10 @@ WidgetBox::WidgetBox(QDesignerFormEditorInterface *core, QWidget *parent, Qt::Wi
FilterWidget *filterWidget = new FilterWidget(0, FilterWidget::LayoutAlignNone);
filterWidget->setRefuseFocus(true);
connect(filterWidget, SIGNAL(filterChanged(QString)), m_view, SLOT(filter(QString)));
- l->addWidget(filterWidget);
+
+ QToolBar *toolBar = new QToolBar(this);
+ toolBar->addWidget(filterWidget);
+ l->addWidget(toolBar);
// View
connect(m_view, SIGNAL(pressed(QString,QString,QPoint)),