UI: Add interact button to source toolbar

This adds a interact button to the source toolbar. It is only
shown when source is interactable.
This commit is contained in:
Clayton Groeneveld
2021-01-17 20:03:08 -08:00
committed by Jim
parent 520f1158e1
commit 968a1a6ff0
7 changed files with 50 additions and 0 deletions
+4
View File
@@ -234,6 +234,10 @@ QScrollBar::left-arrow:horizontal, QScrollBar::right-arrow:horizontal, QScrollBa
qproperty-icon: url(./Dark/filter.svg);
}
#contextContainer QPushButton#sourceInteractButton {
qproperty-icon: url(./Dark/interact.svg);
}
/* Scenes and Sources toolbar */
QToolBar {
+3
View File
@@ -0,0 +1,3 @@
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" fill="#d2d2d2" class="bi bi-hand-index-thumb-fill" viewBox="0 0 16 16">
<path d="M8.5 1.75v2.716l.048-.002c.311-.012.74-.016 1.05.046.28.056.543.18.738.288.274.152.456.385.56.642l.132-.012c.312-.024.794-.038 1.158.108.37.148.689.487.88.716.075.09.141.175.195.248h.582a2 2 0 0 1 1.99 2.199l-.272 2.715a3.5 3.5 0 0 1-.444 1.389l-1.395 2.441A1.5 1.5 0 0 1 12.42 16H6.118a1.5 1.5 0 0 1-1.342-.83l-1.215-2.43L1.07 8.589a1.517 1.517 0 0 1 2.373-1.852L5 8.293V1.75a1.75 1.75 0 0 1 3.5 0z"/>
</svg>

After

Width:  |  Height:  |  Size: 556 B