F
F
fmiu2019-04-26 18:55:20
PyQt
fmiu, 2019-04-26 18:55:20

PyQt5 How to make tabWidget tabs independent?

There is a tabWidget with 5 tabs, each with a test. They do not depend on each other. But it is not possible to make it possible to select the tab with the desired test. In order to pass the test from the second tab, you must first pass 1, otherwise the second will not work. If you separate it in the code (via a class, etc.), then there are just a bunch of elements on the tabs, as they were arranged in Qt Designer, and nothing works. Can you please tell me how to separate the tabs? Thanks in advance for your help)

Answer the question

In order to leave comments, you need to log in

1 answer(s)
A
Andrey_Dolg, 2019-04-27
@Andrey_Dolg

The code clearly contains the logic of the tabs. The tabs themselves are independent from each other initially. Somewhere in the tabWidget the click is being processed.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question