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. Widget Box - How is it made?
Forum Updated to NodeBB v4.3 + New Features

Widget Box - How is it made?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 2 Posters 878 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.
  • O Offline
    O Offline
    oracle3001
    wrote on last edited by
    #1

    In QT Designer there is the Widget Box, which contains the various elements, organised into categories such as Layouts, Spacers, Buttons, etc...and those titles can be expanded / collapsed.

    !http://www.fancyaddress.com/blog/wp-content/uploads/2013/10/2z524cz-e1381702099184-150x150.png(Widget Box)!

    a) How is the widget box made? Has somebody created a standalone widget of that provides this functionality?

    b) Is there a better way of making a widget, that has a set of "titles" that act like buttons, which expand / collapse a series of listed elements?

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

      Hi,

      The most simple way to see how it's implemented is to look at Designer's source code.

      You might also be interested by QToolBox

      Hope it helps

      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