def getWindowIndex(self):
        """ Return the index into the VCSQtManager's array of Qt Windows which
        plots will be displayed in.
        """
        global windowIndex

        windowIndex += 1
        maxWindows = 8
        if windowIndex > maxWindows:
            windowIndex = 1
        return windowIndex
dataset/ETHPy150Open VisTrails/VisTrails/contrib/cdat/cdat_cell.py/QCDATWidget.getWindowIndex/original