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. Qt Creator Form Designer: how to remove leftover widgets?
QtWS25 Last Chance

Qt Creator Form Designer: how to remove leftover widgets?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 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.
  • Q Offline
    Q Offline
    QtBit44
    wrote on last edited by
    #1

    Hi there,

    This question may seem basic, but I don't know the answer to it. In my Qt MainWindow form I have a toolbar and multiple tree widgets that I pin other widgets to using addwidget and setitemwidget. These pinned widgets exist in the middle of my MainWindow form until runtime. In design mode, they prevent me from inserting another widget in the middle of my form and applying a layout to it so that it can be scaled properly. My question is, how can I make the Qt designer ignore these leftover widgets so that I can properly apply a layout to the form?

    K 1 Reply Last reply
    0
    • Q QtBit44

      Hi there,

      This question may seem basic, but I don't know the answer to it. In my Qt MainWindow form I have a toolbar and multiple tree widgets that I pin other widgets to using addwidget and setitemwidget. These pinned widgets exist in the middle of my MainWindow form until runtime. In design mode, they prevent me from inserting another widget in the middle of my form and applying a layout to it so that it can be scaled properly. My question is, how can I make the Qt designer ignore these leftover widgets so that I can properly apply a layout to the form?

      K Offline
      K Offline
      koahnig
      wrote on last edited by koahnig
      #2

      @QtBit44
      not sure if I understand you correctly. But you should be basically able to click on to any wiget in your layout and open a dialog with the right mouse key. There you will find delete.

      You be able to mark also any widget in the right upper pane and use the delete button.
      [update: also there you have to use the right mouse button and select delete]

      Vote the answer(s) that helped you to solve your issue(s)

      1 Reply Last reply
      1

      • Login

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