CN103729214A - User interface previewing method - Google Patents
User interface previewing method Download PDFInfo
- Publication number
- CN103729214A CN103729214A CN201310703781.6A CN201310703781A CN103729214A CN 103729214 A CN103729214 A CN 103729214A CN 201310703781 A CN201310703781 A CN 201310703781A CN 103729214 A CN103729214 A CN 103729214A
- Authority
- CN
- China
- Prior art keywords
- configuration file
- user interface
- control
- node information
- xml node
- 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.)
- Pending
Links
Images
Landscapes
- User Interface Of Digital Computer (AREA)
Abstract
A user interface previewing method includes: opening a compiled UI (user interface) configuration file; loading corresponding XML (extensible markup language) node information of the UI configuration file to display corresponding UI controls in a topmost levitating window of all display windows. Through the application of embodiments, the UI can be quickly previewed through a software client and resource waste is avoided accordingly.
Description
Technical field
The application relates to image technique field, more specifically, relates to a kind of method of user interface preview.
Background technology
User interface (UI) refers to the global design of man-machine interaction to software, operation logic, beautiful interface.Good UI is not only and allows the software individual character that become have good taste, location and the feature that also will allow the operation of software become comfortable, simple, free, fully demonstrate software.
In the design process of software, user is by UI and hardware device correlative connection.When developing software UI, need the effect of the regular UI of checking.It referring to accompanying drawing 1, is the schematic flow sheet of UI preview in prior art.
101, write UI configuration file.
102, open the client of the corresponding software of UI.
103, the client by the corresponding software of UI finds the display effect corresponding to UI of writing.
If 104 do not need to revise, finish whole preview process; If desired revise, revise the configuration file of UI.
105, close after the client of the corresponding software of UI, the if desired effect of preview UI again, needs again to open the client of the corresponding software of UI.
Visible, in prior art, the preview of UI must just can realize by the client of software, yet the client of software must load a lot of unnecessary resources.
Summary of the invention
The embodiment of the present invention proposes a kind of method of user interface preview, can by software client, not realize the rapid preview of UI, thereby has avoided the waste of resource.
The technical scheme of the embodiment of the present invention is as follows:
A method for user interface preview, is characterized in that, described method comprises:
Open the user interface UI configuration file after writing;
Load after the extend markup language xml node information that UI configuration file is corresponding, at the suspension window that is arranged in all display windows the top, show the control that UI is corresponding.
Xml node information corresponding to described loading UI configuration file, shows that at the suspension window that is arranged in all display windows the top the control that UI is corresponding comprises:
Load xml node information corresponding to UI configuration file;
According to described xml node information, generate control, load picture corresponding to control;
The suspension window that is arranged in all display windows the top shows the control that UI is corresponding.
Described method further comprises intercepts UI configuration file, if UI configuration file changes, reloads UI configuration file.
After control corresponding to described demonstration UI, further comprise: after again revising UI, open amended UI configuration file.
From technique scheme, can find out, open in embodiments of the present invention the UI configuration file after writing; Load after the xml node information that UI configuration file is corresponding, at the suspension window that is arranged in all display windows the top, show the control that UI is corresponding.Due to not by software client but realize the rapid preview of UI by xml node information, thereby avoided the waste of resource.
Accompanying drawing explanation
Fig. 1 is for improving the method flow schematic diagram of performance of handoffs in heterogeneous network.
Embodiment
For making the object, technical solutions and advantages of the present invention express clearlyer, below in conjunction with drawings and the specific embodiments, the present invention is further described in more detail.
In embodiments of the present invention, open the UI configuration file after writing; Load after the xml node information that UI configuration file is corresponding, at the suspension window that is arranged in all display windows the top, show the control that UI is corresponding.Due to not by software client but realize the rapid preview of UI by xml node information, thereby avoided the waste of resource.In addition, by the suspension window in display window the top, show control corresponding to UI, open personnel can realize preview constantly.Referring to accompanying drawing 1, be the method flow schematic diagram of user interface preview, specifically comprise the following steps:
101, open the UI configuration file after writing.
By prior art, open the UI configuration file after writing, for follow-up preview UI ready.
102, load after the xml node information that UI configuration file is corresponding, show control corresponding to UI
The xml node information that UI configuration file is corresponding.The form of the configuration file of UI is xml, and each xml node represents a control.The position that xml node information comprises control, the size of control, quote the stop of picture, picture cutting mode and control etc.
First load the xml node information that UI configuration file is corresponding; Then, according to described xml node information, generate control, load picture corresponding to control; At the suspension window that is arranged in all display windows the top, show the control that UI is corresponding.
Suspension window has various ways, and the window that suspends is in the present invention positioned at the top of all display windows, that is to say and can see all the time UI preview interface shown in suspension window.
In addition, can also utilize windows system to intercept UI configuration file, if UI configuration file changes, reload UI configuration file.
For amended UI again, can again open the UI configuration file after writing, again show the control that UI is corresponding.
The above, be only preferred embodiment of the present invention, is not intended to limit protection scope of the present invention.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., within all should being included in protection scope of the present invention.
Claims (4)
1. a method for user interface preview, is characterized in that, described method comprises:
Open the user interface UI configuration file after writing;
Load after the extend markup language xml node information that UI configuration file is corresponding, at the suspension window that is arranged in all display windows the top, show the control that UI is corresponding.
2. the method for user interface preview according to claim 1, is characterized in that, xml node information corresponding to described loading UI configuration file, shows that at the suspension window that is arranged in all display windows the top the control that UI is corresponding comprises:
Load xml node information corresponding to UI configuration file;
According to described xml node information, generate control, load picture corresponding to control;
The suspension window that is arranged in all display windows the top shows the control that UI is corresponding.
3. the method for user interface preview according to claim 1, is characterized in that, described method further comprises intercepts UI configuration file, if UI configuration file changes, reloads UI configuration file.
4. the method for user interface preview according to claim 1, is characterized in that, further comprises: after again revising UI, open amended UI configuration file after control corresponding to described demonstration UI.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310703781.6A CN103729214A (en) | 2013-12-19 | 2013-12-19 | User interface previewing method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201310703781.6A CN103729214A (en) | 2013-12-19 | 2013-12-19 | User interface previewing method |
Publications (1)
Publication Number | Publication Date |
---|---|
CN103729214A true CN103729214A (en) | 2014-04-16 |
Family
ID=50453298
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201310703781.6A Pending CN103729214A (en) | 2013-12-19 | 2013-12-19 | User interface previewing method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN103729214A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104793927A (en) * | 2014-12-30 | 2015-07-22 | 北京白鹭时代信息技术有限公司 | Interface editing method and device |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050102373A1 (en) * | 2003-11-10 | 2005-05-12 | Sap Ag | Techniques for previewing content package files through a portal |
CN101256490A (en) * | 2008-03-18 | 2008-09-03 | 腾讯科技(深圳)有限公司 | Expandable skin system and implementing method |
CN101266544A (en) * | 2008-03-12 | 2008-09-17 | 浪潮集团山东通用软件有限公司 | Agile setting human-machine interactive interface accomplishing method |
CN101859245A (en) * | 2009-04-09 | 2010-10-13 | 北大方正集团有限公司 | Method and device for generating user interface |
CN101944027A (en) * | 2010-09-26 | 2011-01-12 | 北京神州泰岳软件股份有限公司 | User interface generation method |
CN103365530A (en) * | 2012-04-09 | 2013-10-23 | 腾讯科技(深圳)有限公司 | Method and device for providing quick start entry |
-
2013
- 2013-12-19 CN CN201310703781.6A patent/CN103729214A/en active Pending
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050102373A1 (en) * | 2003-11-10 | 2005-05-12 | Sap Ag | Techniques for previewing content package files through a portal |
CN101266544A (en) * | 2008-03-12 | 2008-09-17 | 浪潮集团山东通用软件有限公司 | Agile setting human-machine interactive interface accomplishing method |
CN101256490A (en) * | 2008-03-18 | 2008-09-03 | 腾讯科技(深圳)有限公司 | Expandable skin system and implementing method |
CN101859245A (en) * | 2009-04-09 | 2010-10-13 | 北大方正集团有限公司 | Method and device for generating user interface |
CN101944027A (en) * | 2010-09-26 | 2011-01-12 | 北京神州泰岳软件股份有限公司 | User interface generation method |
CN103365530A (en) * | 2012-04-09 | 2013-10-23 | 腾讯科技(深圳)有限公司 | Method and device for providing quick start entry |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104793927A (en) * | 2014-12-30 | 2015-07-22 | 北京白鹭时代信息技术有限公司 | Interface editing method and device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2018077085A1 (en) | Application processing method, device and storage medium | |
US11556235B2 (en) | Interacting with nonconforming applications in a windowing environment | |
US20160350214A1 (en) | Idle time software garbage collection | |
WO2011116601A1 (en) | Device and method for implementing landscape/portrait screen switching of mobile terminal | |
Voutilainen et al. | On the design of a responsive user interface for a multi-device web service | |
US20110265009A1 (en) | Terminal services view toolbox | |
CN102981855A (en) | Template-based interface autogeneration method and system | |
JP2017538178A (en) | Split application presentation between devices | |
US20180307525A1 (en) | Surfacing Task-Related Applications in a Heterogeneous Tab Environment | |
CN103150198B (en) | A kind of display methods of configuration software | |
CN103218115A (en) | Method and mobile terminal for realizing optimized display of notification bar | |
US20210334118A1 (en) | Opening local files in remote applications | |
CN105117232A (en) | Method and system for generating text image on user interface | |
EP2930613B1 (en) | Dynamic user interface layout algorithm | |
CN103064682A (en) | Device-orientated human-computer interface configuration design method | |
CN102479185A (en) | Method for controlling language version of software by server side | |
CN104216606A (en) | WebView page turning special effect method based on Android operation system | |
US20150007130A1 (en) | Software development using gestures | |
CN104252350A (en) | Method and device for loading picture in listbox | |
CN104750473A (en) | Android system based writing superposition method | |
CN103729214A (en) | User interface previewing method | |
CN104461509A (en) | Information interaction framework and method | |
CN103902727A (en) | Network search method and device | |
US20210374100A1 (en) | Recommending remotely executed applications for opening files | |
CN109324729A (en) | A kind of dock display methods and device based on education cloud operating system |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20140416 |
|
RJ01 | Rejection of invention patent application after publication |