forked from qt-creator/qt-creator
Unify tool button appearance in "panelWidgets".
Reviewed-by: Jens Bache-Wiig
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user