H
H
Haku_Sempai2021-03-25 23:09:13
SQLite
Haku_Sempai, 2021-03-25 23:09:13

How to select the table that was clicked in the list?

Now I can double-click a table from the list by creating a table model (QSqlTableModel), it has a method for selecting a table, setTable(), but I don’t want to enter such a function for each table, tell me how to open a table directly from the list?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
G
Grandma Luda, 2021-03-26
@KirasiH

remake the question throw off the code!

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question