Is there a way to close a tab by mouse?
Printable View
Is there a way to close a tab by mouse?
try this code
Code:
{ tabBar()->installEventFilter(this); } { removeTab(tabBar()->tabAt(mouseEvent->pos())); return true; } }
Code:
tabAt(mouseEvent->pos()));
Спасибо, товарищ!
<tnank you, comrade>
пожалуйста
you're welcome. ;)