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. How to delete "promotion"?
QtWS25 Last Chance

How to delete "promotion"?

Scheduled Pinned Locked Moved Solved General and Desktop
4 Posts 2 Posters 1.2k 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
    Anonymous_Banned275
    wrote on last edited by
    #1

    I have deleted promoted widget from "Object inspector" and want to cancel / delete unused promotion in "promoted Widgets" dialogue.
    Do not see obvious way to do so.

    Any idea?

    7517d5e0-3ed4-4f3b-996e-0ee744ac07e4-image.png

    1 Reply Last reply
    0
    • A Anonymous_Banned275

      @Chris-Kawa said in How to delete "promotion"?:

      First right click on your promoted widget and select "Demote to WhateverYourBaseClassIs". Your widget is no longer promoted.

      If, after that, you want to clean up the promotion list go to the promote dialog again and you can now select a promotion from the list and click the red minus button under the list. If it's disabled then it means you still have a widget that uses that promotion.

      Well, I could use my old age "excuse ".
      There is "greyed" minus sign at the bottom of the list of promotions.
      Works fine AFTER promotion to be deleted is highlighted. Duh.
      But remains "greyed out ".

      BUT, there is always a BUT...
      after dummy QWidget is promoted , it is invisible at "tab".
      Hopefully I do not have to adjust tab size, alter all I added "formWidget" layout. ( The "red crosses" still persist...)

      I'll will try combinations of layout / promoted widget.
      BUT ( again) it does not look as I can promote in each tab independently dummy QWidget to SAME QDialog , perhaps QWidget cannot be promoted to QDialog in first place , will see.

      fd193e8a-d65c-4246-af6f-5d5629fbc7c9-image.png

      A Offline
      A Offline
      Anonymous_Banned275
      wrote on last edited by
      #4

      @AnneRanch said in How to delete "promotion"?:

      @Chris-Kawa said in How to delete "promotion"?:

      First right click on your promoted widget and select "Demote to WhateverYourBaseClassIs". Your widget is no longer promoted.

      If, after that, you want to clean up the promotion list go to the promote dialog again and you can now select a promotion from the list and click the red minus button under the list. If it's disabled then it means you still have a widget that uses that promotion.

      Well, I could use my old age "excuse ".
      There is "greyed" minus sign at the bottom of the list of promotions.
      Works fine AFTER promotion to be deleted is highlighted. Duh.
      But remains "greyed out ".

      BUT, there is always a BUT...
      after dummy QWidget is promoted , it is invisible at "tab".
      Hopefully I do not have to adjust tab size, alter all I added "formWidget" layout. ( The "red crosses" still persist...)

      I'll will try combinations of layout / promoted widget.
      BUT ( again) it does not look as I can promote in each tab independently dummy QWidget to SAME QDialog , perhaps QWidget cannot be promoted to QDialog in first place , will see.

      fd193e8a-d65c-4246-af6f-5d5629fbc7c9-image.png

      BUT ...

      SOLVED

      In QTabWidget the "any dummy QWidget" is actually "TABx" . QWidget.
      Promoting anything in the "tab" itself does not perform , but compiles .

      cd49c0f2-de86-490a-9484-51e1ad8fcf54-image.png

      Now "how to do it in code " is next , maybe.

      1 Reply Last reply
      0
      • Chris KawaC Online
        Chris KawaC Online
        Chris Kawa
        Lifetime Qt Champion
        wrote on last edited by
        #2

        First right click on your promoted widget and select "Demote to WhateverYourBaseClassIs". Your widget is no longer promoted.

        If, after that, you want to clean up the promotion list go to the promote dialog again and you can now select a promotion from the list and click the red minus button under the list. If it's disabled then it means you still have a widget that uses that promotion.

        A 1 Reply Last reply
        3
        • Chris KawaC Chris Kawa

          First right click on your promoted widget and select "Demote to WhateverYourBaseClassIs". Your widget is no longer promoted.

          If, after that, you want to clean up the promotion list go to the promote dialog again and you can now select a promotion from the list and click the red minus button under the list. If it's disabled then it means you still have a widget that uses that promotion.

          A Offline
          A Offline
          Anonymous_Banned275
          wrote on last edited by
          #3

          @Chris-Kawa said in How to delete "promotion"?:

          First right click on your promoted widget and select "Demote to WhateverYourBaseClassIs". Your widget is no longer promoted.

          If, after that, you want to clean up the promotion list go to the promote dialog again and you can now select a promotion from the list and click the red minus button under the list. If it's disabled then it means you still have a widget that uses that promotion.

          Well, I could use my old age "excuse ".
          There is "greyed" minus sign at the bottom of the list of promotions.
          Works fine AFTER promotion to be deleted is highlighted. Duh.
          But remains "greyed out ".

          BUT, there is always a BUT...
          after dummy QWidget is promoted , it is invisible at "tab".
          Hopefully I do not have to adjust tab size, alter all I added "formWidget" layout. ( The "red crosses" still persist...)

          I'll will try combinations of layout / promoted widget.
          BUT ( again) it does not look as I can promote in each tab independently dummy QWidget to SAME QDialog , perhaps QWidget cannot be promoted to QDialog in first place , will see.

          fd193e8a-d65c-4246-af6f-5d5629fbc7c9-image.png

          A 1 Reply Last reply
          0
          • A Anonymous_Banned275

            @Chris-Kawa said in How to delete "promotion"?:

            First right click on your promoted widget and select "Demote to WhateverYourBaseClassIs". Your widget is no longer promoted.

            If, after that, you want to clean up the promotion list go to the promote dialog again and you can now select a promotion from the list and click the red minus button under the list. If it's disabled then it means you still have a widget that uses that promotion.

            Well, I could use my old age "excuse ".
            There is "greyed" minus sign at the bottom of the list of promotions.
            Works fine AFTER promotion to be deleted is highlighted. Duh.
            But remains "greyed out ".

            BUT, there is always a BUT...
            after dummy QWidget is promoted , it is invisible at "tab".
            Hopefully I do not have to adjust tab size, alter all I added "formWidget" layout. ( The "red crosses" still persist...)

            I'll will try combinations of layout / promoted widget.
            BUT ( again) it does not look as I can promote in each tab independently dummy QWidget to SAME QDialog , perhaps QWidget cannot be promoted to QDialog in first place , will see.

            fd193e8a-d65c-4246-af6f-5d5629fbc7c9-image.png

            A Offline
            A Offline
            Anonymous_Banned275
            wrote on last edited by
            #4

            @AnneRanch said in How to delete "promotion"?:

            @Chris-Kawa said in How to delete "promotion"?:

            First right click on your promoted widget and select "Demote to WhateverYourBaseClassIs". Your widget is no longer promoted.

            If, after that, you want to clean up the promotion list go to the promote dialog again and you can now select a promotion from the list and click the red minus button under the list. If it's disabled then it means you still have a widget that uses that promotion.

            Well, I could use my old age "excuse ".
            There is "greyed" minus sign at the bottom of the list of promotions.
            Works fine AFTER promotion to be deleted is highlighted. Duh.
            But remains "greyed out ".

            BUT, there is always a BUT...
            after dummy QWidget is promoted , it is invisible at "tab".
            Hopefully I do not have to adjust tab size, alter all I added "formWidget" layout. ( The "red crosses" still persist...)

            I'll will try combinations of layout / promoted widget.
            BUT ( again) it does not look as I can promote in each tab independently dummy QWidget to SAME QDialog , perhaps QWidget cannot be promoted to QDialog in first place , will see.

            fd193e8a-d65c-4246-af6f-5d5629fbc7c9-image.png

            BUT ...

            SOLVED

            In QTabWidget the "any dummy QWidget" is actually "TABx" . QWidget.
            Promoting anything in the "tab" itself does not perform , but compiles .

            cd49c0f2-de86-490a-9484-51e1ad8fcf54-image.png

            Now "how to do it in code " is next , maybe.

            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