Add accessible name for QToolButton css

Make sure it does not apply to other buttons.

Fixes #1255
This commit is contained in:
Jonas Kvinge
2024-02-25 02:50:40 +01:00
parent 6d52a2b409
commit 72bccad82d
8 changed files with 45 additions and 6 deletions

View File

@@ -38,6 +38,9 @@
</item>
<item>
<widget class="QToolButton" name="options">
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="iconSize">
<size>
<width>16</width>

View File

@@ -122,6 +122,9 @@
</property>
<item>
<widget class="QToolButton" name="back_button">
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="iconSize">
<size>
<width>32</width>
@@ -135,6 +138,9 @@
</item>
<item>
<widget class="QToolButton" name="pause_play_button">
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="iconSize">
<size>
<width>32</width>
@@ -151,6 +157,9 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="iconSize">
<size>
<width>32</width>
@@ -167,6 +176,9 @@
</item>
<item>
<widget class="QToolButton" name="forward_button">
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="iconSize">
<size>
<width>32</width>
@@ -205,6 +217,9 @@
</item>
<item>
<widget class="QToolButton" name="button_love">
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="iconSize">
<size>
<width>32</width>

View File

@@ -87,6 +87,9 @@
</item>
<item>
<widget class="QToolButton" name="view">
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="text">
<string>View</string>
</property>

View File

@@ -635,6 +635,9 @@
</item>
<item>
<widget class="QPushButton" name="tags_art_button">
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="text">
<string>Change art</string>
</property>

View File

@@ -54,6 +54,9 @@
<height>0</height>
</size>
</property>
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="iconSize">
<size>
<width>16</width>

View File

@@ -74,6 +74,9 @@
</item>
<item row="0" column="2">
<widget class="QToolButton" name="context_exp_chooser1">
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="text">
<string/>
</property>
@@ -102,6 +105,9 @@
</item>
<item row="1" column="2">
<widget class="QToolButton" name="context_exp_chooser2">
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="text">
<string/>
</property>

View File

@@ -236,6 +236,9 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="text">
<string/>
</property>
@@ -267,6 +270,9 @@
<property name="enabled">
<bool>false</bool>
</property>
<property name="accessibleName">
<string>MenuPopupToolButton</string>
</property>
<property name="text">
<string/>
</property>