summaryrefslogtreecommitdiff
path: root/quacker/quacker.cpp
diff options
context:
space:
mode:
authorJohn Fultz <jfultz@wolfram.com>2019-01-13 13:02:28 -0600
committerJohn Fultz <jfultz@wolfram.com>2019-01-13 13:02:28 -0600
commit0f9bcf3239e39db6eca8fb9ee8a12dd1395a9920 (patch)
tree90fe4d90e9724a2be9052957f2a1482e927c647e /quacker/quacker.cpp
parentc691c9bce6680c44171d370dbea4549fa6030322 (diff)
Add a separator above "Simulation" group box to break up the GUI better.
Diffstat (limited to 'quacker/quacker.cpp')
-rw-r--r--quacker/quacker.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/quacker/quacker.cpp b/quacker/quacker.cpp
index 79c22bb..5967de8 100644
--- a/quacker/quacker.cpp
+++ b/quacker/quacker.cpp
@@ -1887,6 +1887,10 @@ void TopLevel::createWidgets()
QVBoxLayout *choicesLayout = new QVBoxLayout(m_choicesWidget);
Geometry::setupFramedLayout(choicesLayout);
+ m_frameWidget = new QFrame;
+ m_frameWidget->setFrameShape(QFrame::HLine);
+ m_frameWidget->setFrameShadow(QFrame::Sunken);
+
m_simulatorWidget = new QGroupBox(tr("Simulation"));
m_simulatorWidget->setFlat(true);
QVBoxLayout *simulatorLayout = new QVBoxLayout(m_simulatorWidget);
@@ -1965,6 +1969,7 @@ void TopLevel::createWidgets()
choicesLayout->addWidget(m_moveBox, 3);
choicesLayout->addWidget(m_noteEditor, 1);
+ choicesLayout->addWidget(m_frameWidget, 1);
choicesLayout->addWidget(m_simulatorWidget, 1);
m_history = new History;