Update controls documentation

This commit is contained in:
Rebecca Breu 2021-05-18 21:53:44 +02:00
parent 58472c3348
commit eee27fa441
2 changed files with 22 additions and 6 deletions

View file

@ -13,14 +13,27 @@
<h4>Select Items</h4>
Single Item: Left Click<br/>
Multiple Items: Ctrl + Left Click<br/>
Rubberband Selection: Left Click + Drag
<p>
Single Item: Left Click<br/>
Multiple Items: Ctrl + Left Click<br/>
Rubberband Selection: Left Click + Drag
</p>
<h4>Move Selection</h4>
Left Click + Drag
<p>
Left Click + Drag
</p>
<h4>Snap Rotation</h4>
Shift or Ctrl while rotating
<p>
Shift or Ctrl while rotating
</p>
<h4>Zoom in on Item</h4>
<p>
Double-click on item<br/>
Double-click again to get back to previous view
</p>

View file

@ -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)