c++ - Enable one object in a disabled tabWidget in Qt -
in project have made tabwidget centralwidget program. when program first opened user, tabwidget disabled. user can enable when open file. in program starts disabled.
in 1 of tabs, have webview widget plays youtube video set autoplay. works fine, except webview can't clicked (the video can't stopped) until tabwidget enabled.
is there way can allow 1 object enabled while else still disabled?
it's hard me explain, here picture:
as can see, disabled including video. can single out video enabled?
thanks time :)
there no free lunch. have 2 options:
- disable other tabs , other widgets on settings tab.
- make webview widget popup child of main window (and manage geometry on size/location changes of main window).
i suppose third option have enabled tab contains video , widgets open file. user know rather assaulting them disabled interface.
Comments
Post a Comment