QtPyVCP - Missing Libraries - Solved
03 Feb 2022 13:39 #233877
by Donb9261
QtPyVCP - Missing Libraries was created by Donb9261
Have the QAnimation and other libraries been removed? Currently I cannot even use a QPushButton hover event. I have tried the following for just hover events to no avail:
QPushButton {
background-color: rgb(0,0,0);
color: rgb(255,255,255);
}
QPushButton:hover {
background-color: rgb(255,255,255);
color: rgb(0,0,0);
}
and...
#some_btn {
background-color: rgb(0,0,0);
color: rgb(255,255,255);
}
#some_btn:hover {
background-color: rgb(255,255,255);
color: rgb(0,0,0);
}
Neither method works regardless of what I do. Makes little sense to not have the full QtCore library so I am confused as to why it does not perform a basic Qt styling function.
Any help is appreciated. Maybe it is just me not understanding how it works.
QPushButton {
background-color: rgb(0,0,0);
color: rgb(255,255,255);
}
QPushButton:hover {
background-color: rgb(255,255,255);
color: rgb(0,0,0);
}
and...
#some_btn {
background-color: rgb(0,0,0);
color: rgb(255,255,255);
}
#some_btn:hover {
background-color: rgb(255,255,255);
color: rgb(0,0,0);
}
Neither method works regardless of what I do. Makes little sense to not have the full QtCore library so I am confused as to why it does not perform a basic Qt styling function.
Any help is appreciated. Maybe it is just me not understanding how it works.
Please Log in or Create an account to join the conversation.
03 Feb 2022 13:54 #233878
by KCJ
Replied by KCJ on topic QtPyVCP - Missing Libraries
QSS style should work without any issue.
This is how all the QtPyVCP GUIs are styled ...
My guess is there is another style sheet overriding your styles.
How are you applying your QSS?
Look here for an example of sass generated styles for QtPyVCP. This should style basically every widget: github.com/KurtJacobson/monokrom-vcp/blo.../common/monokrom.qss
Cheers,
Kurt
This is how all the QtPyVCP GUIs are styled ...
My guess is there is another style sheet overriding your styles.
How are you applying your QSS?
Look here for an example of sass generated styles for QtPyVCP. This should style basically every widget: github.com/KurtJacobson/monokrom-vcp/blo.../common/monokrom.qss
Cheers,
Kurt
Please Log in or Create an account to join the conversation.
03 Feb 2022 15:37 #233885
by Donb9261
Replied by Donb9261 on topic QtPyVCP - Missing Libraries
Yeah I thought so as well. The test vcp is run via the ./turtorial.sh method then a standard editvcp xxx.
Any files are the default generated during the script. yaml shows style.qss and there are no additional qss files to my knowledge unless that is placed elsewhere outside the default file locations. The current style.qss file has only defaults for action buttons which I assume are custom widgets that fall outside the override of a QPushButton.
My current build is through the exact methods described in the dev install for Bullseye. I am currently running my system defaulted to the versions required to run master. Ohter than that my system is barebones as you can get.
At first I thought GNOME interference but tried gtk2 and 3 under cinnamon with the same result. Just odd.
And like I said I cannot get the QtAnimation libraries to load without error with PySide2 or PyQt5.
Just odd and a bit frustrating. Lol!
Any files are the default generated during the script. yaml shows style.qss and there are no additional qss files to my knowledge unless that is placed elsewhere outside the default file locations. The current style.qss file has only defaults for action buttons which I assume are custom widgets that fall outside the override of a QPushButton.
My current build is through the exact methods described in the dev install for Bullseye. I am currently running my system defaulted to the versions required to run master. Ohter than that my system is barebones as you can get.
At first I thought GNOME interference but tried gtk2 and 3 under cinnamon with the same result. Just odd.
And like I said I cannot get the QtAnimation libraries to load without error with PySide2 or PyQt5.
Just odd and a bit frustrating. Lol!
Please Log in or Create an account to join the conversation.
03 Feb 2022 16:26 #233886
by Donb9261
Replied by Donb9261 on topic QtPyVCP - Missing Libraries
Apparently I had a corrupt file. I recreated from scratch and now hover works.
Please Log in or Create an account to join the conversation.
04 Feb 2022 00:07 - 04 Feb 2022 00:09 #233930
by Donb9261
Replied by Donb9261 on topic QtPyVCP - Missing Libraries - Solved
Here is the link on YouTube.
Last edit: 04 Feb 2022 00:09 by Donb9261.
Please Log in or Create an account to join the conversation.
Time to create page: 0.074 seconds