Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. How i can hide splitter at QToolBar before QActions
Qt 6.11 is out! See what's new in the release blog

How i can hide splitter at QToolBar before QActions

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 374 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    andr1312e
    wrote on last edited by andr1312e
    #1

    Hi everyone
    I am using QToolBar with QAction

    m_showTreeView = new QAction(QIcon(":/image/show"), "Показать оглавление (F1)");
    

    and more actions create later. After that i add actions to QToolBar

        m_commonToolBar->addAction(m_showTreeView);
    

    My result is
    ece6a2cf-92a4-4d61-a95e-4133d9702e30-изображение.png
    And
    b760376b-5866-4531-9f81-a7a195d74965-изображение.png
    How i can delete these double splitter at the begin?
    Thanks

    1 Reply Last reply
    0
    • SGaistS Offline
      SGaistS Offline
      SGaist
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi,

      Which OS are you on ?
      When exactly do they appear ?

      Interested in AI ? www.idiap.ch
      Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved