|
1 <?xml version="1.0" encoding="utf-8"?> |
|
2 <!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN' |
|
3 'http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd'> |
|
4 <html><head> |
|
5 <title>eric5.Network.IRC.IrcServerEditDialog</title> |
|
6 <style> |
|
7 body { |
|
8 background: #EDECE6; |
|
9 margin: 0em 1em 10em 1em; |
|
10 color: black; |
|
11 } |
|
12 |
|
13 h1 { color: white; background: #85774A; } |
|
14 h2 { color: white; background: #85774A; } |
|
15 h3 { color: white; background: #9D936E; } |
|
16 h4 { color: white; background: #9D936E; } |
|
17 |
|
18 a { color: #BA6D36; } |
|
19 |
|
20 </style> |
|
21 </head> |
|
22 <body><a NAME="top" ID="top"></a> |
|
23 <h1>eric5.Network.IRC.IrcServerEditDialog</h1> |
|
24 <p> |
|
25 Module implementing a dialog for editing the IRC server configuration. |
|
26 </p> |
|
27 <h3>Global Attributes</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 <h3>Classes</h3> |
|
32 <table> |
|
33 <tr> |
|
34 <td><a href="#IrcServerEditDialog">IrcServerEditDialog</a></td> |
|
35 <td>Class implementing a dialog for editing the IRC server configuration.</td> |
|
36 </tr> |
|
37 </table> |
|
38 <h3>Functions</h3> |
|
39 <table> |
|
40 <tr><td>None</td></tr> |
|
41 </table> |
|
42 <hr /><hr /> |
|
43 <a NAME="IrcServerEditDialog" ID="IrcServerEditDialog"></a> |
|
44 <h2>IrcServerEditDialog</h2> |
|
45 <p> |
|
46 Class implementing a dialog for editing the IRC server configuration. |
|
47 </p> |
|
48 <h3>Derived from</h3> |
|
49 QDialog, Ui_IrcServerEditDialog |
|
50 <h3>Class Attributes</h3> |
|
51 <table> |
|
52 <tr><td>None</td></tr> |
|
53 </table> |
|
54 <h3>Class Methods</h3> |
|
55 <table> |
|
56 <tr><td>None</td></tr> |
|
57 </table> |
|
58 <h3>Methods</h3> |
|
59 <table> |
|
60 <tr> |
|
61 <td><a href="#IrcServerEditDialog.__init__">IrcServerEditDialog</a></td> |
|
62 <td>Constructor</td> |
|
63 </tr><tr> |
|
64 <td><a href="#IrcServerEditDialog.__updateOkButton">__updateOkButton</a></td> |
|
65 <td>Private method to update the OK button state.</td> |
|
66 </tr><tr> |
|
67 <td><a href="#IrcServerEditDialog.getServer">getServer</a></td> |
|
68 <td>Public method to create a server object from the data entered into the dialog.</td> |
|
69 </tr><tr> |
|
70 <td><a href="#IrcServerEditDialog.on_serverEdit_textChanged">on_serverEdit_textChanged</a></td> |
|
71 <td>Private slot handling changes of the server name.</td> |
|
72 </tr> |
|
73 </table> |
|
74 <h3>Static Methods</h3> |
|
75 <table> |
|
76 <tr><td>None</td></tr> |
|
77 </table> |
|
78 <a NAME="IrcServerEditDialog.__init__" ID="IrcServerEditDialog.__init__"></a> |
|
79 <h4>IrcServerEditDialog (Constructor)</h4> |
|
80 <b>IrcServerEditDialog</b>(<i>server, parent=None</i>) |
|
81 <p> |
|
82 Constructor |
|
83 </p><dl> |
|
84 <dt><i>server</i></dt> |
|
85 <dd> |
|
86 reference to the IRC server object (IrcServer) |
|
87 </dd><dt><i>parent</i></dt> |
|
88 <dd> |
|
89 reference to the parent widget (QWidget) |
|
90 </dd> |
|
91 </dl><a NAME="IrcServerEditDialog.__updateOkButton" ID="IrcServerEditDialog.__updateOkButton"></a> |
|
92 <h4>IrcServerEditDialog.__updateOkButton</h4> |
|
93 <b>__updateOkButton</b>(<i></i>) |
|
94 <p> |
|
95 Private method to update the OK button state. |
|
96 </p><a NAME="IrcServerEditDialog.getServer" ID="IrcServerEditDialog.getServer"></a> |
|
97 <h4>IrcServerEditDialog.getServer</h4> |
|
98 <b>getServer</b>(<i></i>) |
|
99 <p> |
|
100 Public method to create a server object from the data entered into |
|
101 the dialog. |
|
102 </p><dl> |
|
103 <dt>Returns:</dt> |
|
104 <dd> |
|
105 server object (IrcServer) |
|
106 </dd> |
|
107 </dl><a NAME="IrcServerEditDialog.on_serverEdit_textChanged" ID="IrcServerEditDialog.on_serverEdit_textChanged"></a> |
|
108 <h4>IrcServerEditDialog.on_serverEdit_textChanged</h4> |
|
109 <b>on_serverEdit_textChanged</b>(<i>name</i>) |
|
110 <p> |
|
111 Private slot handling changes of the server name. |
|
112 </p><dl> |
|
113 <dt><i>name</i></dt> |
|
114 <dd> |
|
115 current name of the server (string) |
|
116 </dd> |
|
117 </dl> |
|
118 <div align="right"><a href="#top">Up</a></div> |
|
119 <hr /> |
|
120 </body></html> |