ClangFormat: Move ClangFormat settings page

- Move ClangFormat settings page to TabWidget in the dialog
that opens when a user press "Edit" button in the CodeStyle tab

Change-Id: Ibd285344f07a6b2b20e275f2134976c50f91a019
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
This commit is contained in:
Artem Sokolovskii
2021-10-07 15:08:46 +02:00
parent c2d9495b62
commit 9cb0bd94f0
5 changed files with 26 additions and 14 deletions

View File

@@ -337,6 +337,10 @@ void CppCodeStylePreferencesWidget::setVisualizeWhitespace(bool on)
}
}
void CppCodeStylePreferencesWidget::addTab(QWidget *page, QString tabName)
{
m_ui->categoryTab->addTab(page, tabName);
}
// ------------------ CppCodeStyleSettingsPage