Icon sorting method and device

A sorting method and icon technology, which is applied in the computer field and can solve problems such as being unable to drag and drop sorting

Inactive Publication Date: 2021-06-11
BEIJING CHINA POWER INFORMATION TECH +1
View PDF3 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the embodiment of the present invention provides an icon sorting method and device, which is used

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Icon sorting method and device
  • Icon sorting method and device
  • Icon sorting method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0045] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0046] In this application, the term "comprises", "comprises" or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article, or apparatus comprising a set of elements includes not only those elements, but also includes none. other elements specifically listed, or also include elements inherent in such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "com...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides an icon sorting method and device. The method comprises the steps of monitoring a new thread generated when a mouse is used for dragging a first icon on an interface drawn on the basis of a Pyqt technology stack, obtaining the current coordinate of the mouse, the interface drawn on the basis of the Pyqt technology stack comprising a plurality of icons, window controls are preset in the icons, and comparing the current coordinate with a coordinate interval of a pre-stored window control, if the current coordinate is in the coordinate interval of any window control, taking the position of a second icon corresponding to the coordinate interval of the window control as a new position of the first icon, and reordering all icons on the interface. According to the scheme, the current coordinate is compared with the coordinate interval of the pre-stored window control, when it is determined that the current coordinate is located in the coordinate interval of the window control, the current coordinate serves as the position of the first icon, the icons on the interface are sorted again on the basis, and the purpose of conducting icon sorting on the interface drawn on the basis of the Pyqt technology stack is achieved.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to an icon sorting method and device. Background technique [0002] At present, the Python language is used more and more widely, and the Python language is used in various application scenarios. For example: in the development application scenario of the interface program, the interface drawn based on the Pyqt technology stack. However, the purpose of icon dragging and sorting cannot be realized in the interface drawn based on the Pyqt technology stack. [0003] For example: there are multiple icons in the interface drawn by the Pyqt technology stack, each icon can only be fixed at a certain fixed position in the interface, and the user cannot drag, move and sort the icons in the interface according to his own expectations. Contents of the invention [0004] In view of this, the embodiments of the present invention provide an icon sorting method and device, which are used to ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
IPC IPC(8): G06F3/0481G06F3/0486G06F9/451
CPCG06F3/04817G06F3/0486G06F9/451
Inventor 卢彩霞周楠西吕宪军唐志涛黄勇刘立石谢长涛
Owner BEIJING CHINA POWER INFORMATION TECH
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products