[SOLVED] QT Design - label hidden by other label
-
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 -
Hope you are trying in Qt and not in QML. Did you use any layout to set your label ?
-
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
-
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.
-
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 backgroundi 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 -
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 ?
-
made a new link ..
its here
"Your text to link here...":https://www.dropbox.com/sh/i7mhzmftp3rmubu/AACtei25i9UWsVC_Bjuw18dja?dl=0ok i try to chance to QWidged or QMainwindow ..
maybe i also have to arrange the objects new again .. :( -
found the problem ...
somehow in the ui (xml) there was a <zorder> that changed the things ..