SkinningTools.UI.tearOff.tearOffDialog

Module Contents

Classes

TearOffDialog

the dialog that holds tab that is torn off

class SkinningTools.UI.tearOff.tearOffDialog.TearOffDialog(tabName, parent=None)

the dialog that holds tab that is torn off

closed
tabName
addwidget(self, inWidget)

the widget to add to the current dialogs layout

Parameters

inWidget (QWidget) – the widget to use for extracted dialog

closeEvent(self, event)

management function to reset the current widgets position and parent when the dialog is closed

gettabName(self)

get the current name of the tab

Returns

the original name of the tab

Return type

string

resize(self, *args)

convenience function to resize the current dialog

setOriginalState(self, index, tabWidget)

override for the original state of the tab sets the new widget and index

Parameters
  • index (int) – the index on which the tab should be placed when the widget is closed

  • tabWidget (QWidget) – the new widget to use for the tabs

settabName(self, inTabName)

set the new name for the tab

Parameters

inTabName (string) – the new name for the tab