Add icon to the tab when QDockWidget tabified
-
Hi,
There's no public API to access the QTabBars used in QMainWindow. So you would have to rely on a hack to do that. Basically find all QTabBar children of your QMainWindow and then find the one matching your QDockWidget and then modify it. Note that you might be going against the GUI guide lines of your platform. You should check them.
-
Hi,
There's no public API to access the QTabBars used in QMainWindow. So you would have to rely on a hack to do that. Basically find all QTabBar children of your QMainWindow and then find the one matching your QDockWidget and then modify it. Note that you might be going against the GUI guide lines of your platform. You should check them.