7 Module implementing a button alternating between reload and stop. |
7 Module implementing a button alternating between reload and stop. |
8 """ |
8 """ |
9 |
9 |
10 from PyQt6.QtCore import pyqtSlot, pyqtSignal, Qt |
10 from PyQt6.QtCore import pyqtSlot, pyqtSignal, Qt |
11 |
11 |
12 from E5Gui.E5ToolButton import E5ToolButton |
12 from E5Gui.EricToolButton import EricToolButton |
13 |
13 |
14 import UI.PixmapCache |
14 import UI.PixmapCache |
15 |
15 |
16 |
16 |
17 class ReloadStopButton(E5ToolButton): |
17 class ReloadStopButton(EricToolButton): |
18 """ |
18 """ |
19 Class implementing a button alternating between reload and stop. |
19 Class implementing a button alternating between reload and stop. |
20 |
20 |
21 @signal reloadClicked() emitted to initiate a reload action |
21 @signal reloadClicked() emitted to initiate a reload action |
22 @signal stopClicked() emitted to initiate a stop action |
22 @signal stopClicked() emitted to initiate a stop action |