Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt Creator and other tools
  4. Filtering Designer's widget box via QDesignerWidgetBoxInterface
Forum Update on Monday, May 27th 2025

Filtering Designer's widget box via QDesignerWidgetBoxInterface

Scheduled Pinned Locked Moved Unsolved Qt Creator and other tools
1 Posts 1 Posters 424 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.
  • A Offline
    A Offline
    altendky
    wrote on last edited by
    #1

    I have several custom widgets I have been using in Designer and that could be used by users of my application without having to write any code. Most of the widgets listed in Designer's widget box need code behind them to be useful and I would like to hide those. I have attempted to write the widget box's configuration to a file, load that and remove a few example items, write that to a file, then load that second file back into the widget box... load() returns true but I see no change in the widget box.

    Code: https://github.com/altendky/st/commit/27a48439273ccfbfafd572e477c92ad55df8606f
    Designer output: https://gist.github.com/altendky/490c7f7d14377e50fa7bb266612de24d

    Any obvious errors? Thoughts on something else to try? Thanks for your time.

    Cheers,
    -kyle

    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