forked from qt-creator/qt-creator
Doc: Describe synchronizing diagrams and Structure view
Change the UI text to use the name of the Structure view instead of "Browser", which is a term not used in the documentation or the model editor UI. Change-Id: Id5654bc7f5c4a9c7147315333f60c88a9e667bbc Reviewed-by: Jochen Becher <jochen_becher@gmx.de> Reviewed-by: Leena Miettinen <riitta-leena.miettinen@qt.io>
This commit is contained in:
@@ -341,13 +341,13 @@ void ModelEditor::init(QWidget *parent)
|
||||
syncToggleButton->setDefaultAction(d->actionHandler->synchronizeBrowserAction());
|
||||
QMenu *syncMenu = new QMenu(syncToggleButton);
|
||||
QActionGroup *syncGroup = new QActionGroup(syncMenu);
|
||||
d->syncBrowserWithDiagramAction = syncMenu->addAction(QStringLiteral("Synchronize Browser with Diagram"));
|
||||
d->syncBrowserWithDiagramAction = syncMenu->addAction(QStringLiteral("Synchronize Structure with Diagram"));
|
||||
d->syncBrowserWithDiagramAction->setCheckable(true);
|
||||
d->syncBrowserWithDiagramAction->setActionGroup(syncGroup);
|
||||
d->syncDiagramWithBrowserAction = syncMenu->addAction(QStringLiteral("Synchronize Diagram with Browser"));
|
||||
d->syncDiagramWithBrowserAction = syncMenu->addAction(QStringLiteral("Synchronize Diagram with Structure"));
|
||||
d->syncDiagramWithBrowserAction->setCheckable(true);
|
||||
d->syncDiagramWithBrowserAction->setActionGroup(syncGroup);
|
||||
d->syncEachOtherAction = syncMenu->addAction(QStringLiteral("Synchronize Each Other"));
|
||||
d->syncEachOtherAction = syncMenu->addAction(QStringLiteral("Keep Synchronized"));
|
||||
d->syncEachOtherAction->setCheckable(true);
|
||||
d->syncEachOtherAction->setActionGroup(syncGroup);
|
||||
syncToggleButton->setMenu(syncMenu);
|
||||
|
||||
Reference in New Issue
Block a user