Home > other >  Python GUI problem
Python GUI problem

Time:10-01

1. Apart from tkinter TreeView, Python what ListView library and controls support like below?


2. If you want to be in a python desktop applications similar below label instructions, python library and controls support?

CodePudding user response:

Pyqt5
You can have a try

CodePudding user response:

Thank you, can you explain the Pyqt5 which controls?

CodePudding user response:

Looks like a form, Wxpython wx. Grid. The grid can be achieved,

CodePudding user response:

Try module PyQt5,

CodePudding user response:

Thank you all for the first question, I have been basically solved, the second question, please have a ready-made controls?

CodePudding user response:

reference 5 floor dokin1975 reply:
thank you, the first question I have been basically solved, the second question, please have a ready-made controls?

The second didn't see what to do, if it is a window appears to have labels can write directly controls, if it is the mouse to click or across a label, can according to mouse events link to tag

CodePudding user response:

refer to 6th floor yjx_python response:
Quote: refer to the fifth floor dokin1975 reply:

Thank you all for the first question, I have been basically solved, the second question, please have a ready-made controls?

The second didn't see what to do, if it is a window appears to have labels can write directly controls, if is the mouse to click or across a tag, you can write a mouse events linked to label shows

Have the corresponding control label itself?

CodePudding user response:

refer to 7th floor dokin1975 response:
Quote: refer to the sixth floor yjx_python response:
Quote: refer to fifth floor dokin1975 response:

Thank you all for the first question, I have been basically solved, the second question, please have a ready-made controls?

The second didn't see what to do, if it is a window appears to have labels can write directly controls, if is the mouse to click or across a tag, you can write a mouse events linked to label shows

Have the corresponding control label itself?



Only use the Label control can be achieved, I tried a little

CodePudding user response:

Is QLable control?

We wants the effect of in the end, there are several points on the graph, the system can be based on point coordinate automatic tags, with each point a, display information about each point above, from the tag to point by the straight line is linked together, automatically according to the position of the point system can decide the position of label, QLabel control can display each point information, it can meet the other requirements?

CodePudding user response:

references 9 f dokin1975 response:
is QLable control?

We wants the effect of in the end, there are several points on the graph, the system can be based on point coordinate automatic tags, with each point a, display information about each point above, from the tag to point by the straight line is linked together, automatically according to the position of the point system can decide the position of label, QLabel control can display each point information, it can meet the other requirements?

You write the coordinates of point Qlabel location information is not to go, no more complex

CodePudding user response:

I just want to be hackers brother can

CodePudding user response:

@ yjx_python, I tried for a long time or not, can you give a sample code?

///////////////////////////////////////////////////////////////////////////
Only use the Label control can be achieved, I tried a down

You write the coordinates of point Qlabel location information is not to go, no more complex

CodePudding user response:

references to the tenth floor yjx_python response:
Quote: references 9 f dokin1975 response:

Is QLable control?

We wants the effect of in the end, there are several points on the graph, the system can be based on point coordinate automatic tags, with each point a, display information about each point above, from the tag to point by the straight line is linked together, automatically according to the position of the point system can decide the position of label, QLabel control can display each point information, it can meet the other requirements?

You write the coordinates of point Qlabel location information is not to go, no more complex

Sorry, I didn't see QLabel can set the location information, could you go over that again?

CodePudding user response:

https://doc.qt.io/qt-5/qtablewidget.html

CodePudding user response:

On the 14th floor dokin1975
reference response:
Quote: reference to the tenth floor yjx_python response:
Quote: references 9 floor dokin1975 reply:

Is QLable control?

We wants the effect of in the end, there are several points on the graph, the system can be based on point coordinate automatic tags, with each point a, display information about each point above, from the tag to point by the straight line is linked together, automatically according to the position of the point system can decide the position of label, QLabel control can display each point information, it can meet the other requirements?

You write the coordinates of point Qlabel location information is not to go, no more complex

Sorry, I didn't see QLabel can set the location information, could you go over that again?

You add me WeChat, see direct messages
  • Related