View Full Version : QT .ui Line widgets are invisible
SolaVitae
19th December 2016, 08:41
Hi, im making an application in visual studio and using .ui files for it. I have a few line widgets in my .ui
12249
But when i compile my program and run it from msvc, the lines are gone
12250
Ignore the line ontop of the qtabwidget, as it is from its pane
d_stranz
19th December 2016, 17:15
It looks like you have simply dragged and dropped the line widgets from the Qt Designer toolbox onto the tab widget. I don't see any evidence that you have used a layout, or that you have made the line widget a child of the tab widget. So at run time the line widget is probably being drawn, but under your tab widgets.
We could confirm this if you show us the .ui file (and use CODE tags when you do so - see my signature block on how to do that).
Powered by vBulletin® Version 4.2.5 Copyright © 2024 vBulletin Solutions Inc. All rights reserved.