Documentation/Source/eric5.Helpviewer.QtHelpFiltersDialog.html

changeset 58
37f0444c3479
parent 21
b88a0e6268bd
child 409
0ea528e80202
equal deleted inserted replaced
57:81326a94fdca 58:37f0444c3479
20 </style> 20 </style>
21 </head> 21 </head>
22 <body><a NAME="top" ID="top"></a> 22 <body><a NAME="top" ID="top"></a>
23 <h1>eric5.Helpviewer.QtHelpFiltersDialog</h1> 23 <h1>eric5.Helpviewer.QtHelpFiltersDialog</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#109;&#97;&#110;&#97;&#103;&#101; &#116;&#104;&#101; &#81;&#116;&#72;&#101;&#108;&#112; &#102;&#105;&#108;&#116;&#101;&#114;&#115;. 25 Module implementing a dialog to manage the QtHelp filters.
26 </p> 26 </p>
27 <h3>Global Attributes</h3> 27 <h3>Global Attributes</h3>
28 <table> 28 <table>
29 <tr><td>None</td></tr> 29 <tr><td>None</td></tr>
30 </table> 30 </table>
31 <h3>Classes</h3> 31 <h3>Classes</h3>
32 <table> 32 <table>
33 <tr> 33 <tr>
34 <td><a href="#QtHelpFiltersDialog">QtHelpFiltersDialog</a></td> 34 <td><a href="#QtHelpFiltersDialog">QtHelpFiltersDialog</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#109;&#97;&#110;&#97;&#103;&#101; &#116;&#104;&#101; &#81;&#116;&#72;&#101;&#108;&#112; &#102;&#105;&#108;&#116;&#101;&#114;&#115;</td> 35 <td>Class implementing a dialog to manage the QtHelp filters</td>
36 </tr> 36 </tr>
37 </table> 37 </table>
38 <h3>Functions</h3> 38 <h3>Functions</h3>
39 <table> 39 <table>
40 <tr><td>None</td></tr> 40 <tr><td>None</td></tr>
41 </table> 41 </table>
42 <hr /><hr /> 42 <hr /><hr />
43 <a NAME="QtHelpFiltersDialog" ID="QtHelpFiltersDialog"></a> 43 <a NAME="QtHelpFiltersDialog" ID="QtHelpFiltersDialog"></a>
44 <h2>QtHelpFiltersDialog</h2> 44 <h2>QtHelpFiltersDialog</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; &#109;&#97;&#110;&#97;&#103;&#101; &#116;&#104;&#101; &#81;&#116;&#72;&#101;&#108;&#112; &#102;&#105;&#108;&#116;&#101;&#114;&#115; 46 Class implementing a dialog to manage the QtHelp filters
47 </p> 47 </p>
48 <h3>Derived from</h3> 48 <h3>Derived from</h3>
49 QDialog, Ui_QtHelpFiltersDialog 49 QDialog, Ui_QtHelpFiltersDialog
50 <h3>Class Attributes</h3> 50 <h3>Class Attributes</h3>
51 <table> 51 <table>
53 </table> 53 </table>
54 <h3>Methods</h3> 54 <h3>Methods</h3>
55 <table> 55 <table>
56 <tr> 56 <tr>
57 <td><a href="#QtHelpFiltersDialog.__init__">QtHelpFiltersDialog</a></td> 57 <td><a href="#QtHelpFiltersDialog.__init__">QtHelpFiltersDialog</a></td>
58 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 58 <td>Constructor</td>
59 </tr><tr> 59 </tr><tr>
60 <td><a href="#QtHelpFiltersDialog.on_addButton_clicked">on_addButton_clicked</a></td> 60 <td><a href="#QtHelpFiltersDialog.on_addButton_clicked">on_addButton_clicked</a></td>
61 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#97; &#110;&#101;w &#102;&#105;&#108;&#116;&#101;&#114;.</td> 61 <td>Private slot to add a new filter.</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#QtHelpFiltersDialog.on_attributesList_itemChanged">on_attributesList_itemChanged</a></td> 63 <td><a href="#QtHelpFiltersDialog.on_attributesList_itemChanged">on_attributesList_itemChanged</a></td>
64 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#97;&#110; &#97;&#116;&#116;&#114;&#105;&#98;&#117;&#116;&#101;.</td> 64 <td>Private slot to handle a change of an attribute.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#QtHelpFiltersDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td> 66 <td><a href="#QtHelpFiltersDialog.on_buttonBox_accepted">on_buttonBox_accepted</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#100;&#97;&#116;&#97;&#98;&#97;&#115;&#101;, &#105;&#102; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; &#105;&#115; &#97;&#99;&#99;&#101;&#112;&#116;&#101;&#100;.</td> 67 <td>Private slot to update the database, if the dialog is accepted.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#QtHelpFiltersDialog.on_filtersList_currentItemChanged">on_filtersList_currentItemChanged</a></td> 69 <td><a href="#QtHelpFiltersDialog.on_filtersList_currentItemChanged">on_filtersList_currentItemChanged</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#97;&#116;&#116;&#114;&#105;&#98;&#117;&#116;&#101;&#115; &#100;&#101;&#112;&#101;&#110;&#100;&#105;&#110;&#103; &#111;&#110; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#102;&#105;&#108;&#116;&#101;&#114;.</td> 70 <td>Private slot to update the attributes depending on the current filter.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#QtHelpFiltersDialog.on_removeButton_clicked">on_removeButton_clicked</a></td> 72 <td><a href="#QtHelpFiltersDialog.on_removeButton_clicked">on_removeButton_clicked</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#102;&#105;&#108;&#116;&#101;&#114;.</td> 73 <td>Private slot to remove a filter.</td>
74 </tr> 74 </tr>
75 </table> 75 </table>
76 <a NAME="QtHelpFiltersDialog.__init__" ID="QtHelpFiltersDialog.__init__"></a> 76 <a NAME="QtHelpFiltersDialog.__init__" ID="QtHelpFiltersDialog.__init__"></a>
77 <h4>QtHelpFiltersDialog (Constructor)</h4> 77 <h4>QtHelpFiltersDialog (Constructor)</h4>
78 <b>QtHelpFiltersDialog</b>(<i>engine, parent = None</i>) 78 <b>QtHelpFiltersDialog</b>(<i>engine, parent = None</i>)
79 <p> 79 <p>
80 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 80 Constructor
81 </p><dl> 81 </p><dl>
82 <dt><i>engine</i></dt> 82 <dt><i>engine</i></dt>
83 <dd> 83 <dd>
84 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#104;&#101;&#108;&#112; &#101;&#110;&#103;&#105;&#110;&#101; (&#81;&#72;&#101;&#108;&#112;&#69;&#110;&#103;&#105;&#110;&#101;) 84 reference to the help engine (QHelpEngine)
85 </dd><dt><i>parent</i></dt> 85 </dd><dt><i>parent</i></dt>
86 <dd> 86 <dd>
87 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 87 reference to the parent widget (QWidget)
88 </dd> 88 </dd>
89 </dl><a NAME="QtHelpFiltersDialog.on_addButton_clicked" ID="QtHelpFiltersDialog.on_addButton_clicked"></a> 89 </dl><a NAME="QtHelpFiltersDialog.on_addButton_clicked" ID="QtHelpFiltersDialog.on_addButton_clicked"></a>
90 <h4>QtHelpFiltersDialog.on_addButton_clicked</h4> 90 <h4>QtHelpFiltersDialog.on_addButton_clicked</h4>
91 <b>on_addButton_clicked</b>(<i></i>) 91 <b>on_addButton_clicked</b>(<i></i>)
92 <p> 92 <p>
93 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#97;&#100;&#100; &#97; &#110;&#101;w &#102;&#105;&#108;&#116;&#101;&#114;. 93 Private slot to add a new filter.
94 </p><a NAME="QtHelpFiltersDialog.on_attributesList_itemChanged" ID="QtHelpFiltersDialog.on_attributesList_itemChanged"></a> 94 </p><a NAME="QtHelpFiltersDialog.on_attributesList_itemChanged" ID="QtHelpFiltersDialog.on_attributesList_itemChanged"></a>
95 <h4>QtHelpFiltersDialog.on_attributesList_itemChanged</h4> 95 <h4>QtHelpFiltersDialog.on_attributesList_itemChanged</h4>
96 <b>on_attributesList_itemChanged</b>(<i>item, column</i>) 96 <b>on_attributesList_itemChanged</b>(<i>item, column</i>)
97 <p> 97 <p>
98 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#97; &#99;&#104;&#97;&#110;&#103;&#101; &#111;&#102; &#97;&#110; &#97;&#116;&#116;&#114;&#105;&#98;&#117;&#116;&#101;. 98 Private slot to handle a change of an attribute.
99 </p><dl> 99 </p><dl>
100 <dt><i>item</i></dt> 100 <dt><i>item</i></dt>
101 <dd> 101 <dd>
102 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#99;&#104;&#97;&#110;&#103;&#101;&#100; &#105;&#116;&#101;&#109; (&#81;&#84;&#114;&#101;&#101;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;) 102 reference to the changed item (QTreeWidgetItem)
103 </dd><dt><i>column</i></dt> 103 </dd><dt><i>column</i></dt>
104 <dd> 104 <dd>
105 &#99;&#111;&#108;&#117;&#109;&#110; &#99;&#111;&#110;&#116;&#97;&#105;&#110;&#105;&#110;&#103; &#116;&#104;&#101; &#99;&#104;&#97;&#110;&#103;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 105 column containing the change (integer)
106 </dd> 106 </dd>
107 </dl><a NAME="QtHelpFiltersDialog.on_buttonBox_accepted" ID="QtHelpFiltersDialog.on_buttonBox_accepted"></a> 107 </dl><a NAME="QtHelpFiltersDialog.on_buttonBox_accepted" ID="QtHelpFiltersDialog.on_buttonBox_accepted"></a>
108 <h4>QtHelpFiltersDialog.on_buttonBox_accepted</h4> 108 <h4>QtHelpFiltersDialog.on_buttonBox_accepted</h4>
109 <b>on_buttonBox_accepted</b>(<i></i>) 109 <b>on_buttonBox_accepted</b>(<i></i>)
110 <p> 110 <p>
111 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#100;&#97;&#116;&#97;&#98;&#97;&#115;&#101;, &#105;&#102; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; &#105;&#115; &#97;&#99;&#99;&#101;&#112;&#116;&#101;&#100;. 111 Private slot to update the database, if the dialog is accepted.
112 </p><a NAME="QtHelpFiltersDialog.on_filtersList_currentItemChanged" ID="QtHelpFiltersDialog.on_filtersList_currentItemChanged"></a> 112 </p><a NAME="QtHelpFiltersDialog.on_filtersList_currentItemChanged" ID="QtHelpFiltersDialog.on_filtersList_currentItemChanged"></a>
113 <h4>QtHelpFiltersDialog.on_filtersList_currentItemChanged</h4> 113 <h4>QtHelpFiltersDialog.on_filtersList_currentItemChanged</h4>
114 <b>on_filtersList_currentItemChanged</b>(<i>current, previous</i>) 114 <b>on_filtersList_currentItemChanged</b>(<i>current, previous</i>)
115 <p> 115 <p>
116 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#117;&#112;&#100;&#97;&#116;&#101; &#116;&#104;&#101; &#97;&#116;&#116;&#114;&#105;&#98;&#117;&#116;&#101;&#115; &#100;&#101;&#112;&#101;&#110;&#100;&#105;&#110;&#103; &#111;&#110; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#102;&#105;&#108;&#116;&#101;&#114;. 116 Private slot to update the attributes depending on the current filter.
117 </p><dl> 117 </p><dl>
118 <dt><i>current</i></dt> 118 <dt><i>current</i></dt>
119 <dd> 119 <dd>
120 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#116;&#101;&#109; (&#81;&#76;&#105;&#115;&#116;&#87;&#105;&#100;&#103;&#101;&#116;&#105;&#116;&#101;&#109;) 120 reference to the current item (QListWidgetitem)
121 </dd><dt><i>previous</i></dt> 121 </dd><dt><i>previous</i></dt>
122 <dd> 122 <dd>
123 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#101;v&#105;&#111;&#117;&#115; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#116;&#101;&#109; (&#81;&#76;&#105;&#115;&#116;&#87;&#105;&#100;&#103;&#101;&#116;&#73;&#116;&#101;&#109;) 123 reference to the previous current item (QListWidgetItem)
124 </dd> 124 </dd>
125 </dl><a NAME="QtHelpFiltersDialog.on_removeButton_clicked" ID="QtHelpFiltersDialog.on_removeButton_clicked"></a> 125 </dl><a NAME="QtHelpFiltersDialog.on_removeButton_clicked" ID="QtHelpFiltersDialog.on_removeButton_clicked"></a>
126 <h4>QtHelpFiltersDialog.on_removeButton_clicked</h4> 126 <h4>QtHelpFiltersDialog.on_removeButton_clicked</h4>
127 <b>on_removeButton_clicked</b>(<i></i>) 127 <b>on_removeButton_clicked</b>(<i></i>)
128 <p> 128 <p>
129 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#114;&#101;&#109;&#111;v&#101; &#97; &#102;&#105;&#108;&#116;&#101;&#114;. 129 Private slot to remove a filter.
130 </p> 130 </p>
131 <div align="right"><a href="#top">Up</a></div> 131 <div align="right"><a href="#top">Up</a></div>
132 <hr /> 132 <hr />
133 </body></html> 133 </body></html>

eric ide

mercurial