CN102662677B - Icon method for customizing - Google Patents

Icon method for customizing Download PDF

Info

Publication number
CN102662677B
CN102662677B CN201210113498.3A CN201210113498A CN102662677B CN 102662677 B CN102662677 B CN 102662677B CN 201210113498 A CN201210113498 A CN 201210113498A CN 102662677 B CN102662677 B CN 102662677B
Authority
CN
China
Prior art keywords
virtual
icon
page number
mouse drag
graph target
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN201210113498.3A
Other languages
Chinese (zh)
Other versions
CN102662677A (en
Inventor
陆明添
赵定华
陈先志
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vtron Group Co Ltd
Original Assignee
Vtron Technologies Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vtron Technologies Ltd filed Critical Vtron Technologies Ltd
Priority to CN201210113498.3A priority Critical patent/CN102662677B/en
Publication of CN102662677A publication Critical patent/CN102662677A/en
Application granted granted Critical
Publication of CN102662677B publication Critical patent/CN102662677B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • User Interface Of Digital Computer (AREA)

Abstract

Icon method for customizing of the present invention, first on screen, generate a sizeable panel, again parent page all on screen and icon are mapped on this panel, form virtual page number and virtual icon, by realizing customizing original graph target to the operation of virtual graph target.Particularly, based on WPF program, wherein corresponding control can be adopted to realize panel, virtual page number and virtual icon etc., judges that whether mouse position is correct by hit test function wherein.Due to the dimension adjustable of panel, and on panel, carry out page turn over operation ratio to virtual page number be easier to, therefore, this method facilitates user and carries out icon customization, is particularly useful for the situation of carrying out icon customization at giant-screen.

Description

Icon method for customizing
Technical field
The present invention relates to interface icon editing technique field, particularly relate to a kind of icon method for customizing.
Background technology
Along with the development of technology, the application program that electronic device terminal is supported gets more and more, each application program can have a corresponding icon on operation interface, when size one timing of operation interface, needs to realize arrangement to a large amount of icon and operation by page turning.Such as, the product Workshop1.0 of Wei Chuan company, its main interface is made up of the button (icon) being supplied to user operation substantially, and these buttons are distributed on different pages.When user to edit icon or customizes, as insertion, deletion, interpolation etc., if need across page, traditional way be mouse drag icon to screen border, thus trigger and skip, realize across page operations.This method is applicable to the small screen of similar mobile phone size, and when screen becomes large, as combination, because rolling mouse to screen border needs to cross over quite long distance, therefore bring very large inconvenience to user, and screen is larger, it is more inconvenient to operate.
Summary of the invention
For the problems referred to above, the present invention proposes a kind of icon method for customizing, to facilitate user to carry out icon customization, improve customization efficiency.
A kind of icon method for customizing, comprises step:
After receiving icon custom instruction, screen generates icon list panel, the size of described icon list panel is so that the scope of mouse action is reference;
Described icon list panel maps a virtual page number for each parent page, and according to the order of parent page, virtual page number is sorted, the virtual icon that on each virtual page number, arrangement is corresponding with the original icon in parent page, and according to original graph target order, virtual icon is sorted, each virtual icon comprises virtual image and virtual marker;
After mouse drag being detected, judge whether the starting point of mouse drag drops on virtual graph target virtual image, if then respond mouse drag;
Judge the terminal of mouse drag, if drop on the border of virtual page number, delete this virtual icon, if drop in virtual page number, then by the virtual graph cursor position that this virtual pattern insertion closes on, and accommodation is done to other virtual graph target positions;
According to virtual page number and parent page and virtual icon and original graph target corresponding relation, refresh the original icon in parent page.
Wherein in an embodiment, described icon list panel is realized by the ScrollViewer control in Windows PresentationFoundation program;
Virtual graph target virtual image is realized by the Image control in Windows Presentation Foundation program;
Virtual graph target virtual marker is realized by the TextBlock control in Windows Presentation Foundation program;
Virtual page number and the sequence of virtual icon are realized by the WrapPanel control in Windows Presentation Foundation program.
Wherein in an embodiment, before described step judges whether the starting point of mouse drag drops on virtual graph target virtual image, also comprise step: adopt the number of pages of virtual page number residing for structure storing virtual icon and the sequence number at this virtual page number, and the Position object of this structure is put in the Tag attribute of this virtual image
Described step judges whether the starting point of mouse drag drops on virtual graph target virtual image and specifically comprises:
Adopt the control involved by hit test function acquisition mouse drag starting point in Windows Presentation Foundation program;
Judge whether the control involved by mouse drag starting point is Image control, if whether the Tag attribute then judging this Image control is empty, then respond mouse drag if not.
Icon method for customizing of the present invention, first on screen, generate a sizeable panel, again parent page all on screen and icon are mapped on this panel, form virtual page number and virtual icon, by realizing customizing original graph target to the operation of virtual graph target.Particularly, based on WPF program, wherein corresponding control can be adopted to realize panel, virtual page number and virtual icon etc., judges that whether mouse position is correct by hit test function wherein.Due to the dimension adjustable of panel, and on panel, carry out page turn over operation ratio to virtual page number be easier to, therefore, this method is specially adapted to carry out icon customization on giant-screen.
Accompanying drawing explanation
The schematic flow sheet of Fig. 1 icon method for customizing of the present invention.
Embodiment
For the ease of user operation, the present invention is the corresponding virtual icon of each original icon, for the corresponding virtual page number of each parent page, and all virtual icons and virtual page number are focused on a panel according to original order show, according to user, original icon is upgraded to the operation of virtual graph target, panel is easy to the page turning realizing virtual page number, also just improves the efficiency of customization icon.The present invention is explained in detail below in conjunction with accompanying drawing.
A kind of icon method for customizing of the present invention, as shown in Figure 1, comprises step:
Step 1, receive icon custom instruction after, screen generates icon list panel, and the size of described icon list panel is so that the scope of mouse action is reference;
Step 2, on described icon list panel, map a virtual page number for each parent page, and according to the order of parent page, virtual page number is sorted, the virtual icon that on each virtual page number, arrangement is corresponding with the original icon in parent page, and according to original graph target order, virtual icon is sorted, each virtual icon comprises virtual image and virtual marker;
Step 3, mouse drag detected after, judge whether the starting point of mouse drag drops on virtual graph target virtual image, if then respond mouse drag;
Step 4, judge the terminal of mouse drag, if drop on the border of virtual page number, delete this virtual icon, if drop in virtual page number, then by the virtual graph cursor position that this virtual pattern insertion closes on, and accommodation is done to other virtual graph target positions;
Step 5, according to virtual page number and parent page and virtual icon and original graph target corresponding relation, refresh the original icon in parent page.
As a preferred embodiment, this method, based on Windows PresentationFoundation (WPF) application program of Microsoft, adopts wherein corresponding control to realize corresponding function.Particularly: icon list panel is realized by ScrollViewer control; Virtual graph target virtual image is realized by Image control, and namely virtual marker is the name of virtual image, is realized by TextBlock control; Virtual page number and the sequence of virtual icon are realized by WrapPanel control.It is because user can browse to more button by its scroll bar that rolls that icon list panel adopts ScrollViewer control to realize, and facilitates user to carry out button location.In addition, a longitudinally sequence WrapPanel control is used to virtual page number sequence, the virtual icon in virtual page number is sorted and then uses laterally sequence WrapPanel control, and the corresponding WrapPanel control that laterally sorts of each virtual page number.
As a preferred embodiment, this method also adopts the number of pages of the virtual page number residing for structure storing virtual icon and the sequence number at this virtual page number, and the Position object of this structure is put in the Tag attribute of this virtual image, whether be image by what judge that Tag attribute determination mouse clicks again, particularly: click the hit testing button in WPF program, the all controls involved by mouse drag starting point can be returned, Image control has been judged whether in these controls, have, more whether the Tag attribute judging this Image control is empty, then illustrate that mouse drag starting point has dropped on image if not empty, dragging can be performed.
Here is the example of a structure.
If the terminal of mouse drag drops on the border of virtual page number, delete this virtual icon; If terminal drops between two virtual icons in virtual page number, then this virtual icon is inserted into a rear virtual graph target position, virtual icon is thereafter backward along moving a position; If the dropping place postpone of terminal institute does not have other virtual icons, then direct trailing virtual icon is placed in the empty position closed on terminal, the virtual icon of original position disappears.In addition, the present invention can also make corresponding deletion, interpolation, change to icon, supplement etc. according to the custom of operator and preference.
The above embodiment only have expressed several embodiment of the present invention, and it describes comparatively concrete and detailed, but therefore can not be interpreted as the restriction to the scope of the claims of the present invention.It should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.

Claims (3)

1. an icon method for customizing, is characterized in that, comprises step:
After receiving icon custom instruction, screen generates icon list panel, the size of described icon list panel is so that the scope of mouse action is reference;
Described icon list panel maps a virtual page number for each parent page, and according to the order of parent page, virtual page number is sorted, the virtual icon that on each virtual page number, arrangement is corresponding with the original icon in parent page, and according to original graph target order, virtual icon is sorted, each virtual icon comprises virtual image and virtual marker;
After mouse drag being detected, judge whether the starting point of mouse drag drops on virtual graph target virtual image, if then respond mouse drag;
Judge the terminal of mouse drag, if drop on the border of virtual page number, delete this virtual icon, if drop in virtual page number, then by the virtual graph cursor position that this virtual pattern insertion closes on, and accommodation is done to other virtual graph target positions;
According to virtual page number and parent page and virtual icon and original graph target corresponding relation, refresh the original icon in parent page,
When the terminal of mouse drag drops in virtual page number, by the virtual graph cursor position that this virtual pattern insertion closes on, and the concrete grammar that accommodation is done in other virtual graph target positions is comprised: if terminal drops between two virtual icons in virtual page number, then this virtual icon is inserted into a rear virtual graph target position, virtual icon is thereafter backward along moving a position; If the dropping place postpone of terminal institute does not have other virtual icons, then direct trailing virtual icon is placed in the empty position closed on terminal, the virtual icon of original position disappears.
2. icon method for customizing according to claim 1, is characterized in that,
Described icon list panel is realized by the ScrollViewer control in Windows Presentation Foundation program;
Virtual graph target virtual image is realized by the Image control in Windows Presentation Foundation program;
Virtual graph target virtual marker is realized by the TextBlock control in Windows Presentation Foundation program;
Virtual page number and the sequence of virtual icon are realized by the WrapPanel control in Windows Presentation Foundation program.
3. icon method for customizing according to claim 1 and 2, is characterized in that,
Before described step judges whether the starting point of mouse drag drops on virtual graph target virtual image, also comprise step: adopt the number of pages of virtual page number residing for structure storing virtual icon and the sequence number at this virtual page number, and the Position object of this structure is put in the Tag attribute of this virtual image
Described step judges whether the starting point of mouse drag drops on virtual graph target virtual image and specifically comprises:
Adopt the control involved by hit test function acquisition mouse drag starting point in Windows Presentation Foundation program;
Judge whether the control involved by mouse drag starting point is Image control, if whether the Tag attribute then judging this Image control is empty, then respond mouse drag if not.
CN201210113498.3A 2012-04-17 2012-04-17 Icon method for customizing Expired - Fee Related CN102662677B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201210113498.3A CN102662677B (en) 2012-04-17 2012-04-17 Icon method for customizing

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201210113498.3A CN102662677B (en) 2012-04-17 2012-04-17 Icon method for customizing

Publications (2)

Publication Number Publication Date
CN102662677A CN102662677A (en) 2012-09-12
CN102662677B true CN102662677B (en) 2015-09-02

Family

ID=46772178

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201210113498.3A Expired - Fee Related CN102662677B (en) 2012-04-17 2012-04-17 Icon method for customizing

Country Status (1)

Country Link
CN (1) CN102662677B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103970460A (en) * 2013-01-30 2014-08-06 三星电子(中国)研发中心 Touch screen-based operation method and terminal equipment using same
CN105930481A (en) * 2016-04-29 2016-09-07 乐视控股(北京)有限公司 Column position adjustment method and apparatus
CN106339165B (en) * 2016-08-18 2019-06-11 广州视睿电子科技有限公司 Object position adjusting method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5877765A (en) * 1995-09-11 1999-03-02 Microsoft Corporation Method and system for displaying internet shortcut icons on the desktop
CN101796478A (en) * 2008-01-06 2010-08-04 苹果公司 Portable multifunction device with interface reconfiguration mode
CN101853168A (en) * 2010-06-11 2010-10-06 宇龙计算机通信科技(深圳)有限公司 Method and device for arranging desktop icons

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5877765A (en) * 1995-09-11 1999-03-02 Microsoft Corporation Method and system for displaying internet shortcut icons on the desktop
CN101796478A (en) * 2008-01-06 2010-08-04 苹果公司 Portable multifunction device with interface reconfiguration mode
CN101853168A (en) * 2010-06-11 2010-10-06 宇龙计算机通信科技(深圳)有限公司 Method and device for arranging desktop icons

Also Published As

Publication number Publication date
CN102662677A (en) 2012-09-12

Similar Documents

Publication Publication Date Title
US10386991B2 (en) Method for setting icon, and electronic device
KR20210151956A (en) Systems, methods, and user interfaces for interacting with multiple application windows
AU2012231990B2 (en) Method and apparatus of managing items on clipboard of portable terminal
US9690441B2 (en) Method and apparatus for managing message
US20200356250A1 (en) Devices, methods, and systems for manipulating user interfaces
CN102298503B (en) Method and device for displaying contents on mobile terminal list interface
EP2741197B1 (en) Mobile terminal and controlling method thereof
CN105378597B (en) Method and its electronic device for display
CN102890611B (en) A kind of method and device that file project information is provided based on touching type operation
US20150277746A1 (en) Touch control method and device for electronic map
CN108064368A (en) The control method and device of flexible display device
CN103593116A (en) Method and device for displaying and controlling portable terminal toolbar
CN108064369B (en) Interaction method and device of flexible display screen
US20110131533A1 (en) Apparatus and method for user interface configuration in portable terminal
EP2811388A2 (en) Portable terminal and user interface method in portable terminal
CN101763218A (en) Input method for handheld equipment
CN103605450A (en) Application icon display method and intelligent terminal
CN102821193A (en) Method for rapidly operating file of intelligent cell phone and intelligent cell phone
CN106951140A (en) The icon replacing options and electronic equipment of application program
DE112011101209T5 (en) Alert Display on a portable electronic device
CN103235692A (en) Touch-screen device and method for touch-screen device to select target objects
CN103116453A (en) Operation management method and operation management device of graphic object
CN103197841A (en) Method and system for browsing pictures and terminal device
EP2631823A1 (en) Method and apparatus for editing content view in a mobile device
CN103324436A (en) Task processing method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 510670 Guangdong city of Guangzhou province Kezhu Guangzhou high tech Industrial Development Zone, Road No. 233

Patentee after: Wei Chong group Limited by Share Ltd

Address before: 510663 Guangzhou province high tech Industrial Development Zone, Guangdong, Cai road, No. 6, No.

Patentee before: Guangdong Weichuangshixun Science and Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150902

Termination date: 20210417