R
R
Rishat Sultanov2016-12-11 21:15:57
Python
Rishat Sultanov, 2016-12-11 21:15:57

How to display the result of a table search with certain parameters in QT?

Good evening gentlemen.
There is the following idea:
https://www.youtube.com/watch?v=4tTrWE9wX5g&featur...
Sources in the description.
In Search, I run scripts.
For example firstname.py.
In the window, the user enters the Name and the script receives a variable in the request and sends it and displays the data in the interpreter.
On the video 1:23 second.
Question: How can I implement data output in a window? Tabular.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
L
LancerX0, 2017-01-13
@LancerX0

If I understand correctly, then it is necessary to present the result of an SQL query from the database on the screen in the form of a table?
If this is the case, then I advise you to use classes such as QSqlTableModel (the model for the received data) and QTableView (the display for this model).

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question