Qt implements a small supermarket cash register system and qt supermarket
As a contact, I plan to use Qt to develop a small cash register system. From the initial conception to the implementation of basic functions, after some time, many times other things in the school do not disturb me, if you fail to calm down and continue, it will be much faster.
In fact, when we are actually doing something, we need to calm down and continue to do it. In this way, we feel much better. Record the process of doing this item by yourself today. You can refer to it later.
I like learning from open source, but many people are very stingy. I can only say this, but it may not be nice, but the reality is like this, however, I am glad that I found another great god, the great god of Qt, who made everything he wrote open-source, I have learned a lot and thank him here.
I am also a cainiao and have a poor score, so I can only do this. If there are no points to download, I can tell you my mailbox and I will send it to you. Some bugs are inevitable in the program.
Source code. Http://download.csdn.net/detail/u013704336/8145739
Provide source code for mutual learning.
1. A login interface is provided first:
The interface is rough. Ugly, I said I only pasted an image on it. If you want to be beautiful, you can design it in depth. You can select the login name and employee ID on the login interface, which are found in the database.
2. Go to the main interface (if the password and name are correct)
Haha, the interface is ugly. However, it doesn't matter. What we need is functionality. The Ugly interface and the beautiful interface are later tasks. Several style sheets solve the problem. See the following article.
These functions are mainly used. Some of them are not implemented and need to be done slowly.
3. Foreground sales Interface
For those things, the functions are almost modern. You can refer to the design ideas below. The methods may not be very good, and there are many implementation methods. I would like to let everyone point out the optimal method.
4. Purchase
5. Member Management Interface
6. Exit
During the exit process, the user is reminded whether to back up the data to prevent the user from accidentally shutting down the system and the data in the second database from problems, resulting in unnecessary losses.
The functions are not complete yet, and there are still many improvements to be made. I hope you will point out that you can share and learn together ..
After that, I made some reference to things that are awesome in the Qt field and improved my system, as shown in:
The open-source liudianwu has a great impact on me. Thank you ......
Technology lies in communication ......