Important: Please read the Qt Code of Conduct -

QAction shows menu only with arrow

  • Hello, everyone,

    A have a QToolBar with QAction. I want the QAction show me QMenu, so I added QMenu to it with method QAction::setMenu(I need to do this according to the big project's logic).
    But now I have a QAction button with arrow in the right side and only pushing this arrow show me menu.
    What I need to do that pushing whole QAction button show me QMenu not only when I pushing this arrow(also I can hide this arrow, but still only field where it was working)?

    Thanks in advance

Log in to reply