4 # |
4 # |
5 |
5 |
6 """ |
6 """ |
7 Module implementing a dialog to configure the various view profiles. |
7 Module implementing a dialog to configure the various view profiles. |
8 """ |
8 """ |
|
9 |
|
10 from __future__ import unicode_literals # __IGNORE_WARNING__ |
9 |
11 |
10 from PyQt4.QtGui import QDialog |
12 from PyQt4.QtGui import QDialog |
11 |
13 |
12 from .Ui_ViewProfileToolboxesDialog import Ui_ViewProfileToolboxesDialog |
14 from .Ui_ViewProfileToolboxesDialog import Ui_ViewProfileToolboxesDialog |
13 from .Ui_ViewProfileSidebarsDialog import Ui_ViewProfileSidebarsDialog |
15 from .Ui_ViewProfileSidebarsDialog import Ui_ViewProfileSidebarsDialog |
28 is a separate window (boolean) |
30 is a separate window (boolean) |
29 @param separateBrowser flag indicating that the file browser |
31 @param separateBrowser flag indicating that the file browser |
30 is a separate window (boolean) |
32 is a separate window (boolean) |
31 @param parent parent widget of this dialog (QWidget) |
33 @param parent parent widget of this dialog (QWidget) |
32 """ |
34 """ |
33 super().__init__(parent) |
35 super(ViewProfileDialog, self).__init__(parent) |
34 |
36 |
35 self.__layout = layout |
37 self.__layout = layout |
36 if self.__layout == "Toolboxes": |
38 if self.__layout == "Toolboxes": |
37 self.ui = Ui_ViewProfileToolboxesDialog() |
39 self.ui = Ui_ViewProfileToolboxesDialog() |
38 elif self.__layout == "Sidebars": |
40 elif self.__layout == "Sidebars": |