Сustomization QTvcp
09 Dec 2020 08:19 #191480
by hottabich
Replied by hottabich on topic Сustomization QTvcp
I am trying to add utilities from QtDrago-Master to QtDragon. Can you please tell me what I'm doing wrong?
Please Log in or Create an account to join the conversation.
09 Dec 2020 13:24 #191492
by cmorley
Replied by cmorley on topic Сustomization QTvcp
I's need more detail of the problem.
Please Log in or Create an account to join the conversation.
09 Dec 2020 13:40 #191495
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Sorry, sorry. Utility widgets are not displayed, I did everything as in QtDragon-master. Here is a handler from it.
Please Log in or Create an account to join the conversation.
10 Dec 2020 04:24 #191554
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Those utilities are not in master - they look like they came from Jim's github.
The possible problems of display are many.
You need to learn to trouble shoot more.
Things to check:
Is the ui file of the utility being found?
is the utility widget ever set to be shown or is it hidden?
is the function to install the utilities ever called?
If there is a difference between 2.8 and master try to pin point what the difference is.
try adding a pyqt widget instead of the utility widget; to try to see if it's the utility widget that has a problem or it's the code loading it.
etc.
I can help, if you narrow it down to a particular code or widget.
Chris
The possible problems of display are many.
You need to learn to trouble shoot more.
Things to check:
Is the ui file of the utility being found?
is the utility widget ever set to be shown or is it hidden?
is the function to install the utilities ever called?
If there is a difference between 2.8 and master try to pin point what the difference is.
try adding a pyqt widget instead of the utility widget; to try to see if it's the utility widget that has a problem or it's the code loading it.
etc.
I can help, if you narrow it down to a particular code or widget.
Chris
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
10 Dec 2020 04:38 #191560
by hottabich
Replied by hottabich on topic Сustomization QTvcp
I am sorry for disturbing you. The question has just been closed. Not mindfulness. Evenings are smarter morning.
Missed self.init_utils () I'm sorry.
Missed self.init_utils () I'm sorry.
Please Log in or Create an account to join the conversation.
10 Dec 2020 04:45 #191561
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Oh great - I'm glad you figure it out!
I've certainly had mornings like that.
I don't mind helping - I just need details of the problem to focus my investigation.
I am curious about the calculator - qtvcp already has a calculator widget - what's different?
Chris
I've certainly had mornings like that.
I don't mind helping - I just need details of the problem to focus my investigation.
I am curious about the calculator - qtvcp already has a calculator widget - what's different?
Chris
The following user(s) said Thank You: hottabich
Please Log in or Create an account to join the conversation.
10 Dec 2020 05:21 - 10 Dec 2020 06:08 #191563
by hottabich
Replied by hottabich on topic Сustomization QTvcp
An ordinary calculator, but I made your revision with qtvp converter.
Last edit: 10 Dec 2020 06:08 by hottabich.
Please Log in or Create an account to join the conversation.
12 Dec 2020 13:08 #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.
Please Log in or Create an account to join the conversation.
12 Dec 2020 19:27 #191769
by cmorley
Replied by cmorley on topic Сustomization QTvcp
Slightly bigger display font:
font.setPointSize(font.pointSize() + 12)
Please Log in or Create an account to join the conversation.
12 Dec 2020 21:45 #191782
by hottabich
Replied by hottabich on topic Сustomization QTvcp
Thanks, but the display = QLineEdit height hasn't changed.Slightly bigger display font:
font.setPointSize(font.pointSize() + 12)
Please Log in or Create an account to join the conversation.
Moderators: cmorley
Time to create page: 0.101 seconds