|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.Preferences.ConfigurationPages.IconsPreviewDialog</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>eric7.Preferences.ConfigurationPages.IconsPreviewDialog</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a dialog to preview the contents of an icon directory. |
|
13 </p> |
|
14 <h3>Global Attributes</h3> |
|
15 |
|
16 <table> |
|
17 <tr><td>None</td></tr> |
|
18 </table> |
|
19 <h3>Classes</h3> |
|
20 |
|
21 <table> |
|
22 |
|
23 <tr> |
|
24 <td><a href="#IconsPreviewDialog">IconsPreviewDialog</a></td> |
|
25 <td>Class implementing a dialog to preview the contents of an icon directory.</td> |
|
26 </tr> |
|
27 </table> |
|
28 <h3>Functions</h3> |
|
29 |
|
30 <table> |
|
31 <tr><td>None</td></tr> |
|
32 </table> |
|
33 <hr /> |
|
34 <hr /> |
|
35 <a NAME="IconsPreviewDialog" ID="IconsPreviewDialog"></a> |
|
36 <h2>IconsPreviewDialog</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a dialog to preview the contents of an icon directory. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QDialog, Ui_IconsPreviewDialog |
|
43 <h3>Class Attributes</h3> |
|
44 |
|
45 <table> |
|
46 <tr><td>None</td></tr> |
|
47 </table> |
|
48 <h3>Class Methods</h3> |
|
49 |
|
50 <table> |
|
51 <tr><td>None</td></tr> |
|
52 </table> |
|
53 <h3>Methods</h3> |
|
54 |
|
55 <table> |
|
56 |
|
57 <tr> |
|
58 <td><a href="#IconsPreviewDialog.__init__">IconsPreviewDialog</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#IconsPreviewDialog.on_directoryCombo_currentTextChanged">on_directoryCombo_currentTextChanged</a></td> |
|
63 <td>Private slot to show the icons of the selected icon directory.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#IconsPreviewDialog.on_invertButton_toggled">on_invertButton_toggled</a></td> |
|
67 <td>Private slot to show the icons on an inverted background.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#IconsPreviewDialog.on_refreshButton_clicked">on_refreshButton_clicked</a></td> |
|
71 <td>Private slot to refresh the view.</td> |
|
72 </tr> |
|
73 </table> |
|
74 <h3>Static Methods</h3> |
|
75 |
|
76 <table> |
|
77 <tr><td>None</td></tr> |
|
78 </table> |
|
79 |
|
80 <a NAME="IconsPreviewDialog.__init__" ID="IconsPreviewDialog.__init__"></a> |
|
81 <h4>IconsPreviewDialog (Constructor)</h4> |
|
82 <b>IconsPreviewDialog</b>(<i>directories, parent=None</i>) |
|
83 |
|
84 <p> |
|
85 Constructor |
|
86 </p> |
|
87 <dl> |
|
88 |
|
89 <dt><i>directories</i> (list of str)</dt> |
|
90 <dd> |
|
91 list of directories to be shown |
|
92 </dd> |
|
93 <dt><i>parent</i> (QWidget)</dt> |
|
94 <dd> |
|
95 parent widget |
|
96 </dd> |
|
97 </dl> |
|
98 <a NAME="IconsPreviewDialog.on_directoryCombo_currentTextChanged" ID="IconsPreviewDialog.on_directoryCombo_currentTextChanged"></a> |
|
99 <h4>IconsPreviewDialog.on_directoryCombo_currentTextChanged</h4> |
|
100 <b>on_directoryCombo_currentTextChanged</b>(<i>dirName</i>) |
|
101 |
|
102 <p> |
|
103 Private slot to show the icons of the selected icon directory. |
|
104 </p> |
|
105 <dl> |
|
106 |
|
107 <dt><i>dirName</i> (str)</dt> |
|
108 <dd> |
|
109 selected icon directory |
|
110 </dd> |
|
111 </dl> |
|
112 <a NAME="IconsPreviewDialog.on_invertButton_toggled" ID="IconsPreviewDialog.on_invertButton_toggled"></a> |
|
113 <h4>IconsPreviewDialog.on_invertButton_toggled</h4> |
|
114 <b>on_invertButton_toggled</b>(<i>checked</i>) |
|
115 |
|
116 <p> |
|
117 Private slot to show the icons on an inverted background. |
|
118 </p> |
|
119 <dl> |
|
120 |
|
121 <dt><i>checked</i> (bool)</dt> |
|
122 <dd> |
|
123 state of the button |
|
124 </dd> |
|
125 </dl> |
|
126 <a NAME="IconsPreviewDialog.on_refreshButton_clicked" ID="IconsPreviewDialog.on_refreshButton_clicked"></a> |
|
127 <h4>IconsPreviewDialog.on_refreshButton_clicked</h4> |
|
128 <b>on_refreshButton_clicked</b>(<i></i>) |
|
129 |
|
130 <p> |
|
131 Private slot to refresh the view. |
|
132 </p> |
|
133 <div align="right"><a href="#top">Up</a></div> |
|
134 <hr /> |
|
135 </body></html> |