Adding items to a context menu

Hello

I'm trying this for a while, but it doesn't somehow. I want to add the default icons in the context menu. For example, the pen for "Change" or the speech bubble to 'Chat' and so on. In another post I have the solution to remove but now I am still fighting to add icons to my other actions. What I get is the default icon of "settings". All messages and descriptions of the API use imageView or imageSource, but this implies that I created my own, right?


contextActions: [
                 ActionSet {
                        title: "Action Set"
                        subtitle: "This is an action set."

                            ActionItem {
                                id: editAction
                                    title: qsTr("Edit") + Retranslate.onLanguageChanged
                                    onTriggered: {
                                    }
                                }
                            DeleteActionItem {
                                id: deletePositionAction
                                title: qsTr("Delete") + Retranslate.onLanguageChanged
                                ActionBar.placement: ActionBarPlacement.InOverflow
                                onTriggered: {                                    mainObj.delete()
                                }
                            }
                    }
                ]

Some special controls come with their own icons, but we have also made available a large number of our other icons for your use in 10 BlackBerry apps. You can download at the bottom of the page here: https://developer.blackberry.com/design/bb10/

Tags: BlackBerry Developers

Similar Questions

  • Is it possible to change the order of items in the context menu of 'link' (I want to 'open in a new window... ("Be the first)?

    I did an upgrade FF v3.6.xx to v17.0.x and found that the order of items in the context menu 'Link' is not the same.
    v3.6 menu looks as follows: 1. "Open link in a new window", 2. "Open link in a new tab,"
    order of the items in menu v17.0 is 1 reverse. "Open link in a new tab", 2. " Open the link in a new window. "
    Position of all the other elements are uninteresting to me.
    How to exchange it two points higher in the contextual menu "link"?

    The two ways are useful:

    "Drag-n-drop" in the Editor window works.

    For my Windows XP path looks like: "C:\Documents and Settings\%account%\Application Data\Mozilla\Firefox\Profiles\%random_name%\chrome\userChrome.css".

  • How to add the menu item in the context menu of the Gallery

    Hi all

    I am new bie BlackBerrry development. Does anyone know how to add a menu item in the context menu of the BlackBerry Gallery. In other words, when I am browsing photos in the Gallery, click on the menu, there will be a configurable option so that my request will be executed when I select this item.

    Thank you
    TuanSandman

    See this article.

    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800367/How_To _...

    Check the class ApplicationMenuItemRepository for applications where you can add the custom menu item.

  • [JS CS4] Add menu item to the context menu of the control panel paragraph styles

    Hi all

    I am trying to add a menu item in the context menu of control panel of the paragraph styles, that appears when you right click on any paragraph style name in the Panel. But I can't find the menu in app.menus.

    In app.menus there is, for example, a 'Menu of the Pages panel framework', 'object Styles point context Menu. But there is no similar menu for the paragraph or character style.

    Someone help me?

    Paul

    RtMenuStyleListItem

  • dynamically add or remove items from the context menu?

    Hello

    Is there a (safe) way to dynamically add or remove items

    a context menu for an effect plugin type parameter?

    Thank you.

    N ° parameters, including pop-up lists, filling occurs before the effect is applied to a sequence.

  • Remove items from a context Menu added by an application

    I have an application installed on my Mac OS X El Capitan of synchronization of folders for a Synology NAS I have on my network.  This app has added a series of commands "copy to...". "in the menu contextual (right-click) to files and folders.  He also added a button in the finder window next to the search box that provides the same list of commands "copy to...". "If selected.  These are useless for me and background image upward with the context menu I use all the time for orders as open, open with, get info, etc.

    I asked Synology on this subject and they have no solution.  Their application must put those orders somewhere that the operating system is to make them.  Anyone know where it is and if it is possible to delete or prevent them to appear?

    I found this genre of similar issues related to standard orders of Mac it will the elements keyboard/shortcuts/service instructions and unchecking the list it.  But these commands are not displayed here.  If this seems not to be the solution.

    Any help is appreciated.

    Thank you

    Mark

    Have you tried in

     > system... Preferences > Extensions > here?

  • How can I add new menu item in the context Menu of Flash CS6? (Not ActionScript)

    Hi all!

    I want to add my custom here menu item. I did the script jsfl that calculate eveyrting I need. I want to add the custom for her menu item. How can I do this?

    I see you there 'Generate Sprite Sheet' - I could do the same thing?

    question.png

    Hello

    The only places where you can add separate menu options lies in the command menu or add new extensions that appear in the windows-> menu other panels. There is no other way in which the menus can be added without being replaced by the Flash Code.

    For more information about adding separate entry into the menu commands or the Windows menu.

    (Menu) - add the jsfl script to C:\Users\\AppData\Local\Adobe\Flash CS6\en_US\Configuration\Commands

    and that automatically will be appear on the Menu commands on Flash raises.

    (2) add a (panel) for the C:\Users\ Flash SWF\AppData\Local\Adobe\Flash CS6\en_US\Configuration\WindowSWF folder.

    Thank you and best regards,

    Roger Simon

    Adobe Flash Professional Team.

  • How to add (remove) items from the context Menu in Windows XP

    I want that some programs appear in the OPEN WITH context menu. This allows me to choose another in the associated program. I don't want to change the association, and I don't want to search the program folder programs whenever I need.
    morphingstar

    Right click on a file you want to modify the 'open with'.
    Click 'Open with' and "Choose program."
    Do not forget that you uncheck "Always use this program to open this type of file" except default if you want to use this program each time.

    Select the program you want to use, if it is not listed, then click Browse and navigate to the program. And then click OK.
    The new program now appears when you right click on the file or program.

    Please let us know if that helps.

  • Duplicate the item in the context Menu appear in the shortcut to Windows 7 libraries

    Problem: right-click right any shortcut in the libraries of the window element duplicated to find, for example "scan with ESET Smart Security.

    Thank you for your enthusiastic response to this problem, but I decided to reinstall my window.

  • What happened to the context menu item 'Add album artwork' in iTunes 12.4?

    I love the new version 12.4 (return of the sidebar). What happened to the item of the context menu add album work?

    Someone tell me where to find it.

    If the command get Album artwork , it has not seem to be an equivalent command in the menu bar that applies to only one song (or a selection of songs).  Not in the main menu bar or anywhere else.  The command in the menu bar to file-> library-> Get Album artwork is available, but this action applies to your entire library.

    However, if you put your music library in the Albums view (to display the view with the album 'tiles' of the work in a grid), I noticed you pouvez with right-click an album and get the cover.  I think that this applies to all the songs on the selected album (or albums).  I guess that's "a" logical, given that missing album art are generally for all the songs on the album.

  • Remove context menu items get Suggestions and add them to the dictionary

    How can I delete the 'get the Suggestions' and the items of the context menu "Add to Dictionary" for an EditField?

    I request this API targets 4.2 but running this application on 4.7 API (TOUR) presents these two new context menu items. Is it possible to disable the elements of pop-up to appear? I tried setting the indicator of EditField.NO_LEARNING but that does not work.

    Thank you.

    Found the solution. You must set the field. NON_SPELLCHECKABLE Pavilion on the style.

  • Customizing the context Menu

    Hello

    I spent 7 hours trying to customize my context menu in Vista without a bit of luck or find any information (useful) online.

    I am aware of a tool called FileMenu and ContextEdit, but they allow me some control over the context menu, however, it seems that you cannot rearrange the order. I know there is a lot of information about adding and deleting items in the context menu, but none on how to change the order (or how you can determine the position of the added items or a separator).

    My context menu looks like this.

    Explore
    Open
    ------
    Extract all
    Eraser
    FileMenu Tools
    ------
    Search for viruses
    ------
    Unlocker
    ------
    7-zip
    Open with
    ------
    Cup
    Copy

    etc...

    I'm changing the order of:

    Explore
    Open
    ------
    7-zip
    Extract all
    ------
    Eraser
    Search for viruses
    ------
    FileMenu Tools
    Unlocker
    ------
    Cup
    Copy

    etc...

    Someone at - it thoughts on how to achieve this?

    Thank you

    Hello

    Refer to this link and check.

    http://www.WinVistaClub.com/E11.html

    It will be useful.

  • How to add "Look it up in lexicon" to the context menu?

    Hi all! The title says it is in fact... When I highlight a word in a text donnΘ, is possible to add an item to the context menu - > search in the lexicon or Contextual menu - > Services - > search in the lexicon (or whatever it may be called).

    I mean by local "lexicon" built in the dictionary as part of Mac OS (El Capitan in my case).

    Any help will be greatly appreciated!

    Try to open system preferences > keyboard, look in the tab shortcuts.

    Title services in the sidebar, there should be a section 'search' with an option to activate the context menu item 'search in the dictionary'. Allow it to appear in the right click menu "contextual".

    p.s. This is an earlier operating system, it may have changed.

  • Just updated to 38.0.5 and now when I right click on a bookmark to edit, the context menu is grayed out and it won't let me. Why?

    I read a lot of web comics, so I change the bookmarks for them on a daily basis on the last page on each site. I just tried to do that tonight after you install the 36.0.5 update, now when I right click on the bookmark in the menu, I have yet to get the context menu, but all the options are greyed out. He was most certainly not in this way the last night before the update. That is what it is?

    Oops, it's probably the bug to customize. After using customize it, most of the items on the context menu are gray to the bookmarks Menu in the classic menu bar.

    It does not affect the button drop-down bookmarks menu *, and it does not affect the bar Favorites (Ctrl + b). And if you launch a new window (Ctrl + n), he works on the menu bar, too. Very strange.

    I don't know when this is going to get it fixed but at least you know a few places to access the properties for the moment.

    Which doesn't seem to be the problem?

    One on the taskbar near the star

  • Context menu: open the Edit Preview vs vs

    I found several useful programs and procedures to change items of the context menu in Windows Explorer, including a very useful program which adds and organizes the functions called File Menu Tools from Lopesoft of Windows XP/Vista/7. I still need to find a comprehensive solution, but in this post, I ask about a specific problem. By using the default program control panel in Windows, we can adjust what program responds when the choice open is select in the context menu, within limits. I would attribute different programs to Edit choices and preview on this same context menu. There's an example for me. PNG files. From Adobe Fireworks saves files in particular. PNG format, but most of the other programs don't, I'd like to be able to right click on a such file and select Preview (preferably set as default) to open it in the photo gallery Windows for a quick consultation and limited editions. Change to open in Fireworks capable Fireworks files; Open to open it in Photoshop to fundamentally change. Any ideas?

    Hello

    Unfortunately, there is no such feature in windows to allow this level of customization.

Maybe you are looking for