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. Show only icons in QMacToolBar
Forum Updated to NodeBB v4.3 + New Features

Show only icons in QMacToolBar

Scheduled Pinned Locked Moved Unsolved General and Desktop
macmac extrastoolbar
3 Posts 2 Posters 1.3k Views
  • 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.
  • J Offline
    J Offline
    jimcad
    wrote on 10 Nov 2015, 07:08 last edited by
    #1

    I have use QMacToolBar from macextras and it works properly. But have not figured how to show toolbar only with icons, without texts. All help is much appreciated.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jsulm
      Lifetime Qt Champion
      wrote on 10 Nov 2015, 08:36 last edited by
      #2

      What happens if you provide an icon and empty string as text?

      addItem(const QIcon & icon, const QString & text)
      

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      J 1 Reply Last reply 10 Nov 2015, 15:04
      0
      • J jsulm
        10 Nov 2015, 08:36

        What happens if you provide an icon and empty string as text?

        addItem(const QIcon & icon, const QString & text)
        
        J Offline
        J Offline
        jimcad
        wrote on 10 Nov 2015, 15:04 last edited by
        #3

        @jsulm Well, texts are not displayed but height of toolbar is too large.

        1 Reply Last reply
        0

        3/3

        10 Nov 2015, 15:04

        • Login

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