summaryrefslogtreecommitdiff
path: root/quacker
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
parentc691c9bce6680c44171d370dbea4549fa6030322 (diff)
Add a separator above "Simulation" group box to break up the GUI better.
Diffstat (limited to 'quacker')
-rw-r--r--quacker/quacker.cpp5
-rw-r--r--quacker/quacker.h2
2 files changed, 7 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;
diff --git a/quacker/quacker.h b/quacker/quacker.h
index 3e26ed3..27bef92 100644
--- a/quacker/quacker.h
+++ b/quacker/quacker.h
@@ -34,6 +34,7 @@ class QAction;
class QActionGroup;
class QComboBox;
class QCheckBox;
+class QFrame;
class QGroupBox;
class QLineEdit;
class QPushButton;
@@ -320,6 +321,7 @@ private:
QWidget *m_choicesWidget;
View *m_moveBox;
View *m_noteEditor;
+ QFrame *m_frameWidget;
Settings *m_settings;