Сustomization QTvcp

More
5 years 10 months ago - 5 years 10 months ago #191563 by hottabich
Replied by hottabich on topic Сustomization QTvcp
An ordinary calculator, but I made your revision with qtvp converter.
Attachments:
Last edit: 5 years 10 months ago by hottabich.

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #191726 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Please tell me how to change the display height , py-code in the previous post.
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #191769 by cmorley
Replied by cmorley on topic Сustomization QTvcp
Slightly bigger display font:
Code:
font.setPointSize(font.pointSize() + 12)

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #191782 by hottabich
Replied by hottabich on topic Сustomization QTvcp

cmorley wrote: Slightly bigger display font:

Code:
font.setPointSize(font.pointSize() + 12)

Thanks, but the display = QLineEdit height hasn't changed.
Attachments:

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago #191783 by cmorley
Replied by cmorley on topic Сustomization QTvcp
it does if you test the calculator directly.
I would guess that the font size gets overwritten from a stylesheet setting.

try something like:
Code:
Calculator QLineEdit{ font: 25pt "Lato Heavy"; }

Please Log in or Create an account to join the conversation.

More
5 years 10 months ago - 5 years 10 months ago #191813 by hottabich
Replied by hottabich on topic Сustomization QTvcp
Super!!! Works great! Now the calculator can be edited to your liking. I also added
Code:
Calculator QPushButton{ font: 13pt "Lato Heavy"; }
Respect and respect for you.
Thank you!
Attachments:
Last edit: 5 years 10 months ago by hottabich.
The following user(s) said Thank You: cmorley, tommylight

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 1.029 seconds
Powered by Kunena Forum