仅需要简单地从DataContainer的智能标签中选择名称为这个窗体的菜单项。
Simply select the Details Form menu item from the DataContainer's smart tag.
注意,为了向KDE标准下拉菜单中增加菜单项,菜单的名称必须和原来的匹配。
Notice that menu names should match existing ones in order to add items to KDE standard pulldown menus.
在我的例子中,我使用item28作为class名称,因为item28是对应着我的菜单项的标识。
In my example I use item28 because 28 is the itemId property of my menu item.
返回指定菜单项的名称(字符串名)。
Retrieves the name (text string) of the specified menu item.
text属性定义MenuItem的名称,action 属性包含一个决定菜单项行为的操作。
The text attribute defines the name of the MenuItem, and the action attribute contains an operation that determines the item's behavior.
和符号应用于名称中和符号旁边的字符,使得在显示菜单项时该字符有下划线。
The ampersand applies to the next character in the name and causes the character to be underlined when the menu item is displayed.
项目名称;名称(字符串)的菜单项。
项目名称;名称(字符串)的菜单项。
应用推荐