TabWidget: improve close actions
TabWidget: improve close actions

Hide actions that cannot be performed (generalize this to "close others" and "close all" actions).

pyQode/pyqode.core,pyQode/pyqode.core,zwadar/pyqode.core