122 if index.column() == 0: |
122 if index.column() == 0: |
123 return self.tr("{0} ({1})").format( |
123 return self.tr("{0} ({1})").format( |
124 db.displayName(), db.name()) |
124 db.displayName(), db.name()) |
125 elif index.column() == 1: |
125 elif index.column() == 1: |
126 return self.__dataString(db.size()) |
126 return self.__dataString(db.size()) |
|
127 |
|
128 return None |
127 |
129 |
128 def columnCount(self, parent=None): |
130 def columnCount(self, parent=None): |
129 """ |
131 """ |
130 Public method to get the number of columns. |
132 Public method to get the number of columns. |
131 |
133 |