Progress bar display method and system
A display method and display system technology, applied in the computer field, can solve the problems of low utilization rate of screen space, low aesthetics, singleness, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0032] see figure 1 , which is the flow chart of the first embodiment of the progress bar display method of the present invention:
[0033] Step S101: Load the first progress bar graphic and the second progress bar graphic into the system video memory, wherein the first progress bar graphic and the second progress bar graphic are closed or semi-closed rings with the same shape and size, and the second The visual state of filling in the first progress bar graphic and the second progress bar graphic is different;
[0034] Specifically, utilize Qt (graphical user interface application framework) to load the QPixmap (a kind of Qt graphics processing type) data of the first progress bar graphics and the second progress bar graphics in the system display memory;
[0035] The first progress bar graphic and the second progress bar graphic are filled with different visual states. For example, the first progress bar graphic can be white, and the second progress bar graphic correspondin...
no. 2 example
[0058] In order to further describe in detail how the progress bar display method of the present invention is implemented, the following will be described in conjunction with a specific embodiment; it is pointed out here that the following embodiments use the shapes of the first progress bar graphic and the second progress bar graphic as rings shape as an example, see figure 2 , which is the flow chart of the second embodiment of the progress bar display method of the present invention:
[0059] Step 201: loading the graphics a1 and b1 into the system video memory;
[0060] Specifically, see image 3 , is an effect diagram of the a1 graph (the first progress bar graph) and the b1 graph (the second progress bar graph) in the second embodiment of the progress bar display method of the present invention.
[0061] Step 202: Detect the progress value, and intercept the b1 graphic according to the detected progress value to obtain the c1 graphic matching the progress value;
[0...
no. 3 example
[0069] The following will be described in conjunction with a specific embodiment; it is pointed out here that the following embodiments take the shape of the first progress bar graphic and the second progress bar graphic as an elliptical ring shape as an example for illustration, please refer to Figure 6 , which is the flow chart of the third embodiment of the progress bar display method of the present invention:
[0070] Step 301: loading the a2 graphics and the b2 graphics into the system video memory;
[0071] Specifically, see Figure 7 , is the effect diagram of the a2 graph (the first progress bar graph) and the b2 graph (the second progress bar graph) in the third embodiment of the progress bar display method of the present invention.
[0072] Step 302: Detecting the progress value, intercepting the b2 graphic according to the detected progress value to obtain the c2 graphic matching the progress value;
[0073] Specifically, see Figure 8 , is the effect diagram of...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 