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. Qt Creator, no entry icon on QGroupBox and QFrame ?
Forum Updated to NodeBB v4.3 + New Features

Qt Creator, no entry icon on QGroupBox and QFrame ?

Scheduled Pinned Locked Moved Solved Qt Creator and other tools
6 Posts 3 Posters 935 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.
  • SPlattenS Offline
    SPlattenS Offline
    SPlatten
    wrote on last edited by
    #1

    I am editing a UI in Qt Creator 2.8.1, Based on Qt 4.8.4 (GCC 4.6.3, 64 bit). The version of Qt and Qt Creator are beyond my control, I'm trying to resolve some issues in the form.

    Unfortunately the development system is so locked down I am unable to get any screenshots and photographs are not permitted.

    The first widget on the form is a QFrame, inside this there is a QGroupBox, no issues with the first. At the same level there is another QGroupBox, this one has a red no entry icon overlaid, the QFrame that is a child of this group box also has the same icon.

    What does this mean, what is it not telling me?

    Kind Regards,
    Sy

    JonBJ 1 Reply Last reply
    0
    • SPlattenS SPlatten

      @JonB , thank you, however this doesn't make sense, the order of the UI:

      QFrame
          |- QGroupBox
          |         |-QFrame
          |         |       QHBoxLayout
          |- QGroupBox (this has a red no entry icon)
          |         |-QFrame (this also has a red no entry icon)
          |         |        QHBoxLayout
      

      Only those two items indicated above have red icons. Also the QFrame geometry in the first group box has greyed out geometry, the second is not greyed, what does this indicate?

      J.HilkJ Offline
      J.HilkJ Offline
      J.Hilk
      Moderators
      wrote on last edited by
      #4

      @SPlatten make sure the layout is actually assigned to the Qframe/QWidget because you can simply place layouts on top of widgets, but that won't assign them, and therefore remove the noEntry icon


      Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


      Q: What's that?
      A: It's blue light.
      Q: What does it do?
      A: It turns blue.

      1 Reply Last reply
      2
      • SPlattenS SPlatten

        I am editing a UI in Qt Creator 2.8.1, Based on Qt 4.8.4 (GCC 4.6.3, 64 bit). The version of Qt and Qt Creator are beyond my control, I'm trying to resolve some issues in the form.

        Unfortunately the development system is so locked down I am unable to get any screenshots and photographs are not permitted.

        The first widget on the form is a QFrame, inside this there is a QGroupBox, no issues with the first. At the same level there is another QGroupBox, this one has a red no entry icon overlaid, the QFrame that is a child of this group box also has the same icon.

        What does this mean, what is it not telling me?

        JonBJ Offline
        JonBJ Offline
        JonB
        wrote on last edited by
        #2

        @SPlatten
        The "red no entry" sign is shown when a container widget does not have any layout on it. It's warning you that it really need a layout. You have to place a child widget onto it and then set the layout (on the parent) to make it go away. Not sure how that relates to your situation but there you are.

        SPlattenS 1 Reply Last reply
        0
        • JonBJ JonB

          @SPlatten
          The "red no entry" sign is shown when a container widget does not have any layout on it. It's warning you that it really need a layout. You have to place a child widget onto it and then set the layout (on the parent) to make it go away. Not sure how that relates to your situation but there you are.

          SPlattenS Offline
          SPlattenS Offline
          SPlatten
          wrote on last edited by
          #3

          @JonB , thank you, however this doesn't make sense, the order of the UI:

          QFrame
              |- QGroupBox
              |         |-QFrame
              |         |       QHBoxLayout
              |- QGroupBox (this has a red no entry icon)
              |         |-QFrame (this also has a red no entry icon)
              |         |        QHBoxLayout
          

          Only those two items indicated above have red icons. Also the QFrame geometry in the first group box has greyed out geometry, the second is not greyed, what does this indicate?

          Kind Regards,
          Sy

          J.HilkJ JonBJ 2 Replies Last reply
          0
          • SPlattenS SPlatten

            @JonB , thank you, however this doesn't make sense, the order of the UI:

            QFrame
                |- QGroupBox
                |         |-QFrame
                |         |       QHBoxLayout
                |- QGroupBox (this has a red no entry icon)
                |         |-QFrame (this also has a red no entry icon)
                |         |        QHBoxLayout
            

            Only those two items indicated above have red icons. Also the QFrame geometry in the first group box has greyed out geometry, the second is not greyed, what does this indicate?

            J.HilkJ Offline
            J.HilkJ Offline
            J.Hilk
            Moderators
            wrote on last edited by
            #4

            @SPlatten make sure the layout is actually assigned to the Qframe/QWidget because you can simply place layouts on top of widgets, but that won't assign them, and therefore remove the noEntry icon


            Be aware of the Qt Code of Conduct, when posting : https://forum.qt.io/topic/113070/qt-code-of-conduct


            Q: What's that?
            A: It's blue light.
            Q: What does it do?
            A: It turns blue.

            1 Reply Last reply
            2
            • SPlattenS SPlatten

              @JonB , thank you, however this doesn't make sense, the order of the UI:

              QFrame
                  |- QGroupBox
                  |         |-QFrame
                  |         |       QHBoxLayout
                  |- QGroupBox (this has a red no entry icon)
                  |         |-QFrame (this also has a red no entry icon)
                  |         |        QHBoxLayout
              

              Only those two items indicated above have red icons. Also the QFrame geometry in the first group box has greyed out geometry, the second is not greyed, what does this indicate?

              JonBJ Offline
              JonBJ Offline
              JonB
              wrote on last edited by JonB
              #5

              @SPlatten
              I tested yours and get "red no entries" where indeed I have not set a layout. Geometries are greyed out where a widget does have a layout, you can only set it manually where one does not. I think you have first set of widgets with layouts assigned but second set with no layouts.

              Don't forget the layouts I am talking about are set via right-click on widget and the bottom item, Lay out >, not by adding Layouts from the toolbar at the left. Note also that once you have a layout assigned, if you right click on it and go into Lay out > you see item Break Layout whose icon has that red no entry sign, indicating that removing a layout causes that sign to appear.

              SPlattenS 1 Reply Last reply
              2
              • JonBJ JonB

                @SPlatten
                I tested yours and get "red no entries" where indeed I have not set a layout. Geometries are greyed out where a widget does have a layout, you can only set it manually where one does not. I think you have first set of widgets with layouts assigned but second set with no layouts.

                Don't forget the layouts I am talking about are set via right-click on widget and the bottom item, Lay out >, not by adding Layouts from the toolbar at the left. Note also that once you have a layout assigned, if you right click on it and go into Lay out > you see item Break Layout whose icon has that red no entry sign, indicating that removing a layout causes that sign to appear.

                SPlattenS Offline
                SPlattenS Offline
                SPlatten
                wrote on last edited by
                #6

                @JonB , this issue has now been resolved by using J.Hilk's suggestion.

                Kind Regards,
                Sy

                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