Because individual project is C ++ completed, the General Assembly and the two of us do not use java to design ui , so we chose to use Qt to complete the project. Qt because we are also the first contact, to start learning from the installation software to configure the environment, the preparatory work before the start of the project has cost us a lot of time.
Our client is divided into four sections, corresponding to the four interface, implement the login choose to generate topics calculation results and other functions
Server is responsible for receiving client information that is passed over the account password
The client contains the following files
Each .ui .h .cpp as a set, corresponding to each interface, the interface is .ui design aspects, .h is a function declaration variables, a function is to achieve .cpp
According to the project requirements client interface is login (register) interface, after the completion of the login and registration client window closes, generate a new select window, realize choose the difficulty and the number of items after you finish typing, clicking OK will close the window and generate a new exam window, to achieve the title display, statistical answer function, after clicking the button assignment, the program will enter a fourth window that displays the score, ask to continue or withdraw, if it is to continue, then back to the second window, If exit, just close this window
The following are four windows Design:
Unimplemented features:
SMS verification, look for a long time did not find the c ++ 's API , tried yesterday c ++ call Python , environment configuration to configure the go, or had not, and finally get the original environment also collapse