CN105677340B - A kind of touch screen interface quick development method based on FTK - Google Patents
A kind of touch screen interface quick development method based on FTK Download PDFInfo
- Publication number
- CN105677340B CN105677340B CN201610000455.2A CN201610000455A CN105677340B CN 105677340 B CN105677340 B CN 105677340B CN 201610000455 A CN201610000455 A CN 201610000455A CN 105677340 B CN105677340 B CN 105677340B
- Authority
- CN
- China
- Prior art keywords
- interface
- option
- ftk
- input
- menu
- 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.)
- Active
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/38—Creation or generation of source code for implementing user interfaces
Landscapes
- Engineering & Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
- Stored Programmes (AREA)
Abstract
The invention discloses a kind of touch screen interface quick development method based on FTK, using FTK as graphic display engine, then the attribute value for using common controls in XML file storage graphical interfaces, according to each interfaces windows of data dynamic creation read from XML file when application program is run.The present invention is easy to operate, and applicability is strong.
Description
Technical field
The invention belongs to touch-screen applications technical fields, and in particular to a kind of touch screen interface based on FTK is quickly developed
Method.
Background technology
FTK is a set of embedded type GUI exploitation Open Framework, has been developed so far issued 0.6 edition from 0.1 initial version
This.Because FTK is to show a C language, portability is one of its design object, at present FTK temporarily can only Linux,
Framebuffer, DirectFB and X11(Simulation)Upper operation.By compile option, FTK can support resistive touch screen and
Capacitive touch screen.Different back-end hardware interfaces is used in addition, being also an option that by compiling option.Back end interface determines
How display bitmap, and how to obtain incoming event.By being abstracted to rear end, FTK may operate on multiple platforms, than
Such as X11, DirectFB, framebuffer, Windows and other platforms.In the selection of font engine, can both it use
Freetype can also use defaultFont engine.Had been realized in the current libraries newest F TK window, dialog box, button, under
Frame, choice box, label, input frame, the basic control such as list are drawn, and provides and a set of corresponding uses interface.
XML is extensible markup language(Extensible Markup Language)Abbreviation, label therein
(markup)It is key component.XML can create content, then it be marked using restriction label, to make each word, phrase
Or block becomes recognizable, classifiable information.The file or document example of establishment is by element(Label)And Composition of contents.When from
When printout reads or electronically handles document, element can facilitate a better understanding of document.The descriptive of element is got over
By force, document each section more easily identifies.Since occurring marking so far, with markd content, just there are one advantages, that is, are calculating
It, still can be by marking understanding to print data when machine systematic absence.
Invention content
To achieve the above object, the present invention provides a kind of touch screen interface quick development method based on FTK, including under
Row step:
Step 1:It determines each interface that application software utilizes touch screen to show, main interface, menu is classified as according to function
Interface, feature operation interface, input interface;Wherein, main interface is the entrance and desktop of entire application software;Menu is used for interface
Show the function items for operation in each functional subsystem;Feature operation interface for show each function items can change and
The parameters of setting;Input interface includes character input interface, and information input is carried out for user.
Step 2:Determine the top caption region, intermediary menu options region, bottom state area of menu interface;Determine function
The Title area of operation interface, menu option area;Determine the input mode of input interface, the input mode be soft keyboard and/
Or option list.
Step 3:Increase a special option control in the libraries FTK and defines the corresponding interface.
Increase a special functional parameter control in the libraries FTK and defines the corresponding interface.
If the input mode of input interface in previous step is for option list or comprising option list, then according to functional parameter
Control ID reads the option data of the functional parameter control from XML file, and is stored in control caching.
Step 4:The new libraries FTK are compiled under linux.
Step 5:According to the classification of system function subsystem, data field is created in XML file and fills in corresponding option control
The attribute value of part.
Step 6:Function items according to actual needs create data field in XML file and fill in corresponding function parameter control
The attribute value of part;If the input mode determined in step 2 includes option list, also need as work(that type is option list
Energy parametric contol creates data field in XML file and fills in corresponding option value.
Step 7:Using character input circle in the main interface and input interface of traditional static mode development and application program
Face.
Step 8:By the way of reading XML file data, dynamic creation menu interface, feature operation interface and input
Option list in interface.
Further, the attribute value of option control includes number, size, title and the event handling function of option control.
Further, the attribute value of functional parameter control include the number of functional parameter control, size, title, classification and
Change option.
Beneficial effects of the present invention are:
The present invention provides a kind of touch screen interface quick development method based on FTK, easy to operate, applicability is strong.
Description of the drawings
Fig. 1 is menu interface schematic diagram.
Specific implementation mode
The present invention provides a kind of methods for realizing touch-screen applications software in Linux platform based on FTK and XML technology.
Using method provided by the invention, the touch-screen applications software that can be used for business system can be quickly and easily developed.
The present invention design concept be:The present invention uses FTK as graphic display engine, then XML file is used to store
The attribute value of common controls in graphical interfaces, application program are each according to the data dynamic creation read from XML file when running
A interfaces windows.
The implementation steps of the present invention are described in detail below
Step 1:The each interface for determining touch-screen applications software to be developed, according to function by each interface distinguish based on
Interface, menu interface, feature operation interface, input interface.
Entrance and desktop of the main interface as entire application software, there are one general.
Menu interface is used to show the function items in each functional subsystem for operation.As shown in Figure 1 comprising three
Function choosing-item.
Feature operation interface is for showing the parameters that each function items can be changed and be arranged.
Input interface includes character input interface, and information input is carried out for user.
Step 2:Determine the status information area of the top caption region of menu interface, intermediary menu options region, bottom;Really
Determine Title area, the menu option area at feature operation interface;Determine that the input mode of input interface, the input mode include soft
Keyboard and/or option list.
Soft keyboard mode allows user to manually enter character, and option list mode, which is to provide input options list, allows user to carry out
Selection.The former still uses traditional static mode, the latter that dynamic creation mode can be used.Specific method is system creation functional parameter
Parameter input type is judged when control, and if it is option list type, which is read from XML file according to control ID
Option data, and be stored in control caching.When the user's operation control, system is created according to the option data dynamic in caching
Build option list.User can be to the parameters option of functional parameter subordinate into edlin.
The present invention needs being customized of control for the operation of user's dominant touch to realize the purpose of dynamic creation
Exploitation, the part that touch operation is not needed to user then carry out traditional static exploitation.
In general, the top caption region of menu interface and the status display area of bottom use static development scheme, in
Between menu option use dynamic development mode.
The Title area at feature operation interface uses dynamic development mode using static development scheme, menu option area.It is soft
Keyboard entry method uses dynamic development mode using static development scheme, option list input mode.
Step 3:Increase a special option control in the libraries FTK and defines the corresponding interface;
Increase a special functional parameter control in the libraries FTK and defines the corresponding interface.
Step 4:The new libraries FTK are compiled under linux.
Step 5:According to the classification of system function subsystem, data field is created in XML file for each menu interface
And fill in the attribute value of corresponding option control.
The attribute value of option control includes number, size, title and event handling function of option control etc..
Step 6:Function items according to actual needs create data field for each feature operation interface in XML file
And fill in the attribute value of corresponding function parametric contol.
The attribute value of functional parameter control includes number, size, title, classification and the modification option of functional parameter control
Deng.
It is that the functional parameter control that type is option list creates in XML file according to the actual conditions of input parameter
Simultaneously fill in corresponding option value in data field;If input mode does not include option list, this operation need not be carried out.
Step 7:Using character input circle in the main interface and input interface of traditional static mode development and application program
Face;
Step 8:By the way of reading XML file data, dynamic creation menu interface, feature operation interface and input
Option list in interface;
Beneficial effects of the present invention are:
The present invention provides a kind of touch screen interface quick development method based on FTK, easy to operate, applicability is strong.
Claims (3)
1. a kind of touch screen interface quick development method based on FTK, which is characterized in that include the following steps:
Step 1:It determines each interface that application software utilizes touch screen to show, main interface, menu circle is classified as according to function
Face, feature operation interface, input interface;Wherein, main interface is the entrance and desktop of entire application software;Menu interface is for showing
Show the function items for operation in each functional subsystem;Feature operation interface is for showing that each function items can be changed and be set
The parameters set;Input interface includes character input interface, and information input is carried out for user;
Step 2:Determine the top caption region, intermediary menu options region, bottom state area of menu interface;Determine feature operation
The Title area at interface, menu option area;Determine that the input mode of input interface, the input mode are soft keyboard and/or choosing
Item list;
Step 3:Increase a special option control in the libraries FTK and defines the corresponding interface;
Increase a special functional parameter control in the libraries FTK and defines the corresponding interface;
If the input mode of input interface in previous step is for option list or comprising option list, then according to functional parameter control
ID reads the option data of the functional parameter control from XML file, and is stored in control caching;
Step 4:The new libraries FTK are compiled under linux;
Step 5:According to the classification of system function subsystem, data field is created in XML file and fills in corresponding option control
Attribute value;
Step 6:Function items according to actual needs create data field in XML file and fill in corresponding function parametric contol
Attribute value;If the input mode determined in step 2 includes option list, also need to join for the function that type is option list
Number creates data field in XML file and fills in corresponding option value;
Step 7:Using the character input interface in the main interface and input interface of static mode development and application software;
Step 8:By the way of reading XML file data, dynamic creation menu interface, feature operation interface and input interface
In option list.
2. the touch screen interface quick development method based on FTK as described in claim 1, which is characterized in that option control
Attribute value includes number, size, title and the event handling function of option control.
3. the touch screen interface quick development method based on FTK as described in claim 1, which is characterized in that functional parameter control
The attribute value of part includes number, size, title, classification and the modification option of functional parameter control.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610000455.2A CN105677340B (en) | 2016-01-04 | 2016-01-04 | A kind of touch screen interface quick development method based on FTK |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610000455.2A CN105677340B (en) | 2016-01-04 | 2016-01-04 | A kind of touch screen interface quick development method based on FTK |
Publications (2)
Publication Number | Publication Date |
---|---|
CN105677340A CN105677340A (en) | 2016-06-15 |
CN105677340B true CN105677340B (en) | 2018-08-31 |
Family
ID=56298678
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610000455.2A Active CN105677340B (en) | 2016-01-04 | 2016-01-04 | A kind of touch screen interface quick development method based on FTK |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN105677340B (en) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112214236B (en) * | 2019-07-10 | 2023-04-07 | 杭州龙牛网络科技有限公司 | Method for building management system of application architecture of software rapid development platform |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102566864A (en) * | 2010-12-24 | 2012-07-11 | 新奥特(北京)视频技术有限公司 | Flexible customized interface operation method and system |
CN103377051A (en) * | 2013-07-16 | 2013-10-30 | 广东欧珀移动通信有限公司 | Application interface customizing method based on Android system |
CN104484189A (en) * | 2014-12-31 | 2015-04-01 | 北京拼图科技有限公司 | Construction and design method of application interface |
Family Cites Families (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20050172235A1 (en) * | 2004-02-02 | 2005-08-04 | International Business Machines Corporation | System and method for excluded elements mapping in a user interface |
US20070157117A1 (en) * | 2005-12-20 | 2007-07-05 | Nokia Corporation | Apparatus, method and computer program product providing user interface configurable command placement logic |
-
2016
- 2016-01-04 CN CN201610000455.2A patent/CN105677340B/en active Active
Patent Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102566864A (en) * | 2010-12-24 | 2012-07-11 | 新奥特(北京)视频技术有限公司 | Flexible customized interface operation method and system |
CN103377051A (en) * | 2013-07-16 | 2013-10-30 | 广东欧珀移动通信有限公司 | Application interface customizing method based on Android system |
CN104484189A (en) * | 2014-12-31 | 2015-04-01 | 北京拼图科技有限公司 | Construction and design method of application interface |
Also Published As
Publication number | Publication date |
---|---|
CN105677340A (en) | 2016-06-15 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11347935B2 (en) | Expended data grid components | |
EP1712991B1 (en) | System and method for providing a consistent visual appearance to output generated by multiple applications | |
EP1922604B1 (en) | Command user interface for displaying selectable functionality controls in a database application | |
US20120047454A1 (en) | Dynamic Soft Input | |
US9201852B2 (en) | Method for in-browser visual HTML editing via bi-directional navigation and virtual properties | |
US20130290837A1 (en) | Method and Apparatus for Correcting Document Formatting Based on Source Document | |
CN103109264A (en) | Creating a configuration file template | |
AU2022202569B2 (en) | Method of computerized presentation of a document set view for auditing information and managing sets of multiple documents and pages | |
US20240020350A1 (en) | Method and system for navigation control | |
CN105677340B (en) | A kind of touch screen interface quick development method based on FTK | |
Morris | Delphi Made Simple | |
US10984170B2 (en) | Systems and/or methods for dynamic layout design | |
Gross | Internationalization and localization of software | |
US20070124686A1 (en) | Locating graphical elements for an object | |
JP2006155598A (en) | Display input system, display control method, and display control program | |
JP3809807B2 (en) | A program for creating structural calculations | |
Yen et al. | Window design | |
Morris | Visual Basic 2005 Made Simple | |
Parsons et al. | Dialogs and Menus, Models and Views | |
KR101197518B1 (en) | Terminal device and user interface change method of the terminal device | |
Sofroniou | Front-end Design and Development for Systems Applications | |
JPH0675760A (en) | Extracting method for software design information | |
US20130290835A1 (en) | Method and Apparatus for the Selection and Reformat of Portions of a Document | |
Guide | Colorado Department of Transportation | |
Cantù | Building User interfaces with Delphi 2009 |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address |
Address after: No. 333, Yunhua Road, Chengdu hi tech Zone, China (Sichuan) pilot Free Trade Zone, Chengdu, Sichuan 610041 Patentee after: China Electronics Technology Network Security Technology Co.,Ltd. Address before: No. 333, Yunhua Road, high tech Zone, Chengdu, Sichuan 610041 Patentee before: CHENGDU WESTONE INFORMATION INDUSTRY Inc. |
|
CP03 | Change of name, title or address |