Table of Contents

Class: TabWidget ./ViewManager/Tabview.py

Class implementing a custimized TabWidget.

Base Classes   
QTabWidget
Methods   
__init__
addTab
handleCaptionChange
hasEditor
hasEditors
removePage
  __init__ 
__init__ ( self,  parent )

Constructor

Arguments

parent
parent widget (QWidget)
  addTab 
addTab (
        self,
        editor,
        title,
        )

Overwritten method to add a new tab.

Arguments

editor
the editor object to be added (QScintilla.Editor.Editor)
title
title for the new tab (string, QString or QTab)
  handleCaptionChange 
handleCaptionChange (
        self,
        cap,
        editor,
        )

Private method to handle Caption change signals from the editor.

Updates the listview text to reflect the new caption information.

Arguments

cap
Caption for the editor
editor
Editor to update the caption for
  hasEditor 
hasEditor ( self,  editor )

Public method to check for an editor.

Arguments

editor
editor object to check for

Returns

flag indicating, whether the editor to be checked belongs to the list of editors managed by this tab widget.

  hasEditors 
hasEditors ( self )

Public method to test, if any editor is managed.

Returns

flag indicating editors are managed

  removePage 
removePage ( self,  object )

Overwritten method to remove a page.

Arguments

object
object to be removed (QObject)

Table of Contents

This document was automatically generated by HappyDoc version 2.1