Note that there are some explanatory texts on larger screens.

plurals
  1. POHow to Hide Right Arrow in QMenu in Qt?
    primarykey
    data
    text
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. CORight arrow is displayed when you have a submenu under the current entry. You should not hide it because it is part of plateform guidelines and usual user experience. If you have an arrow without submenu, you probably did something wrong. Can you provide a little code showing how you create your menu and how you append items ?
      singulars
    2. COThanks for your reply Antoine Lorence. Actually i am trying to drag and drop the menu items. An Action cannot be dragged since it is inherited from an Object. So intead of using a QAction I made it as QMenu. By default, the QMenu comes with a right arrow key (either the sub menu is there or not). So I want to hide the right arrow for that particular actions. (which i have changed it as menu's).
      singulars
    3. COYou should instead create a QMenu subclass to implements drag and drop directly inside it. Even if QAction cannot be dragged/dropped, you can manage this feature from the parent menu. See http://www.qtcentre.org/threads/23278-Draggable-QActions-in-Qt and many many other examples over the internet (https://www.google.fr/search?q=dragging+qmenu&ie=utf-8&oe=utf-8&rls=org.mozilla:fr:official&client=firefox-a&channel=fflb&gws_rd=cr&ei=n9esUvbnFqeQ0AX4oYCwCQ#channel=fflb&q=drag+and+drop+qaction+qmenu&rls=org.mozilla:fr:official)
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload