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. Morph into for custom widgets
Forum Update on Monday, May 27th 2025

Morph into for custom widgets

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 1.5k 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
    Andy314
    wrote on 23 Feb 2016, 18:38 last edited by Andy314
    #1

    The morph into function is a very usefull feature of the designer if you decide a to take a similar widget type.
    Can I integrate this function for my custom widgets in the designer ?

    I have subclassed most of all windget and want to morph between it.

    1 Reply Last reply
    0
    • M Offline
      M Offline
      mrjj
      Lifetime Qt Champion
      wrote on 23 Feb 2016, 18:50 last edited by
      #2

      hi
      that is a really good question :)

      In morphmenu.cpp
      " Morphing types are restricted to the basic Qt types. Morphing custom
      widgets is considered risky since they might have unmanaged layouts"

      So its sounds thats its not supported but I could be wrong :)

      1 Reply Last reply
      0

      1/2

      23 Feb 2016, 18:38

      • Login

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