10 from PyQt6.QtCore import Qt |
10 from PyQt6.QtCore import Qt |
11 from PyQt6.QtWidgets import QDialog |
11 from PyQt6.QtWidgets import QDialog |
12 |
12 |
13 from .Ui_CondaInfoDialog import Ui_CondaInfoDialog |
13 from .Ui_CondaInfoDialog import Ui_CondaInfoDialog |
14 |
14 |
15 import UI.PixmapCache |
15 from eric7.EricGui import EricPixmapCache |
16 |
16 |
17 |
17 |
18 class CondaInfoDialog(QDialog, Ui_CondaInfoDialog): |
18 class CondaInfoDialog(QDialog, Ui_CondaInfoDialog): |
19 """ |
19 """ |
20 Class implementing the conda information dialog. |
20 Class implementing the conda information dialog. |
31 """ |
31 """ |
32 super().__init__(parent) |
32 super().__init__(parent) |
33 self.setupUi(self) |
33 self.setupUi(self) |
34 self.setWindowFlags(Qt.WindowType.Window) |
34 self.setWindowFlags(Qt.WindowType.Window) |
35 |
35 |
36 self.iconLabel.setPixmap(UI.PixmapCache.getPixmap("miniconda48")) |
36 self.iconLabel.setPixmap(EricPixmapCache.getPixmap("miniconda48")) |
37 |
37 |
38 # version information |
38 # version information |
39 if "conda_version" in infoDict: |
39 if "conda_version" in infoDict: |
40 self.condaVersionLabel.setText(infoDict["conda_version"]) |
40 self.condaVersionLabel.setText(infoDict["conda_version"]) |
41 if "conda_build_version" in infoDict: |
41 if "conda_build_version" in infoDict: |