Fix hover/pressed/checked events for auto-raised QToolButtons.

Fixes #34.
main
Alex Huszagh 2022-04-28 13:51:05 -05:00
parent 3243107b0a
commit 836febe922
6 changed files with 3094 additions and 3005 deletions

File diff suppressed because it is too large Load Diff

View File

@ -1691,6 +1691,23 @@ QToolButton[autoRaise="false"]::menu-button:pressed
outline: none;
}
QToolButton[autoRaise="true"]
{
background-color: transparent;
border: 0.04em solid transparent;
}
QToolButton[autoRaise="true"]:hover
{
border: 0.04em solid #3daee9;
}
QToolButton[autoRaise="true"]:checked,
QToolButton[autoRaise="true"]:pressed
{
background-color: #3daee9;
}
QTableView
{
border: 0em solid black;

View File

@ -1691,6 +1691,23 @@ QToolButton[autoRaise="false"]::menu-button:pressed
outline: none;
}
QToolButton[autoRaise="true"]
{
background-color: transparent;
border: 0.04em solid transparent;
}
QToolButton[autoRaise="true"]:hover
{
border: 0.04em solid rgba(51, 164, 223, 0.5);
}
QToolButton[autoRaise="true"]:checked,
QToolButton[autoRaise="true"]:pressed
{
background-color: rgba(51, 164, 223, 0.5);
}
QTableView
{
border: 0em solid black;

View File

@ -1691,6 +1691,23 @@ QToolButton[autoRaise="false"]::menu-button:pressed
outline: none;
}
QToolButton[autoRaise="true"]
{
background-color: transparent;
border: 0.04em solid transparent;
}
QToolButton[autoRaise="true"]:hover
{
border: 0.04em solid #3daee9;
}
QToolButton[autoRaise="true"]:checked,
QToolButton[autoRaise="true"]:pressed
{
background-color: #3daee9;
}
QTableView
{
border: 0em solid black;

View File

@ -1691,6 +1691,23 @@ QToolButton[autoRaise="false"]::menu-button:pressed
outline: none;
}
QToolButton[autoRaise="true"]
{
background-color: transparent;
border: 0.04em solid transparent;
}
QToolButton[autoRaise="true"]:hover
{
border: 0.04em solid rgba(51, 164, 223, 0.5);
}
QToolButton[autoRaise="true"]:checked,
QToolButton[autoRaise="true"]:pressed
{
background-color: rgba(51, 164, 223, 0.5);
}
QTableView
{
border: 0em solid black;

View File

@ -1691,6 +1691,23 @@ QToolButton[autoRaise="false"]::menu-button:pressed
outline: none;
}
QToolButton[autoRaise="true"]
{
background-color: transparent;
border: 0.04em solid transparent;
}
QToolButton[autoRaise="true"]:hover
{
border: 0.04em solid ^highlight^;
}
QToolButton[autoRaise="true"]:checked,
QToolButton[autoRaise="true"]:pressed
{
background-color: ^highlight^;
}
QTableView
{
border: 0em solid black;