Table of Contents

Eric3 Source Documentation: Wizards.MessageBoxWizard  
-í
{İ>cskdZ
dklZlZlZlZdklZ
dklZdefd„ƒYZ	dS(s-
Module implementing the message box wizard.
(sQActionsQMessageBoxsQDialogsSIGNAL(sWizardIFace(sMessageBoxWizardDialogsMessageBoxWizardcsGtZdZed„Zd„Z5d„ZJd„ZRS(s4
    Class implementing the message box wizard.
    csti||ƒdS(so
        Constructor
        
        Arguments
        
            parent -- parent widget (QWidget)
        N(sWizardIFaces__init__sselfsparent(sselfsparent((sW/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizard.pys__init__scs½()ttƒ}*|iƒtijo~+|iƒ\}},|i
|ƒ|iƒ}-|i
ƒo
.d}n0|iƒd}1|i||ƒdfSn3tdfSdS(sî
        Private method to display a dialog and get the code.
        
        Arguments
        
            editor -- reference to the current editor
            
        Returns
        
            the generated code (string)
        s	s iiN(sMessageBoxWizardDialogsNonesdlgs	exec_loopsQDialogsAcceptedseditorsgetCursorPositionslinesindexsindentationsindentationWidthsindLevelsindentationsUseTabss	indStringsgetCode(sselfseditorsindexsdlgs	indStringsindLevelsline((sW/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizard.pyscallForms
csÌ589|iƒiƒ};|tjo2<tit=|idƒ>|idƒƒnlA|i|ƒ\}}B|oIC|iƒ\}}E|iƒF|i|||ƒG|iƒndS(sB
        Worker method associated with the wizard action 
        sNo current editors#Please open or create a file first.N(sselfsparentsgetCurrentEditorseditorsNonesQMessageBoxscriticalstrUtf8scallFormscodesoksgetCursorPositionslinesindexsbeginUndoActionsinsertAts
endUndoAction(sselfsindexscodesokseditorsline((sW/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizard.pyshandle5s

csžJQRt|idƒS|idƒd|ƒ|_T|ii|idƒƒU|ii|idƒƒ[|i|itdƒ|iƒ\|iSdS(s™
        Public method to get the action associated with this class wizard. 
        
        Returns
        
            the associated action
        sQMessageBox WizardsQ&MessageBox Wizard...isı<b>QMessageBox Wizard</b><p>This wizard opens a dialog for entering all the parameters needed to create a QMessageBox. The generated code is inserted at the current cursor position.</p>sactivated()N(	sQActionsselfstrUtf8sactionssetStatusTipssetWhatsThissconnectsSIGNALshandle(sself((sW/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizard.pys	getActionJs"(s__name__s
__module__s__doc__sNones__init__scallFormshandles	getAction(((sW/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizard.pysMessageBoxWizards

N(
s__doc__sqtsQActionsQMessageBoxsQDialogsSIGNALsWizards.WizardIFacesWizardIFacesMessageBoxWizardDialogsMessageBoxWizard(sQDialogsMessageBoxWizardsQMessageBoxsWizardIFacesQActionsSIGNALsMessageBoxWizardDialog((sW/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizard.pys?s"

Table of Contents

This document was automatically generated by HappyDoc version 2.1