Table of Contents

Eric3 Source Documentation: Project  
-
 {>csCdZ
dkTdklZdefdYZdS(sC
Module implementing a dialog to show the found files to the user.
(s*(sAddFoundFilesFormsAddFoundFilesDialogcs\tZdZeedddZ.dZ8dZBdZPdZRS(s7
    Class implementing a dialog to show the found files to the user.
    
    The found files are displayed in a listview.
    Pressing the 'Add All' button adds all files to the current project,
    the 'Add Selected' button adds only the selected files and the 'Cancel'
    button cancels the operation.
    icsK'(ti|||||*|ii|,|i
d}dS(s
        Constructor
        
        Arguments
        
            files -- list of files, that have been found for addition (QStringList)
            
            parent -- parent widget of this dialog (QWidget)
            
            name -- name of this dialog (string or QString)
            
            modal -- flag to indicate a modal dialog (boolean)
            
            fl -- window flags
        sdummyN(sAddFoundFilesForms__init__sselfsparentsnamesmodalsflsfileListBoxsinsertStringListsfilesstrUtf8sdummy(sselfsfilessparentsnamesmodalsflsdummy((sI/home/detlev/Development/Python/Eric/eric3/Project/AddFoundFilesDialog.pys__init__scs.56|iddS(s
        Private slot to handle the 'Add All' button press. 
        
        Returns
        
            always 1 (int)
        iN(sselfsdone(sself((sI/home/detlev/Development/Python/Eric/eric3/Project/AddFoundFilesDialog.pys	handleAll.scs8?@|iddS(s
        Private slot to handle the 'Add Selected' button press.
        
        Returns
        
            always 2 (int)
        iN(sselfsdone(sself((sI/home/detlev/Development/Python/Eric/eric3/Project/AddFoundFilesDialog.pyshandleSelected8scsBMN|ii|SdS(s

        Public method telling whether an item is selected in the listbox.
        
        Arguments
        
            index -- index of the item to check
            
        Returns
        
            boolean indicating the selection status of the item
        N(sselfsfileListBoxs
isSelectedsindex(sselfsindex((sI/home/detlev/Development/Python/Eric/eric3/Project/AddFoundFilesDialog.pys
isSelectedBscsPWXt}Yx\t|iiDY]B}Z|ii|o&[|i|ii	|i
nq+W\|SdS(s
        Public method to return the selected items.
        
        Returns
        
            list of selected files (QStringList)
        N(sQStringListslistsrangesselfsfileListBoxscountsis
isSelectedsappendsitemstext(sselfsislist((sI/home/detlev/Development/Python/Eric/eric3/Project/AddFoundFilesDialog.pysgetSelectionPs	*(	s__name__s
__module__s__doc__sNones__init__s	handleAllshandleSelecteds
isSelectedsgetSelection(((sI/home/detlev/Development/Python/Eric/eric3/Project/AddFoundFilesDialog.pysAddFoundFilesDialogs

N(s__doc__sqtsAddFoundFilesFormsAddFoundFilesDialog(sAddFoundFilesDialogsAddFoundFilesForm((sI/home/detlev/Development/Python/Eric/eric3/Project/AddFoundFilesDialog.pys?s


Table of Contents

This document was automatically generated by HappyDoc version 2.1