Create your first functional login screen by following these steps:
First, open up a web browser and go to phpMyAdmin. We will create a new data table called
user, which looks like this:
Next, insert our first item of data into the newly created table and set the
employeeIDto the ID of an existing employee's data. This way, the user account we created will be linked to the data of one of the employees:
After that, open up Qt Creator and create a new Qt Widgets Application project. We will start off with
mainwindow.ui. First, place a stacked widget on the canvas and make sure it contains two pages. Then, set up the two pages in the stacked widget like this:
Once you click the...