src/eric7/Documentation/Source/eric7.Preferences.ConfigurationDialog.html

Mon, 09 Jan 2023 11:22:56 +0100

author
Detlev Offenbach <detlev@die-offenbachs.de>
date
Mon, 09 Jan 2023 11:22:56 +0100
branch
eric7
changeset 9686
2eee7a645cba
parent 9236
db53a9efe7ef
child 9730
00cf7289d899
permissions
-rw-r--r--

Moved the 'QtHelp' subpackage out of the WebBrowser package because it is used in the HelpViewer as well.

<!DOCTYPE html>
<html><head>
<title>eric7.Preferences.ConfigurationDialog</title>
<meta charset="UTF-8">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<a NAME="top" ID="top"></a>
<h1>eric7.Preferences.ConfigurationDialog</h1>

<p>
Module implementing a dialog for the configuration of eric.
</p>
<h3>Global Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Classes</h3>

<table>

<tr>
<td><a href="#ConfigurationDialog">ConfigurationDialog</a></td>
<td>Class for the dialog variant.</td>
</tr>
<tr>
<td><a href="#ConfigurationMode">ConfigurationMode</a></td>
<td>Class defining the various modes of the configuration widget.</td>
</tr>
<tr>
<td><a href="#ConfigurationPageItem">ConfigurationPageItem</a></td>
<td>Class implementing a QTreeWidgetItem holding the configuration page data.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget">ConfigurationWidget</a></td>
<td>Class implementing a dialog for the configuration of eric.</td>
</tr>
<tr>
<td><a href="#ConfigurationWindow">ConfigurationWindow</a></td>
<td>Main window class for the standalone dialog.</td>
</tr>
</table>
<h3>Functions</h3>

<table>
<tr><td>None</td></tr>
</table>
<hr />
<hr />
<a NAME="ConfigurationDialog" ID="ConfigurationDialog"></a>
<h2>ConfigurationDialog</h2>

<p>
    Class for the dialog variant.
</p>
<h3>Signals</h3>
<dl>

<dt>masterPasswordChanged(str, str)</dt>
<dd>
emitted after the master
        password has been changed with the old and the new password
</dd>
<dt>preferencesChanged()</dt>
<dd>
emitted after settings have been changed
</dd>
</dl>
<h3>Derived from</h3>
QDialog
<h3>Class Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>

<tr>
<td><a href="#ConfigurationDialog.__init__">ConfigurationDialog</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#ConfigurationDialog.__masterPasswordChanged">__masterPasswordChanged</a></td>
<td>Private slot to handle the change of the master password.</td>
</tr>
<tr>
<td><a href="#ConfigurationDialog.__preferencesChanged">__preferencesChanged</a></td>
<td>Private slot to handle a change of the preferences.</td>
</tr>
<tr>
<td><a href="#ConfigurationDialog.accept">accept</a></td>
<td>Public method to accept the dialog.</td>
</tr>
<tr>
<td><a href="#ConfigurationDialog.getConfigurationPageName">getConfigurationPageName</a></td>
<td>Public method to get the page name of the current page.</td>
</tr>
<tr>
<td><a href="#ConfigurationDialog.getExpandedEntries">getExpandedEntries</a></td>
<td>Public method to get a list of expanded entries.</td>
</tr>
<tr>
<td><a href="#ConfigurationDialog.setPreferences">setPreferences</a></td>
<td>Public method called to store the selected values into the preferences storage.</td>
</tr>
<tr>
<td><a href="#ConfigurationDialog.showConfigurationPageByName">showConfigurationPageByName</a></td>
<td>Public slot to show a named configuration page.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="ConfigurationDialog.__init__" ID="ConfigurationDialog.__init__"></a>
<h4>ConfigurationDialog (Constructor)</h4>
<b>ConfigurationDialog</b>(<i>parent=None, name=None, modal=False, fromEric=True, displayMode=ConfigurationMode.DEFAULTMODE, expandedEntries=None, </i>)

<p>
        Constructor
</p>
<dl>

<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
<dt><i>name</i> (str)</dt>
<dd>
name of the dialog
</dd>
<dt><i>modal</i> (bool)</dt>
<dd>
flag indicating a modal dialog
</dd>
<dt><i>fromEric</i> (bool)</dt>
<dd>
flag indicating a dialog generation from within the
            eric IDE
</dd>
<dt><i>displayMode</i> (ConfigurationMode)</dt>
<dd>
mode of the configuration dialog
</dd>
<dt><i>expandedEntries</i> (list of str)</dt>
<dd>
list of entries to be shown expanded
</dd>
</dl>
<a NAME="ConfigurationDialog.__masterPasswordChanged" ID="ConfigurationDialog.__masterPasswordChanged"></a>
<h4>ConfigurationDialog.__masterPasswordChanged</h4>
<b>__masterPasswordChanged</b>(<i>oldPassword, newPassword</i>)

<p>
        Private slot to handle the change of the master password.
</p>
<dl>

<dt><i>oldPassword</i></dt>
<dd>
current master password (string)
</dd>
<dt><i>newPassword</i></dt>
<dd>
new master password (string)
</dd>
</dl>
<a NAME="ConfigurationDialog.__preferencesChanged" ID="ConfigurationDialog.__preferencesChanged"></a>
<h4>ConfigurationDialog.__preferencesChanged</h4>
<b>__preferencesChanged</b>(<i></i>)

<p>
        Private slot to handle a change of the preferences.
</p>
<a NAME="ConfigurationDialog.accept" ID="ConfigurationDialog.accept"></a>
<h4>ConfigurationDialog.accept</h4>
<b>accept</b>(<i></i>)

<p>
        Public method to accept the dialog.
</p>
<a NAME="ConfigurationDialog.getConfigurationPageName" ID="ConfigurationDialog.getConfigurationPageName"></a>
<h4>ConfigurationDialog.getConfigurationPageName</h4>
<b>getConfigurationPageName</b>(<i></i>)

<p>
        Public method to get the page name of the current page.
</p>
<dl>
<dt>Return:</dt>
<dd>
page name of the current page (string)
</dd>
</dl>
<a NAME="ConfigurationDialog.getExpandedEntries" ID="ConfigurationDialog.getExpandedEntries"></a>
<h4>ConfigurationDialog.getExpandedEntries</h4>
<b>getExpandedEntries</b>(<i></i>)

<p>
        Public method to get a list of expanded entries.
</p>
<dl>
<dt>Return:</dt>
<dd>
list of expanded entries (list of string)
</dd>
</dl>
<a NAME="ConfigurationDialog.setPreferences" ID="ConfigurationDialog.setPreferences"></a>
<h4>ConfigurationDialog.setPreferences</h4>
<b>setPreferences</b>(<i></i>)

<p>
        Public method called to store the selected values into the preferences
        storage.
</p>
<a NAME="ConfigurationDialog.showConfigurationPageByName" ID="ConfigurationDialog.showConfigurationPageByName"></a>
<h4>ConfigurationDialog.showConfigurationPageByName</h4>
<b>showConfigurationPageByName</b>(<i>pageName</i>)

<p>
        Public slot to show a named configuration page.
</p>
<dl>

<dt><i>pageName</i></dt>
<dd>
name of the configuration page to show (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="ConfigurationMode" ID="ConfigurationMode"></a>
<h2>ConfigurationMode</h2>

<p>
    Class defining the various modes of the configuration widget.
</p>
<h3>Derived from</h3>
enum.Enum
<h3>Class Attributes</h3>

<table>
<tr><td>DEFAULTMODE</td></tr><tr><td>EDITORMODE</td></tr><tr><td>HEXEDITORMODE</td></tr><tr><td>TRAYSTARTERMODE</td></tr><tr><td>WEBBROWSERMODE</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="ConfigurationPageItem" ID="ConfigurationPageItem"></a>
<h2>ConfigurationPageItem</h2>

<p>
    Class implementing a QTreeWidgetItem holding the configuration page data.
</p>
<h3>Derived from</h3>
QTreeWidgetItem
<h3>Class Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>

<tr>
<td><a href="#ConfigurationPageItem.__init__">ConfigurationPageItem</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#ConfigurationPageItem.getPageName">getPageName</a></td>
<td>Public method to get the name of the associated configuration page.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="ConfigurationPageItem.__init__" ID="ConfigurationPageItem.__init__"></a>
<h4>ConfigurationPageItem (Constructor)</h4>
<b>ConfigurationPageItem</b>(<i>parent, text, pageName, iconFile</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>parent</i></dt>
<dd>
parent widget of the item (QTreeWidget or
            QTreeWidgetItem)
</dd>
<dt><i>text</i></dt>
<dd>
text to be displayed (string)
</dd>
<dt><i>pageName</i></dt>
<dd>
name of the configuration page (string)
</dd>
<dt><i>iconFile</i></dt>
<dd>
file name of the icon to be shown (string)
</dd>
</dl>
<a NAME="ConfigurationPageItem.getPageName" ID="ConfigurationPageItem.getPageName"></a>
<h4>ConfigurationPageItem.getPageName</h4>
<b>getPageName</b>(<i></i>)

<p>
        Public method to get the name of the associated configuration page.
</p>
<dl>
<dt>Return:</dt>
<dd>
name of the configuration page (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="ConfigurationWidget" ID="ConfigurationWidget"></a>
<h2>ConfigurationWidget</h2>

<p>
    Class implementing a dialog for the configuration of eric.
</p>
<h3>Signals</h3>
<dl>

<dt>accepted()</dt>
<dd>
emitted to indicate acceptance of the changes
</dd>
<dt>masterPasswordChanged(str, str)</dt>
<dd>
emitted after the master
        password has been changed with the old and the new password
</dd>
<dt>preferencesChanged()</dt>
<dd>
emitted after settings have been changed
</dd>
<dt>rejected()</dt>
<dd>
emitted to indicate rejection of the changes
</dd>
</dl>
<h3>Derived from</h3>
QWidget
<h3>Class Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>

<tr>
<td><a href="#ConfigurationWidget.__init__">ConfigurationWidget</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.__importConfigurationPage">__importConfigurationPage</a></td>
<td>Private method to import a configuration page module.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.__initLexers">__initLexers</a></td>
<td>Private method to initialize the dictionary of preferences lexers.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.__initPage">__initPage</a></td>
<td>Private method to initialize a configuration page.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.__resizeConfigStack">__resizeConfigStack</a></td>
<td>Private method to resize the stack of configuration pages.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.__searchChildItems">__searchChildItems</a></td>
<td>Private method to enable child items based on a search string.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.__searchTextChanged">__searchTextChanged</a></td>
<td>Private slot to handle a change of the search text.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.__setupUi">__setupUi</a></td>
<td>Private method to perform the general setup of the configuration widget.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.__showConfigurationPage">__showConfigurationPage</a></td>
<td>Private slot to show a selected configuration page.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.accept">accept</a></td>
<td>Public slot to accept the buttonBox accept signal.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.calledFromEric">calledFromEric</a></td>
<td>Public method to check, if invoked from within eric.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.getConfigurationPageName">getConfigurationPageName</a></td>
<td>Public method to get the page name of the current page.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.getExpandedEntries">getExpandedEntries</a></td>
<td>Public method to get a list of expanded entries.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.getLexers">getLexers</a></td>
<td>Public method to get a reference to the lexers dictionary.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.getPage">getPage</a></td>
<td>Public method to get a reference to the named page.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.isUsingWebEngine">isUsingWebEngine</a></td>
<td>Public method to get an indication, if QtWebEngine is being used.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.on_applyButton_clicked">on_applyButton_clicked</a></td>
<td>Private slot called to apply the settings of the current page.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.on_buttonBox_clicked">on_buttonBox_clicked</a></td>
<td>Private slot called by a button of the button box clicked.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.on_configList_itemCollapsed">on_configList_itemCollapsed</a></td>
<td>Private slot handling a list entry being collapsed.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.on_configList_itemExpanded">on_configList_itemExpanded</a></td>
<td>Private slot handling a list entry being expanded.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.on_resetButton_clicked">on_resetButton_clicked</a></td>
<td>Private slot called to reset the settings of the current page.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.resizeEvent">resizeEvent</a></td>
<td>Protected method to handle the resizing of the widget.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.setPreferences">setPreferences</a></td>
<td>Public method called to store the selected values into the preferences storage.</td>
</tr>
<tr>
<td><a href="#ConfigurationWidget.showConfigurationPageByName">showConfigurationPageByName</a></td>
<td>Public slot to show a named configuration page.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="ConfigurationWidget.__init__" ID="ConfigurationWidget.__init__"></a>
<h4>ConfigurationWidget (Constructor)</h4>
<b>ConfigurationWidget</b>(<i>parent=None, fromEric=True, displayMode=ConfigurationMode.DEFAULTMODE, expandedEntries=None, </i>)

<p>
        Constructor
</p>
<dl>

<dt><i>parent</i> (QWidget)</dt>
<dd>
reference to the parent widget
</dd>
<dt><i>fromEric</i> (bool)</dt>
<dd>
flag indicating a dialog generation from within the
            eric IDE
</dd>
<dt><i>displayMode</i> (ConfigurationMode)</dt>
<dd>
mode of the configuration dialog
</dd>
<dt><i>expandedEntries</i> (list of str)</dt>
<dd>
list of entries to be shown expanded
</dd>
</dl>
<a NAME="ConfigurationWidget.__importConfigurationPage" ID="ConfigurationWidget.__importConfigurationPage"></a>
<h4>ConfigurationWidget.__importConfigurationPage</h4>
<b>__importConfigurationPage</b>(<i>name</i>)

<p>
        Private method to import a configuration page module.
</p>
<dl>

<dt><i>name</i></dt>
<dd>
name of the configuration page module (string)
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
reference to the configuration page module
</dd>
</dl>
<a NAME="ConfigurationWidget.__initLexers" ID="ConfigurationWidget.__initLexers"></a>
<h4>ConfigurationWidget.__initLexers</h4>
<b>__initLexers</b>(<i></i>)

<p>
        Private method to initialize the dictionary of preferences lexers.
</p>
<a NAME="ConfigurationWidget.__initPage" ID="ConfigurationWidget.__initPage"></a>
<h4>ConfigurationWidget.__initPage</h4>
<b>__initPage</b>(<i>pageData</i>)

<p>
        Private method to initialize a configuration page.
</p>
<dl>

<dt><i>pageData</i></dt>
<dd>
data structure for the page to initialize
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
reference to the initialized page
</dd>
</dl>
<a NAME="ConfigurationWidget.__resizeConfigStack" ID="ConfigurationWidget.__resizeConfigStack"></a>
<h4>ConfigurationWidget.__resizeConfigStack</h4>
<b>__resizeConfigStack</b>(<i></i>)

<p>
        Private method to resize the stack of configuration pages.
</p>
<a NAME="ConfigurationWidget.__searchChildItems" ID="ConfigurationWidget.__searchChildItems"></a>
<h4>ConfigurationWidget.__searchChildItems</h4>
<b>__searchChildItems</b>(<i>parent, text</i>)

<p>
        Private method to enable child items based on a search string.
</p>
<dl>

<dt><i>parent</i></dt>
<dd>
reference to the parent item (QTreeWidgetItem)
</dd>
<dt><i>text</i></dt>
<dd>
text to search for (string)
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
flag indicating an enabled child item (boolean)
</dd>
</dl>
<a NAME="ConfigurationWidget.__searchTextChanged" ID="ConfigurationWidget.__searchTextChanged"></a>
<h4>ConfigurationWidget.__searchTextChanged</h4>
<b>__searchTextChanged</b>(<i>text</i>)

<p>
        Private slot to handle a change of the search text.
</p>
<dl>

<dt><i>text</i></dt>
<dd>
text to search for (string)
</dd>
</dl>
<a NAME="ConfigurationWidget.__setupUi" ID="ConfigurationWidget.__setupUi"></a>
<h4>ConfigurationWidget.__setupUi</h4>
<b>__setupUi</b>(<i></i>)

<p>
        Private method to perform the general setup of the configuration
        widget.
</p>
<a NAME="ConfigurationWidget.__showConfigurationPage" ID="ConfigurationWidget.__showConfigurationPage"></a>
<h4>ConfigurationWidget.__showConfigurationPage</h4>
<b>__showConfigurationPage</b>(<i>itm, column</i>)

<p>
        Private slot to show a selected configuration page.
</p>
<dl>

<dt><i>itm</i></dt>
<dd>
reference to the selected item (QTreeWidgetItem)
</dd>
<dt><i>column</i></dt>
<dd>
column that was selected (integer) (ignored)
</dd>
</dl>
<a NAME="ConfigurationWidget.accept" ID="ConfigurationWidget.accept"></a>
<h4>ConfigurationWidget.accept</h4>
<b>accept</b>(<i></i>)

<p>
        Public slot to accept the buttonBox accept signal.
</p>
<a NAME="ConfigurationWidget.calledFromEric" ID="ConfigurationWidget.calledFromEric"></a>
<h4>ConfigurationWidget.calledFromEric</h4>
<b>calledFromEric</b>(<i></i>)

<p>
        Public method to check, if invoked from within eric.
</p>
<dl>
<dt>Return:</dt>
<dd>
flag indicating invocation from within eric (boolean)
</dd>
</dl>
<a NAME="ConfigurationWidget.getConfigurationPageName" ID="ConfigurationWidget.getConfigurationPageName"></a>
<h4>ConfigurationWidget.getConfigurationPageName</h4>
<b>getConfigurationPageName</b>(<i></i>)

<p>
        Public method to get the page name of the current page.
</p>
<dl>
<dt>Return:</dt>
<dd>
page name of the current page (string)
</dd>
</dl>
<a NAME="ConfigurationWidget.getExpandedEntries" ID="ConfigurationWidget.getExpandedEntries"></a>
<h4>ConfigurationWidget.getExpandedEntries</h4>
<b>getExpandedEntries</b>(<i></i>)

<p>
        Public method to get a list of expanded entries.
</p>
<dl>
<dt>Return:</dt>
<dd>
list of expanded entries (list of string)
</dd>
</dl>
<a NAME="ConfigurationWidget.getLexers" ID="ConfigurationWidget.getLexers"></a>
<h4>ConfigurationWidget.getLexers</h4>
<b>getLexers</b>(<i></i>)

<p>
        Public method to get a reference to the lexers dictionary.
</p>
<dl>
<dt>Return:</dt>
<dd>
reference to the lexers dictionary
</dd>
</dl>
<a NAME="ConfigurationWidget.getPage" ID="ConfigurationWidget.getPage"></a>
<h4>ConfigurationWidget.getPage</h4>
<b>getPage</b>(<i>pageName</i>)

<p>
        Public method to get a reference to the named page.
</p>
<dl>

<dt><i>pageName</i></dt>
<dd>
name of the configuration page (string)
</dd>
</dl>
<dl>
<dt>Return:</dt>
<dd>
reference to the page or None, indicating page was
            not loaded yet
</dd>
</dl>
<a NAME="ConfigurationWidget.isUsingWebEngine" ID="ConfigurationWidget.isUsingWebEngine"></a>
<h4>ConfigurationWidget.isUsingWebEngine</h4>
<b>isUsingWebEngine</b>(<i></i>)

<p>
        Public method to get an indication, if QtWebEngine is being used.
</p>
<dl>
<dt>Return:</dt>
<dd>
flag indicating the use of QtWebEngine
</dd>
</dl>
<dl>
<dt>Return Type:</dt>
<dd>
bool
</dd>
</dl>
<a NAME="ConfigurationWidget.on_applyButton_clicked" ID="ConfigurationWidget.on_applyButton_clicked"></a>
<h4>ConfigurationWidget.on_applyButton_clicked</h4>
<b>on_applyButton_clicked</b>(<i></i>)

<p>
        Private slot called to apply the settings of the current page.
</p>
<a NAME="ConfigurationWidget.on_buttonBox_clicked" ID="ConfigurationWidget.on_buttonBox_clicked"></a>
<h4>ConfigurationWidget.on_buttonBox_clicked</h4>
<b>on_buttonBox_clicked</b>(<i>button</i>)

<p>
        Private slot called by a button of the button box clicked.
</p>
<dl>

<dt><i>button</i></dt>
<dd>
button that was clicked (QAbstractButton)
</dd>
</dl>
<a NAME="ConfigurationWidget.on_configList_itemCollapsed" ID="ConfigurationWidget.on_configList_itemCollapsed"></a>
<h4>ConfigurationWidget.on_configList_itemCollapsed</h4>
<b>on_configList_itemCollapsed</b>(<i>item</i>)

<p>
        Private slot handling a list entry being collapsed.
</p>
<dl>

<dt><i>item</i></dt>
<dd>
reference to the collapsed item (QTreeWidgetItem)
</dd>
</dl>
<a NAME="ConfigurationWidget.on_configList_itemExpanded" ID="ConfigurationWidget.on_configList_itemExpanded"></a>
<h4>ConfigurationWidget.on_configList_itemExpanded</h4>
<b>on_configList_itemExpanded</b>(<i>item</i>)

<p>
        Private slot handling a list entry being expanded.
</p>
<dl>

<dt><i>item</i></dt>
<dd>
reference to the expanded item (QTreeWidgetItem)
</dd>
</dl>
<a NAME="ConfigurationWidget.on_resetButton_clicked" ID="ConfigurationWidget.on_resetButton_clicked"></a>
<h4>ConfigurationWidget.on_resetButton_clicked</h4>
<b>on_resetButton_clicked</b>(<i></i>)

<p>
        Private slot called to reset the settings of the current page.
</p>
<a NAME="ConfigurationWidget.resizeEvent" ID="ConfigurationWidget.resizeEvent"></a>
<h4>ConfigurationWidget.resizeEvent</h4>
<b>resizeEvent</b>(<i>evt</i>)

<p>
        Protected method to handle the resizing of the widget.
</p>
<dl>

<dt><i>evt</i> (QResizeEvent)</dt>
<dd>
reference to the event object
</dd>
</dl>
<a NAME="ConfigurationWidget.setPreferences" ID="ConfigurationWidget.setPreferences"></a>
<h4>ConfigurationWidget.setPreferences</h4>
<b>setPreferences</b>(<i></i>)

<p>
        Public method called to store the selected values into the preferences
        storage.
</p>
<a NAME="ConfigurationWidget.showConfigurationPageByName" ID="ConfigurationWidget.showConfigurationPageByName"></a>
<h4>ConfigurationWidget.showConfigurationPageByName</h4>
<b>showConfigurationPageByName</b>(<i>pageName, setCurrent=True</i>)

<p>
        Public slot to show a named configuration page.
</p>
<dl>

<dt><i>pageName</i></dt>
<dd>
name of the configuration page to show (string)
</dd>
<dt><i>setCurrent</i></dt>
<dd>
flag indicating to set the current item (boolean)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
<hr />
<a NAME="ConfigurationWindow" ID="ConfigurationWindow"></a>
<h2>ConfigurationWindow</h2>

<p>
    Main window class for the standalone dialog.
</p>
<h3>Derived from</h3>
EricMainWindow
<h3>Class Attributes</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Class Methods</h3>

<table>
<tr><td>None</td></tr>
</table>
<h3>Methods</h3>

<table>

<tr>
<td><a href="#ConfigurationWindow.__init__">ConfigurationWindow</a></td>
<td>Constructor</td>
</tr>
<tr>
<td><a href="#ConfigurationWindow.accept">accept</a></td>
<td>Public slot called by the Ok button.</td>
</tr>
<tr>
<td><a href="#ConfigurationWindow.showConfigurationPageByName">showConfigurationPageByName</a></td>
<td>Public slot to show a named configuration page.</td>
</tr>
</table>
<h3>Static Methods</h3>

<table>
<tr><td>None</td></tr>
</table>

<a NAME="ConfigurationWindow.__init__" ID="ConfigurationWindow.__init__"></a>
<h4>ConfigurationWindow (Constructor)</h4>
<b>ConfigurationWindow</b>(<i>parent=None</i>)

<p>
        Constructor
</p>
<dl>

<dt><i>parent</i></dt>
<dd>
reference to the parent widget (QWidget)
</dd>
</dl>
<a NAME="ConfigurationWindow.accept" ID="ConfigurationWindow.accept"></a>
<h4>ConfigurationWindow.accept</h4>
<b>accept</b>(<i></i>)

<p>
        Public slot called by the Ok button.
</p>
<a NAME="ConfigurationWindow.showConfigurationPageByName" ID="ConfigurationWindow.showConfigurationPageByName"></a>
<h4>ConfigurationWindow.showConfigurationPageByName</h4>
<b>showConfigurationPageByName</b>(<i>pageName</i>)

<p>
        Public slot to show a named configuration page.
</p>
<dl>

<dt><i>pageName</i></dt>
<dd>
name of the configuration page to show (string)
</dd>
</dl>
<div align="right"><a href="#top">Up</a></div>
<hr />
</body></html>

eric ide

mercurial