can i use 2 widget at the same place, and everytime i only allow 1 widget visible?
General and Desktop
3
Posts
2
Posters
586
Views
1
Watching
-
can i use 2 widget at the same place, and everytime i only allow 1 widget visible?
for many reason, it seems that i have to use 2 widget (QTreeWidget & QListWidget) at the Same place, and everytime I allow the user only see 1 of them.
how could i do this?
set them to a parent Layout or a Widget? and then setVisible() to control which one is shown to the user? -
can i use 2 widget at the same place, and everytime i only allow 1 widget visible?
for many reason, it seems that i have to use 2 widget (QTreeWidget & QListWidget) at the Same place, and everytime I allow the user only see 1 of them.
how could i do this?
set them to a parent Layout or a Widget? and then setVisible() to control which one is shown to the user?