Table of Contents

Eric3 Source Documentation: Project  
-í
 {İ>csCdZ
dkTdklZdefd„ƒYZdS(sJ
Module implementing a dialog to add files of a directory to the project.
(s*(s
AddDirFormsAddDirectoryDialogcshtZdZeeddd„Z'd„Z6d„Z<d„ZBd„ZRd„Z	RS(sQ
    Class implementing a dialog to add files of a directory to the project.
    icsK!"ti|||d|ƒ$|ii|i	ƒ%|i	|_	dS(sw
        Constructor
        
        Arguments
        
            pro -- reference to the project object
            
            parent -- parent widget of this dialog (QWidget)
            
            name -- name of this dialog (string or QString)
            
            modal -- flag for a modal dialog (boolean)
            
            fl -- window flags
        iN(
s
AddDirForms__init__sselfsparentsnamesfls
targetDirEditssetTextsprosppath(sselfsprosparentsnamesmodalsfl((sH/home/detlev/Development/Python/Eric/eric3/Project/AddDirectoryDialog.pys__init__scsk'/0ti|iiƒ1|t|idƒdƒ}3|iƒo4|i
ti|ƒƒndS(sÔ
        Private slot to display a directory selection dialog.
        
        Arguments
        
            textEdit -- field for the display of the selected directory name
                (QLineEdit)
        sSelect target directoryiN(
sQFileDialogsgetExistingDirectorysselfs
targetDirEditstextsNonestrUtf8s	directorysisNullstextEditssetTextsQDirsconvertSeparators(sselfstextEdits	directory((sH/home/detlev/Development/Python/Eric/eric3/Project/AddDirectoryDialog.pyshandleDirDialog's
cs69:|i|iƒdS(sE
        Private slot to handle the source dir button press.
        N(sselfshandleDirDialogs
sourceDirEdit(sself((sH/home/detlev/Development/Python/Eric/eric3/Project/AddDirectoryDialog.pyshandleSDirDialog6scs<?@|i|iƒdS(sE
        Private slot to handle the target dir button press.
        N(sselfshandleDirDialogs
targetDirEdit(sself((sH/home/detlev/Development/Python/Eric/eric3/Project/AddDirectoryDialog.pyshandleTDirDialog<scs7BNO|i|iƒoP|ii|ƒndS(sİ
        Private slot to handle the source dir text changed.
        
        If the entered source directory is a subdirectory of the current
        projects main directory, the target directory path is synchronized.
        It is assumed, that the user wants to add a bunch of files to
        the project in place.
        
        Arguments
        
            dir -- the text of the source directory line edit
        N(sdirs
startsWithsselfsppaths
targetDirEditssetText(sselfsdir((sH/home/detlev/Development/Python/Eric/eric3/Project/AddDirectoryDialog.pyshandleSTextChangedBscsARZ[t|iiƒƒt|iiƒƒ|iiƒfSdS(sò
        Public slot to retrieve the dialogs data.
        
        Returns
        
            tuple of three values (string, string, boolean) giving the
            source and target directory and a flag indicating a recursive add
        N(sstrsselfs
sourceDirEditstexts
targetDirEditsrecursiveCheckBoxs	isChecked(sself((sH/home/detlev/Development/Python/Eric/eric3/Project/AddDirectoryDialog.pysgetDataRs(
s__name__s
__module__s__doc__sNones__init__shandleDirDialogshandleSDirDialogshandleTDirDialogshandleSTextChangedsgetData(((sH/home/detlev/Development/Python/Eric/eric3/Project/AddDirectoryDialog.pysAddDirectoryDialogsN(s__doc__sqtsAddDirectoryForms
AddDirFormsAddDirectoryDialog(sAddDirectoryDialogs
AddDirForm((sH/home/detlev/Development/Python/Eric/eric3/Project/AddDirectoryDialog.pys?s


Table of Contents

This document was automatically generated by HappyDoc version 2.1