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. [SOLVED] QT Design - label hidden by other label

[SOLVED] QT Design - label hidden by other label

Scheduled Pinned Locked Moved General and Desktop
8 Posts 2 Posters 2.6k 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.
  • B Offline
    B Offline
    babuschkainyouface
    wrote on last edited by
    #1

    hello i got some different labels

    there is one big label containing a picture (png)
    and there are several smaller labels that are on that "picture-containing-label"

    the problem is
    some of those smaller labels are visible and clickable (they are on the "picture-containing-label")
    some of those smaller labels are NOT VISIBLE (they are hidden behind the "picture-containing-label")

    so is there anywhere a z-dimension or something like this to edit? didn't find anything ..

    thanks in advance
    Babu

    1 Reply Last reply
    0
    • dheerendraD Offline
      dheerendraD Offline
      dheerendra
      Qt Champions 2022
      wrote on last edited by
      #2

      Hope you are trying in Qt and not in QML. Did you use any layout to set your label ?

      Dheerendra
      @Community Service
      Certified Qt Specialist
      http://www.pthinks.com

      1 Reply Last reply
      0
      • B Offline
        B Offline
        babuschkainyouface
        wrote on last edited by
        #3

        i used the QT Creator -
        but what i noticed is a red sign on the top of the lists ..
        i added the picture - hope it works

        "picture is here:":https://www.dropbox.com/sh/i7mhzmftp3rmubu/AAAfcXyNleJUGDxD2VCIQW-oa/Bildschirmfoto.png

        1 Reply Last reply
        0
        • dheerendraD Offline
          dheerendraD Offline
          dheerendra
          Qt Champions 2022
          wrote on last edited by
          #4

          I see issue with organizing your layout. Also what are those label and label_pic. These two QLabels are not in any layout at all. Also you are using may QHBoxLayout. Hope they are the right once. Also you have vertical layout. Where is it used ? I did not see any top layout which includes all these layout.

          You are doing all this in QDialog class. Not sure why you are using the QDialog.

          Dheerendra
          @Community Service
          Certified Qt Specialist
          http://www.pthinks.com

          1 Reply Last reply
          0
          • B Offline
            B Offline
            babuschkainyouface
            wrote on last edited by
            #5

            made a better pic right now - within the same link

            is QDialog a wrong one?
            would you suggest QMainWindow?
            label Pic is containing a picture for the background

            i hope u understand when u see pic
            bildschirmfoto1. png is the one how it was before
            bildschirmfoto2. png is the one how it is now

            1 Reply Last reply
            0
            • dheerendraD Offline
              dheerendraD Offline
              dheerendra
              Qt Champions 2022
              wrote on last edited by
              #6

              I suggest you use QMainWindow or QWidget. There is no issue if you use QDialog. However QWidget is best suited for it. I did not see the new picture in link. Did you really put the new image at same link ?

              Dheerendra
              @Community Service
              Certified Qt Specialist
              http://www.pthinks.com

              1 Reply Last reply
              0
              • B Offline
                B Offline
                babuschkainyouface
                wrote on last edited by
                #7

                made a new link ..
                its here
                "Your text to link here...":https://www.dropbox.com/sh/i7mhzmftp3rmubu/AACtei25i9UWsVC_Bjuw18dja?dl=0

                ok i try to chance to QWidged or QMainwindow ..
                maybe i also have to arrange the objects new again .. :(

                1 Reply Last reply
                0
                • B Offline
                  B Offline
                  babuschkainyouface
                  wrote on last edited by
                  #8

                  found the problem ...
                  somehow in the ui (xml) there was a <zorder> that changed the things ..

                  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