diff options
author | Jens Bache-Wiig <jbache@trolltech.com> | 2010-03-17 10:24:37 (GMT) |
---|---|---|
committer | Jens Bache-Wiig <jbache@trolltech.com> | 2010-03-17 10:27:48 (GMT) |
commit | c3a8819a68cff387178a0f37de62611b98e0a665 (patch) | |
tree | badca2be573be6a98cf616142c8c2cbd2b1fc3be /tools | |
parent | a12b989c6d469a5a4512b7cbb70f716d98eae8e3 (diff) | |
download | Qt-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')
-rw-r--r-- | tools/designer/src/components/widgetbox/widgetbox.cpp | 5 |
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)), |