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. Subclassing (promoting) non-QWidget in Designer
Forum Updated to NodeBB v4.3 + New Features

Subclassing (promoting) non-QWidget in Designer

Scheduled Pinned Locked Moved Qt Creator and other tools
2 Posts 2 Posters 1.5k 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.
  • D Offline
    D Offline
    ddunham
    wrote on last edited by
    #1

    We've been using Qt Designer. It's likely we will want to subclass QLayout to do some specialized layout (hiding child widgets). I don't see a way to do this in Designer.

    Also, we may want to have a custom spacer, that has the right size on either Mac or Windows. Is that possible as well?

    (It's easy to promote a QWidget, but these guys aren't QWidgets.)

    1 Reply Last reply
    0
    • D Offline
      D Offline
      Duck
      wrote on last edited by
      #2

      There is no way to subclass a QLayout in designer. You need real code for that.

      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