The textfield borders in Figure 2 aren't normal-looking single-pixel rectangular borders.
图2中的 textfield边框不是常规外观的单像素矩形边框。
How to create a message dialog using QML Control elements (such as combobox, textfield, checkbox...)
如何使用QML控制元素创建一个消息对话框(如组合框、文本框、复选框。)
Use similar names for each TextField widget.
为每个TextField小部件使用类似的名字。
A TextField allows the user to enter and edit text.
TextField允许用户输入和编辑文本。
This means that the textField and the button will be placed horizontally, one after the next.
这意味着textField和button挨着水平排列。
When you run the program (zipped in Resources), you can see that TextField gets the initial focus.
当您运行这个程序(压缩文件在参考资料中)时,您能够看到TextField得到了最初的焦点。
The TextField has focus listeners to demonstrate the focus changes to and from the example component.
TextField 用焦点侦听者来演示焦点移动到该示例组件和从该组件移走时发生的变化。
To accomplish this, create a ListBox widget class similar to the one created earlier for TextField, and then add select() and find() methods to it.
要完成这项操作,需要创建ListBox 窗口小部件类,创建过程与前面创建TextField的相似,然后将select()和find()方法添加到该类中。
This method searches within the given parent test object, usually a browser page, for an object of a specified class, for example, Link, TextField, Listbox, and so on.
该方法在给定父测试对象(通常是浏览器页面)内搜索指定类的对象,例如,Link、TextField、Listbox等。
Creating the user interface consists of allocating a Form, a TextField, and two Commands — one to search the record store and one to exit the MIDlet, as shown in Listing 19.
用户界面的创建包括指定一个Form、一个TextField和两个Command——一个用于搜索记录存储,另外一个用于退出MIDlet,如清单19所示。
Creating the user interface consists of allocating a Form, a TextField, and two Commands — one to search the record store and one to exit the MIDlet, as shown in Listing 19.
用户界面的创建包括指定一个Form、一个TextField和两个Command——一个用于搜索记录存储,另外一个用于退出MIDlet,如清单19所示。
应用推荐