Table of Contents

Eric3 Source Documentation: Wizards.MessageBoxWizard  
-í
{©>csOdZ
dkZdkTdklZdefd„ƒYZdS(s4
Module implementing the message box wizard dialog.
N(s*(sMessageBoxWizardFormsMessageBoxWizardDialogcsktZdZed„Z%d„ZVd„Zd„Z£d„Z´d„Z	Ãd„Z
RS(s£
    Module implementing the message box wizard dialog.
    
    It displays a dialog for entering the parameters
    for the QMessageBox code generator.
    
    cs5 ti||tdƒ#|idƒ}dS(so
        Constructor
        
        Arguments
        
            parent -- parent widget (QWidget)
        isDummyN(sMessageBoxWizardForms__init__sselfsparentsNonestrUtf8sdummy(sselfsparentsdummy((s]/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizardDialog.pys__init__sc	s}%()|iiƒo2*tit+|iiƒ,|iiƒƒn/.|i	iƒo#/ti
t0|iiƒƒnù3t}4t}5t}6|iiƒiƒov7|iiƒ}8|iiƒiƒoF9|iiƒ}:|iiƒiƒo;|iiƒ}nnn=|iiƒo\>tit?|iiƒ@|iiƒA|||B|iiƒC|iiƒƒnßE|iiƒo\FtitG|iiƒH|iiƒI|||J|iiƒK|iiƒƒnpM|iiƒo\NtitO|iiƒP|iiƒQ|||R|iiƒS|iiƒƒndS(s>
        Private method to test the selected options.
        N(sselfsrAboutsisOnsQMessageBoxsaboutsNoneseCaptionstextseMessagesrAboutQtsaboutQtsb1sb2sb3scButton0scurrentTextsisEmptyscButton1scButton2srInformationsinformationssDefaultsvaluessEscapesrWarningswarnings	rCriticalscritical(sselfsb2sb3sb1((s]/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizardDialog.pystestMsg%sL			csâVce|d}
f|
|}id}j|iiƒok|dti	7}n–l|i
iƒom|dti	7}nkn|iiƒoo|dti	7}n@p|iiƒoq|dti	7}ns|dti	7}t|d|t
|iiƒƒf7}u|i
iƒo0v|d	ti	|t
|iiƒƒf7}nx|iiƒp
|i
iƒoynG{t}|t}}t}~|iiƒiƒov|iiƒ}€|iiƒiƒoF|iiƒ}‚|iiƒiƒoƒ|iiƒ}nnn„xc|||gD„]O}	…|	tjo
†d
}n
ˆd}‰||ti	|t
|	ƒf7}q;WŠ|dti	||iiƒ|iiƒf7}Œ|d
ti	7}|SdS(s/
        Public method to get the source code.
        
        Arguments
        
            indLevel -- indentation level (int)
            
            indString -- string used for indentation (space or tab) (string)
            
        Returns
        
            generated code (string)
        isQMessageBox.s
about(None,%ssaboutQt(None, %ssinformation(None,%sswarning(None,%sscritical(None,%ss%sself.trUtf8("%s")s,%s%sself.trUtf8("""%s""")s,%s%s%ss,%s%sself.trUtf8("%s")s,%s%s%d, %ds)%sN(sindLevelsils	indStringsistringsmsgdlgsselfsrAboutsisOnsosslinesepsrAboutQtsrInformationsrWarningsstrseCaptionstextseMessagesNonesb1sb2sb3scButton0scurrentTextsisEmptyscButton1scButton2sbuttonsfmtssDefaultsvaluessEscape(sselfsindLevels	indStringsb2sistringsb1sb3smsgdlgsfmtsbuttonsil((s]/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizardDialog.pysgetCodeVsH


	&0#				
	'2csÀ–—|iƒo*˜|iidƒ™|iidƒnW›|iidƒœ|iiƒiƒo|iidƒnŸ|iidƒ |iidƒ¡|i	idƒdS(s²
        Private slot to enable/disable the other button combos depending on its contents.
        
        Arguments
        
            text -- the new text (QString)
        iiN(
stextsisEmptysselfscButton1s
setEnabledscButton2scurrentTextssDefaultssetMaxValuessEscape(sselfstext((s]/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizardDialog.pysbutton0Textscs£ª«|iƒo=¬|iidƒ­|iidƒ®|iidƒn:°|iidƒ±|iidƒ²|iidƒdS(s²
        Private slot to enable/disable the other button combos depending on its contents.
        
        Arguments
        
            text -- the new text (QString)
        iiN(stextsisEmptysselfscButton2s
setEnabledssDefaultssetMaxValuessEscape(sselfstext((s]/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizardDialog.pysbutton1Text£scsj´»¼|iƒo*½|iidƒ¾|iidƒn'À|iidƒÁ|iidƒdS(s²
        Private slot to enable/disable the other button combos depending on its contents.
        
        Arguments
        
            text -- the new text (QString)
        iiN(stextsisEmptysselfssDefaultssetMaxValuessEscape(sselfstext((s]/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizardDialog.pysbutton2Text´scsGÃÊË|djovÌ|iidƒÍ|iidƒÎ|iidƒÏ|iidƒÐ|iidƒÑ|iidƒn¸Ò|djovÓ|iidƒÔ|iidƒÕ|iidƒÖ|iidƒ×|iidƒØ|iidƒn2Úd}Û|iidƒÜ|ii
ƒiƒoÝ|iidƒnß|iidƒà|ii
ƒiƒoá|iidƒnã|iidƒäd}å|ii
ƒiƒo
æd}nç|iidƒè|ii|ƒé|iidƒê|ii|ƒë|iidƒdS(s¨
        Private slot to enable/disable certain fields depending on index.
        
        Arguments
        
            id -- index of selected radio button
        iiiiiN(
sidsselfscButton0s
setEnabledscButton1scButton2ssDefaultssEscapeseMessagesmaxscurrentTextsisEmptyssetMaxValue(sselfsidsmax((s]/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizardDialog.pystypeSelectedÃs>		
(s__name__s
__module__s__doc__sNones__init__stestMsgsgetCodesbutton0Textsbutton1Textsbutton2TextstypeSelected(((s]/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizardDialog.pysMessageBoxWizardDialogs
19(s__doc__sossqtsMessageBoxWizardFormsMessageBoxWizardDialog(sMessageBoxWizardFormsossMessageBoxWizardDialog((s]/home/detlev/Development/Python/Eric/eric3/Wizards/MessageBoxWizard/MessageBoxWizardDialog.pys?s


Table of Contents

This document was automatically generated by HappyDoc version 2.1