|
1 <!DOCTYPE html> |
|
2 <html><head> |
|
3 <title>eric7.UI.Previewers.PreviewerQSS</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.UI.Previewers.PreviewerQSS</h1> |
|
10 |
|
11 <p> |
|
12 Module implementing a previewer widget for Qt style sheet files. |
|
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="#PreviewerQSS">PreviewerQSS</a></td> |
|
25 <td>Class implementing a previewer widget for Qt style sheet files.</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="PreviewerQSS" ID="PreviewerQSS"></a> |
|
36 <h2>PreviewerQSS</h2> |
|
37 |
|
38 <p> |
|
39 Class implementing a previewer widget for Qt style sheet files. |
|
40 </p> |
|
41 <h3>Derived from</h3> |
|
42 QWidget, Ui_PreviewerQSS |
|
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="#PreviewerQSS.__init__">PreviewerQSS</a></td> |
|
59 <td>Constructor</td> |
|
60 </tr> |
|
61 <tr> |
|
62 <td><a href="#PreviewerQSS.on_checkBox_stateChanged">on_checkBox_stateChanged</a></td> |
|
63 <td>Private slot to synchronize the checkbox state.</td> |
|
64 </tr> |
|
65 <tr> |
|
66 <td><a href="#PreviewerQSS.on_styleIconsPathPicker_textChanged">on_styleIconsPathPicker_textChanged</a></td> |
|
67 <td>Private slot handling a change of the style icons path.</td> |
|
68 </tr> |
|
69 <tr> |
|
70 <td><a href="#PreviewerQSS.processEditor">processEditor</a></td> |
|
71 <td>Public slot to process an editor's text.</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="PreviewerQSS.__init__" ID="PreviewerQSS.__init__"></a> |
|
81 <h4>PreviewerQSS (Constructor)</h4> |
|
82 <b>PreviewerQSS</b>(<i>parent=None</i>) |
|
83 |
|
84 <p> |
|
85 Constructor |
|
86 </p> |
|
87 <dl> |
|
88 |
|
89 <dt><i>parent</i></dt> |
|
90 <dd> |
|
91 reference to the parent widget (QWidget) |
|
92 </dd> |
|
93 </dl> |
|
94 <a NAME="PreviewerQSS.on_checkBox_stateChanged" ID="PreviewerQSS.on_checkBox_stateChanged"></a> |
|
95 <h4>PreviewerQSS.on_checkBox_stateChanged</h4> |
|
96 <b>on_checkBox_stateChanged</b>(<i>state</i>) |
|
97 |
|
98 <p> |
|
99 Private slot to synchronize the checkbox state. |
|
100 </p> |
|
101 <dl> |
|
102 |
|
103 <dt><i>state</i> (int)</dt> |
|
104 <dd> |
|
105 state of the enabled check box |
|
106 </dd> |
|
107 </dl> |
|
108 <a NAME="PreviewerQSS.on_styleIconsPathPicker_textChanged" ID="PreviewerQSS.on_styleIconsPathPicker_textChanged"></a> |
|
109 <h4>PreviewerQSS.on_styleIconsPathPicker_textChanged</h4> |
|
110 <b>on_styleIconsPathPicker_textChanged</b>(<i>txt</i>) |
|
111 |
|
112 <p> |
|
113 Private slot handling a change of the style icons path. |
|
114 </p> |
|
115 <dl> |
|
116 |
|
117 <dt><i>txt</i> (str)</dt> |
|
118 <dd> |
|
119 name of the style icons directory |
|
120 </dd> |
|
121 </dl> |
|
122 <a NAME="PreviewerQSS.processEditor" ID="PreviewerQSS.processEditor"></a> |
|
123 <h4>PreviewerQSS.processEditor</h4> |
|
124 <b>processEditor</b>(<i>editor=None</i>) |
|
125 |
|
126 <p> |
|
127 Public slot to process an editor's text. |
|
128 </p> |
|
129 <dl> |
|
130 |
|
131 <dt><i>editor</i></dt> |
|
132 <dd> |
|
133 editor to be processed (Editor) |
|
134 </dd> |
|
135 </dl> |
|
136 <div align="right"><a href="#top">Up</a></div> |
|
137 <hr /> |
|
138 </body></html> |