Unsolved Allocate QLabel of a QFrame inside a Slot function
-
Hello,
When I allocate the QLabel of a Qframe inside a Slot function it does not work, when I allocate outside the Slot function its working.
Could you help ?
Thx -
@cjacquel2021
Not from this description, no, since whether the code is in a slot is not relevant. Show your code. -
You need to assign the label to a layout or
show()
it. Doesn't matter where you create it.
What do you mean by "QLabel
of aQFrame
"? Label inside the frame?
Just add the label to the frame layout.