32 @param parent reference to the parent widget (QWidget) |
32 @param parent reference to the parent widget (QWidget) |
33 """ |
33 """ |
34 super(DjangoLoaddataDataDialog, self).__init__(parent) |
34 super(DjangoLoaddataDataDialog, self).__init__(parent) |
35 self.setupUi(self) |
35 self.setupUi(self) |
36 |
36 |
37 self.fixtureFileButton.setIcon(UI.PixmapCache.getIcon("open.png")) |
37 self.fixtureFileButton.setIcon(UI.PixmapCache.getIcon("open")) |
38 |
38 |
39 self.__project = project |
39 self.__project = project |
40 |
40 |
41 if project.getDjangoVersion() < (1, 11, 0): |
41 if project.getDjangoVersion() < (1, 11, 0): |
42 self.excludeBox.setEnabled(False) |
42 self.excludeBox.setEnabled(False) |