You are not using layouts, as far as I can tell, which may indicate that the stacked widget size is 0. Keeping widget objects as members of another widget class is also not the best idea, you should keep pointers instead and allocate objects in constructor of the parent widget.