|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>Plugin_Extension_Irc.ExtensionIrc.IrcServerEditDialog</title> |
|
4 <meta charset="UTF-8"> |
|
5 <link rel="stylesheet" href="styles.css"> |
|
6 </head> |
|
7 <body> |
|
8 <a NAME="top" ID="top"></a> |
|
9 <h1>Plugin_Extension_Irc.ExtensionIrc.IrcServerEditDialog</h1> |
|
10 <p> |
|
11 Module implementing a dialog for editing the IRC server configuration. |
|
12 </p> |
|
13 |
|
14 <h3>Global Attributes</h3> |
|
15 <table> |
|
16 <tr><td>None</td></tr> |
|
17 </table> |
|
18 |
|
19 <h3>Classes</h3> |
|
20 <table> |
|
21 <tr> |
|
22 <td><a href="#IrcServerEditDialog">IrcServerEditDialog</a></td> |
|
23 <td>Class implementing a dialog for editing the IRC server configuration.</td> |
|
24 </tr> |
|
25 </table> |
|
26 |
|
27 <h3>Functions</h3> |
|
28 <table> |
|
29 <tr><td>None</td></tr> |
|
30 </table> |
|
31 |
|
32 <hr /> |
|
33 <hr /> |
|
34 <a NAME="IrcServerEditDialog" ID="IrcServerEditDialog"></a> |
|
35 <h2>IrcServerEditDialog</h2> |
|
36 <p> |
|
37 Class implementing a dialog for editing the IRC server configuration. |
|
38 </p> |
|
39 |
|
40 <h3>Derived from</h3> |
|
41 QDialog, Ui_IrcServerEditDialog |
|
42 <h3>Class Attributes</h3> |
|
43 <table> |
|
44 <tr><td>None</td></tr> |
|
45 </table> |
|
46 |
|
47 <h3>Class Methods</h3> |
|
48 <table> |
|
49 <tr><td>None</td></tr> |
|
50 </table> |
|
51 |
|
52 <h3>Methods</h3> |
|
53 <table> |
|
54 <tr> |
|
55 <td><a href="#IrcServerEditDialog.__init__">IrcServerEditDialog</a></td> |
|
56 <td>Constructor</td> |
|
57 </tr> |
|
58 <tr> |
|
59 <td><a href="#IrcServerEditDialog.__updateOkButton">__updateOkButton</a></td> |
|
60 <td>Private method to update the OK button state.</td> |
|
61 </tr> |
|
62 <tr> |
|
63 <td><a href="#IrcServerEditDialog.getServer">getServer</a></td> |
|
64 <td>Public method to create a server object from the data entered into the dialog.</td> |
|
65 </tr> |
|
66 <tr> |
|
67 <td><a href="#IrcServerEditDialog.on_serverEdit_textChanged">on_serverEdit_textChanged</a></td> |
|
68 <td>Private slot handling changes of the server name.</td> |
|
69 </tr> |
|
70 </table> |
|
71 |
|
72 <h3>Static Methods</h3> |
|
73 <table> |
|
74 <tr><td>None</td></tr> |
|
75 </table> |
|
76 |
|
77 |
|
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> |
|
84 |
|
85 <dl> |
|
86 |
|
87 <dt><i>server</i> (IrcServer)</dt> |
|
88 <dd> |
|
89 reference to the IRC server object |
|
90 </dd> |
|
91 <dt><i>parent</i> (QWidget)</dt> |
|
92 <dd> |
|
93 reference to the parent widget |
|
94 </dd> |
|
95 </dl> |
|
96 <a NAME="IrcServerEditDialog.__updateOkButton" ID="IrcServerEditDialog.__updateOkButton"></a> |
|
97 <h4>IrcServerEditDialog.__updateOkButton</h4> |
|
98 <b>__updateOkButton</b>(<i></i>) |
|
99 <p> |
|
100 Private method to update the OK button state. |
|
101 </p> |
|
102 |
|
103 <a NAME="IrcServerEditDialog.getServer" ID="IrcServerEditDialog.getServer"></a> |
|
104 <h4>IrcServerEditDialog.getServer</h4> |
|
105 <b>getServer</b>(<i></i>) |
|
106 <p> |
|
107 Public method to create a server object from the data entered into |
|
108 the dialog. |
|
109 </p> |
|
110 |
|
111 <dl> |
|
112 <dt>Return:</dt> |
|
113 <dd> |
|
114 server object |
|
115 </dd> |
|
116 </dl> |
|
117 <dl> |
|
118 <dt>Return Type:</dt> |
|
119 <dd> |
|
120 IrcServer |
|
121 </dd> |
|
122 </dl> |
|
123 <a NAME="IrcServerEditDialog.on_serverEdit_textChanged" ID="IrcServerEditDialog.on_serverEdit_textChanged"></a> |
|
124 <h4>IrcServerEditDialog.on_serverEdit_textChanged</h4> |
|
125 <b>on_serverEdit_textChanged</b>(<i>_name</i>) |
|
126 <p> |
|
127 Private slot handling changes of the server name. |
|
128 </p> |
|
129 |
|
130 <dl> |
|
131 |
|
132 <dt><i>_name</i> (str)</dt> |
|
133 <dd> |
|
134 current name of the server (unused) |
|
135 </dd> |
|
136 </dl> |
|
137 <div align="right"><a href="#top">Up</a></div> |
|
138 <hr /> |
|
139 </body></html> |