Preferences/ConfigurationDialog.py

changeset 15
f6ccc31d6e72
parent 13
1af94a91f439
child 53
c3eb7cc1ff8b
equal deleted inserted replaced
14:092aa8fafa4e 15:f6ccc31d6e72
2 2
3 # Copyright (c) 2002 - 2010 Detlev Offenbach <detlev@die-offenbachs.de> 3 # Copyright (c) 2002 - 2010 Detlev Offenbach <detlev@die-offenbachs.de>
4 # 4 #
5 5
6 """ 6 """
7 Module implementing a dialog for the configuration of eric4. 7 Module implementing a dialog for the configuration of eric5.
8 """ 8 """
9 9
10 import os 10 import os
11 import types 11 import types
12 12
20 import Preferences 20 import Preferences
21 21
22 from .PreferencesLexer import PreferencesLexer, PreferencesLexerLanguageError 22 from .PreferencesLexer import PreferencesLexer, PreferencesLexerLanguageError
23 import UI.PixmapCache 23 import UI.PixmapCache
24 24
25 from eric4config import getConfig 25 from eric5config import getConfig
26 26
27 class ConfigurationPageItem(QTreeWidgetItem): 27 class ConfigurationPageItem(QTreeWidgetItem):
28 """ 28 """
29 Class implementing a QTreeWidgetItem holding the configuration page data. 29 Class implementing a QTreeWidgetItem holding the configuration page data.
30 """ 30 """
50 """ 50 """
51 return self.__pageName 51 return self.__pageName
52 52
53 class ConfigurationWidget(QWidget): 53 class ConfigurationWidget(QWidget):
54 """ 54 """
55 Class implementing a dialog for the configuration of eric4. 55 Class implementing a dialog for the configuration of eric5.
56 56
57 @signal preferencesChanged emitted after settings have been changed 57 @signal preferencesChanged emitted after settings have been changed
58 """ 58 """
59 def __init__(self, parent = None, fromEric = True, helpBrowserMode = False): 59 def __init__(self, parent = None, fromEric = True, helpBrowserMode = False):
60 """ 60 """
61 Constructor 61 Constructor
62 62
63 @param parent The parent widget of this dialog. (QWidget) 63 @param parent The parent widget of this dialog. (QWidget)
64 @keyparam fromEric flag indicating a dialog generation from within the 64 @keyparam fromEric flag indicating a dialog generation from within the
65 eric4 ide (boolean) 65 eric5 ide (boolean)
66 @keyparam helpBrowserMode flag indicating to show only help pages 66 @keyparam helpBrowserMode flag indicating to show only help pages
67 for entries related to the help browser (boolean) 67 for entries related to the help browser (boolean)
68 """ 68 """
69 QWidget.__init__(self, parent) 69 QWidget.__init__(self, parent)
70 self.fromEric = fromEric 70 self.fromEric = fromEric
583 583
584 @param parent The parent widget of this dialog. (QWidget) 584 @param parent The parent widget of this dialog. (QWidget)
585 @param name The name of this dialog. string 585 @param name The name of this dialog. string
586 @param modal Flag indicating a modal dialog. (boolean) 586 @param modal Flag indicating a modal dialog. (boolean)
587 @keyparam fromEric flag indicating a dialog generation from within the 587 @keyparam fromEric flag indicating a dialog generation from within the
588 eric4 ide (boolean) 588 eric5 ide (boolean)
589 @keyparam helpBrowserMode flag indicating to show only help pages 589 @keyparam helpBrowserMode flag indicating to show only help pages
590 for entries related to the help browser (boolean) 590 for entries related to the help browser (boolean)
591 """ 591 """
592 QDialog.__init__(self, parent) 592 QDialog.__init__(self, parent)
593 if name: 593 if name:

eric ide

mercurial