Hello I am very new to QT here. I am just playing with QT5 with QSql here. This is my first QT GUI application. What I am doing is creating a simple form to connect to a MySQL database and run a query on it. I have it displaying the results in a QTableView. I get the input from the user in 5 QLineEdits (one is database server which in my case is just 127.0.0.1, another is the user, password, database name and one is the query string). The query is run from a clicked signal from a QPushButton. What I want to do is have the database connection created as soon as the first 4 QLineEdits have been filled in "all but the query string" so it is already connected before the run button is clicked to run the query. So my question is: is it possible to have a slot called only after it has received x amount of signals "4 in this case". Thank you for your help.
Bookmarks