From eee27fa441852023bb4a8f1b57e8608295d55426 Mon Sep 17 00:00:00 2001 From: Rebecca Breu Date: Tue, 18 May 2021 21:53:44 +0200 Subject: [PATCH] Update controls documentation --- beeref/documentation/controls.html | 23 ++++++++++++++++++----- beeref/gui.py | 5 ++++- 2 files changed, 22 insertions(+), 6 deletions(-) diff --git a/beeref/documentation/controls.html b/beeref/documentation/controls.html index 823db86..4b882dc 100644 --- a/beeref/documentation/controls.html +++ b/beeref/documentation/controls.html @@ -13,14 +13,27 @@

Select Items

-Single Item: Left Click
-Multiple Items: Ctrl + Left Click
-Rubberband Selection: Left Click + Drag +

+ Single Item: Left Click
+ Multiple Items: Ctrl + Left Click
+ Rubberband Selection: Left Click + Drag +

Move Selection

-Left Click + Drag +

+ Left Click + Drag +

Snap Rotation

-Shift or Ctrl while rotating \ No newline at end of file +

+ Shift or Ctrl while rotating +

+ +

Zoom in on Item

+ +

+ Double-click on item
+ Double-click again to get back to previous view +

diff --git a/beeref/gui.py b/beeref/gui.py index db0a8a3..06cef13 100644 --- a/beeref/gui.py +++ b/beeref/gui.py @@ -81,7 +81,10 @@ class HelpDialog(QtWidgets.QDialog): controls = QtWidgets.QLabel(controls_txt) controls.setTextInteractionFlags( Qt.TextInteractionFlag.TextSelectableByMouse) - tabs.addTab(controls, '&Controls') + scroll = QtWidgets.QScrollArea(self) + scroll.setWidgetResizable(True) + scroll.setWidget(controls) + tabs.addTab(scroll, '&Controls') layout = QtWidgets.QVBoxLayout() self.setLayout(layout)