4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog to select the action to be performed on the bookmark. |
7 Module implementing a dialog to select the action to be performed on the bookmark. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtCore import pyqtSlot |
12 from PyQt4.QtCore import pyqtSlot |
11 from PyQt4.QtGui import QDialog |
13 from PyQt4.QtGui import QDialog |
12 |
14 |
13 from .Ui_BookmarkActionSelectionDialog import Ui_BookmarkActionSelectionDialog |
15 from .Ui_BookmarkActionSelectionDialog import Ui_BookmarkActionSelectionDialog |
30 Constructor |
32 Constructor |
31 |
33 |
32 @param url URL to be worked on (QUrl) |
34 @param url URL to be worked on (QUrl) |
33 @param parent reference to the parent widget (QWidget) |
35 @param parent reference to the parent widget (QWidget) |
34 """ |
36 """ |
35 super().__init__(parent) |
37 super(BookmarkActionSelectionDialog, self).__init__(parent) |
36 self.setupUi(self) |
38 self.setupUi(self) |
37 |
39 |
38 self.__action = self.Undefined |
40 self.__action = self.Undefined |
39 |
41 |
40 self.icon.setPixmap(UI.PixmapCache.getPixmap("bookmark32.png")) |
42 self.icon.setPixmap(UI.PixmapCache.getPixmap("bookmark32.png")) |