Skip to content

Commit

Permalink
Rename View Configuration dock to better reflect its function
Browse files Browse the repository at this point in the history
The name of the View Configuration dock implies that its purpose is to customize the general properties of the view. Perhaps this is once what it did.

However, these days it functions as the place to display extra configuration settings for the display types listed, toggled, and chosen in the Display Types dock.

I believe renaming it to the Display Type Configuration dock better communicates to the user what it does.
  • Loading branch information
matterhorn103 authored Mar 26, 2024
1 parent 782aa89 commit d264a0d
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions avogadro/mainwindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -399,7 +399,7 @@ void MainWindow::setupInterface()
m_toolDock = new QDockWidget(tr("Tool"), this);
addDockWidget(Qt::LeftDockWidgetArea, m_toolDock);

// Our scene/view dock.
// Our dock for toggling different display types.
m_sceneDock = new QDockWidget(tr("Display Types"), this);
m_sceneTreeView = new QTreeView(m_sceneDock);
m_sceneTreeView->setIndentation(0);
Expand All @@ -408,8 +408,8 @@ void MainWindow::setupInterface()
m_sceneDock->setWidget(m_sceneTreeView);
addDockWidget(Qt::LeftDockWidgetArea, m_sceneDock);

// Our view dock.
m_viewDock = new QDockWidget(tr("View Configuration"), this);
// Our dock for configuring the display types.
m_viewDock = new QDockWidget(tr("Display Type Configuration"), this);
addDockWidget(Qt::LeftDockWidgetArea, m_viewDock);

// Our molecule dock.
Expand All @@ -421,7 +421,7 @@ void MainWindow::setupInterface()
m_moleculeDock->setWidget(m_moleculeTreeView);
addDockWidget(Qt::LeftDockWidgetArea, m_moleculeDock);

// Our molecule dock.
// Our layer dock.
m_layerDock = new QDockWidget(tr("Layers"), this);
m_layerTreeView = new QTreeView(m_layerDock);
m_layerTreeView->setIndentation(0);
Expand Down

0 comments on commit d264a0d

Please sign in to comment.