Unify tool button appearance in "panelWidgets".

Reviewed-by: Jens Bache-Wiig
This commit is contained in:
con
2009-07-17 13:13:12 +02:00
parent edac6eb84d
commit 8ed85f1eb6
11 changed files with 3 additions and 49 deletions

View File

@@ -82,16 +82,9 @@ FindToolBar::FindToolBar(FindPlugin *plugin, CurrentDocumentFind *currentDocumen
connect(m_ui.findEdit, SIGNAL(editingFinished()), this, SLOT(invokeResetIncrementalSearch()));
m_ui.close->setProperty("type", QLatin1String("dockbutton"));
m_ui.close->setIcon(QIcon(":/core/images/closebutton.png"));
connect(m_ui.close, SIGNAL(clicked()), this, SLOT(hideAndResetFocus()));
m_ui.findPreviousButton->setProperty("type", QLatin1String("dockbutton"));
m_ui.findNextButton->setProperty("type", QLatin1String("dockbutton"));
m_ui.replacePreviousButton->setProperty("type", QLatin1String("dockbutton"));
m_ui.replaceNextButton->setProperty("type", QLatin1String("dockbutton"));
m_ui.replaceAllButton->setProperty("type", QLatin1String("dockbutton"));
m_findCompleter->setModel(m_plugin->findCompletionModel());
m_replaceCompleter->setModel(m_plugin->replaceCompletionModel());
m_ui.findEdit->setCompleter(m_findCompleter);