Inheritance diagram for packetMonitorPrefsImpl:
Public Member Functions | |
def | __init__ |
def | loadConfigFile |
def | loadConfig |
def | __defaults |
def | setSysDefaults |
def | setMonDefaults |
def | selectStyle |
def | selectFont |
def | saveMainWindowSize |
def | savePrefs |
Private Attributes | |
__gui | |
__confParser | |
__configFile |
The Packet Monitor keeps a user's preferences information in a file that is called .pktmonrc when os.name returns 'posix', and pktmon.cfg otherwise, e.g. Windows. If the file doesn't exist, a set of defaults are used. These will be written to a file in the packet monitor source directory if it is writable. Packet Monitor searches for the preferences file in the following directories in the order specified: the current directory, the directory pointed to by the HOME environment variable, and the Packet Monitor source directory.
Definition at line 28 of file packetMonitorPrefsImpl.py.
|
Load default values into configuration file. OBSOLETE. Definition at line 117 of file packetMonitorPrefsImpl.py. |
|
Definition at line 31 of file packetMonitorPrefsImpl.py. |
|
Loads configuration from file if configuration file exists. Definition at line 70 of file packetMonitorPrefsImpl.py. |
|
Definition at line 49 of file packetMonitorPrefsImpl.py. |
|
Saves Main Window Size when it is closed. Definition at line 186 of file packetMonitorPrefsImpl.py. |
|
Saves preferences when pressing the OK button of the Preferences Dialog. Definition at line 199 of file packetMonitorPrefsImpl.py. |
|
Calls a select font dialog and sets the application font to the selected font value. Definition at line 172 of file packetMonitorPrefsImpl.py. |
|
Sets the application style to the selected style. Definition at line 165 of file packetMonitorPrefsImpl.py. |
|
Sets Monitors' default maximum number of rows and number of rows deleted when this number is reached. Definition at line 158 of file packetMonitorPrefsImpl.py. |
|
Load default GUI values. Definition at line 128 of file packetMonitorPrefsImpl.py. |
|
Definition at line 68 of file packetMonitorPrefsImpl.py. |
|
Definition at line 35 of file packetMonitorPrefsImpl.py. |
|
Definition at line 34 of file packetMonitorPrefsImpl.py. |