def __init__( self, parent = None ):
        BrowserModelBase.__init__( self, [ QVariant( "Name" ),
                                           QVariant( "File name" ),
                                           QVariant( "Line" ) ], parent )

        self.globalData.project.projectChanged.connect( self.__onProjectChanged )
        return
Esempio n. 2
0
 def __init__( self, parent = None ):
     BrowserModelBase.__init__( self, [ QVariant( "Name" ),
                                        QVariant( "File name" ),
                                        QVariant( "Line" ) ], parent )
     self.setTooltips( Settings().functionsTooltips )
     self.globalData.project.projectChanged.connect( self.__onProjectChanged )
     return
Esempio n. 3
0
    def __init__(self, parent):
        self.__mainWindow = parent
        BrowserModelBase.__init__(self, QVariant("Name"), self.__mainWindow)
        self.setTooltips(Settings().projectTooltips)
        self.populateModel()

        GlobalData().project.projectChanged.connect(self.__onProjectChanged)
        return
Esempio n. 4
0
    def __init__(self, parent=None):
        BrowserModelBase.__init__(
            self, [QVariant("Name"),
                   QVariant("File name"),
                   QVariant("Line")], parent)

        self.globalData.project.projectChanged.connect(self.__onProjectChanged)
        return
    def __init__( self, parent ):
        self.__mainWindow = parent
        BrowserModelBase.__init__( self, QVariant( "Name" ), self.__mainWindow )
        self.setTooltips( Settings().projectTooltips )
        self.populateModel()

        GlobalData().project.projectChanged.connect( self.__onProjectChanged )
        return
Esempio n. 6
0
    def __init__( self, parent = None ):

        BrowserModelBase.__init__( self, QVariant( "Name" ), parent )
        self.setTooltips( Settings().projectTooltips )

        self.projectTopLevelDirs = []
        self.populateModel()

        GlobalData().project.projectChanged.connect( self.__onProjectChanged )
        return
Esempio n. 7
0
 def __init__( self, shortName, info, parent = None ):
     BrowserModelBase.__init__( self, QVariant( shortName ), parent )
     self.populateModel( info )
     self.setTooltips( Settings().outlineTooltips )
     return
Esempio n. 8
0
 def __init__(self, shortName, info, parent=None):
     BrowserModelBase.__init__(self, QVariant(shortName), parent)
     self.populateModel(info)
     self.setTooltips(Settings().outlineTooltips)
     return