Documentation/Source/eric5.Helpviewer.Bookmarks.AddBookmarkDialog.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.Bookmarks.AddBookmarkDialog</h1> 23 <h1>eric5.Helpviewer.Bookmarks.AddBookmarkDialog</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; &#97;&#100;&#100; &#97; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; &#111;&#114; &#97; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; &#102;&#111;&#108;&#100;&#101;&#114;. 25 Module implementing a dialog to add a bookmark or a bookmark folder.
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="#AddBookmarkDialog">AddBookmarkDialog</a></td> 34 <td><a href="#AddBookmarkDialog">AddBookmarkDialog</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; &#97;&#100;&#100; &#97; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; &#111;&#114; &#97; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; &#102;&#111;&#108;&#100;&#101;&#114;.</td> 35 <td>Class implementing a dialog to add a bookmark or a bookmark folder.</td>
36 </tr><tr> 36 </tr><tr>
37 <td><a href="#AddBookmarkProxyModel">AddBookmarkProxyModel</a></td> 37 <td><a href="#AddBookmarkProxyModel">AddBookmarkProxyModel</a></td>
38 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#112;&#114;&#111;xy &#109;&#111;&#100;&#101;&#108; &#117;&#115;&#101;&#100; &#98;y &#116;&#104;&#101; &#65;&#100;&#100;&#66;&#111;&#111;&#107;&#109;&#97;&#114;&#107;&#68;&#105;&#97;&#108;&#111;&#103; &#100;&#105;&#97;&#108;&#111;&#103;.</td> 38 <td>Class implementing a proxy model used by the AddBookmarkDialog dialog.</td>
39 </tr> 39 </tr>
40 </table> 40 </table>
41 <h3>Functions</h3> 41 <h3>Functions</h3>
42 <table> 42 <table>
43 <tr><td>None</td></tr> 43 <tr><td>None</td></tr>
44 </table> 44 </table>
45 <hr /><hr /> 45 <hr /><hr />
46 <a NAME="AddBookmarkDialog" ID="AddBookmarkDialog"></a> 46 <a NAME="AddBookmarkDialog" ID="AddBookmarkDialog"></a>
47 <h2>AddBookmarkDialog</h2> 47 <h2>AddBookmarkDialog</h2>
48 <p> 48 <p>
49 &#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; &#97;&#100;&#100; &#97; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; &#111;&#114; &#97; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; &#102;&#111;&#108;&#100;&#101;&#114;. 49 Class implementing a dialog to add a bookmark or a bookmark folder.
50 </p> 50 </p>
51 <h3>Derived from</h3> 51 <h3>Derived from</h3>
52 QDialog, Ui_AddBookmarkDialog 52 QDialog, Ui_AddBookmarkDialog
53 <h3>Class Attributes</h3> 53 <h3>Class Attributes</h3>
54 <table> 54 <table>
56 </table> 56 </table>
57 <h3>Methods</h3> 57 <h3>Methods</h3>
58 <table> 58 <table>
59 <tr> 59 <tr>
60 <td><a href="#AddBookmarkDialog.__init__">AddBookmarkDialog</a></td> 60 <td><a href="#AddBookmarkDialog.__init__">AddBookmarkDialog</a></td>
61 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 61 <td>Constructor</td>
62 </tr><tr> 62 </tr><tr>
63 <td><a href="#AddBookmarkDialog.accept">accept</a></td> 63 <td><a href="#AddBookmarkDialog.accept">accept</a></td>
64 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#116;&#104;&#101; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#110;&#99;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103;.</td> 64 <td>Public slot handling the acceptance of the dialog.</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#AddBookmarkDialog.addedNode">addedNode</a></td> 66 <td><a href="#AddBookmarkDialog.addedNode">addedNode</a></td>
67 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#97;&#100;&#100;&#101;&#100; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; &#110;&#111;&#100;&#101;.</td> 67 <td>Public method to get a reference to the added bookmark node.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#AddBookmarkDialog.currentIndex">currentIndex</a></td> 69 <td><a href="#AddBookmarkDialog.currentIndex">currentIndex</a></td>
70 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x.</td> 70 <td>Public method to get the current index.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#AddBookmarkDialog.isFolder">isFolder</a></td> 72 <td><a href="#AddBookmarkDialog.isFolder">isFolder</a></td>
73 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#116;&#101;&#115;&#116;, &#105;&#102; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; &#105;&#115; &#105;&#110; "&#65;&#100;&#100; &#70;&#111;&#108;&#100;&#101;&#114;" &#109;&#111;&#100;&#101;.</td> 73 <td>Public method to test, if the dialog is in "Add Folder" mode.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#AddBookmarkDialog.setCurrentIndex">setCurrentIndex</a></td> 75 <td><a href="#AddBookmarkDialog.setCurrentIndex">setCurrentIndex</a></td>
76 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x.</td> 76 <td>Public method to set the current index.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#AddBookmarkDialog.setFolder">setFolder</a></td> 78 <td><a href="#AddBookmarkDialog.setFolder">setFolder</a></td>
79 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; "&#65;&#100;&#100; &#70;&#111;&#108;&#100;&#101;&#114;" &#109;&#111;&#100;&#101;.</td> 79 <td>Public method to set the dialog to "Add Folder" mode.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#AddBookmarkDialog.setTitle">setTitle</a></td> 81 <td><a href="#AddBookmarkDialog.setTitle">setTitle</a></td>
82 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#116;&#105;&#116;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#110;&#101;w &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107;.</td> 82 <td>Public method to set the title of the new bookmark.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#AddBookmarkDialog.setUrl">setUrl</a></td> 84 <td><a href="#AddBookmarkDialog.setUrl">setUrl</a></td>
85 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#110;&#101;w &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107;.</td> 85 <td>Public slot to set the URL of the new bookmark.</td>
86 </tr><tr> 86 </tr><tr>
87 <td><a href="#AddBookmarkDialog.title">title</a></td> 87 <td><a href="#AddBookmarkDialog.title">title</a></td>
88 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#116;&#105;&#116;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107;.</td> 88 <td>Public method to get the title of the bookmark.</td>
89 </tr><tr> 89 </tr><tr>
90 <td><a href="#AddBookmarkDialog.url">url</a></td> 90 <td><a href="#AddBookmarkDialog.url">url</a></td>
91 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107;.</td> 91 <td>Public method to get the URL of the bookmark.</td>
92 </tr> 92 </tr>
93 </table> 93 </table>
94 <a NAME="AddBookmarkDialog.__init__" ID="AddBookmarkDialog.__init__"></a> 94 <a NAME="AddBookmarkDialog.__init__" ID="AddBookmarkDialog.__init__"></a>
95 <h4>AddBookmarkDialog (Constructor)</h4> 95 <h4>AddBookmarkDialog (Constructor)</h4>
96 <b>AddBookmarkDialog</b>(<i>parent = None, bookmarksManager = None</i>) 96 <b>AddBookmarkDialog</b>(<i>parent = None, bookmarksManager = None</i>)
97 <p> 97 <p>
98 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 98 Constructor
99 </p><dl> 99 </p><dl>
100 <dt><i>parent</i></dt> 100 <dt><i>parent</i></dt>
101 <dd> 101 <dd>
102 &#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;) 102 reference to the parent widget (QWidget)
103 </dd><dt><i>bookmarksManager</i></dt> 103 </dd><dt><i>bookmarksManager</i></dt>
104 <dd> 104 <dd>
105 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107;&#115; &#109;&#97;&#110;&#97;&#103;&#101;&#114; 105 reference to the bookmarks manager
106 &#111;&#98;&#106;&#101;&#99;&#116; (&#66;&#111;&#111;&#107;&#109;&#97;&#114;&#107;&#115;&#77;&#97;&#110;&#97;&#103;&#101;&#114;) 106 object (BookmarksManager)
107 </dd> 107 </dd>
108 </dl><a NAME="AddBookmarkDialog.accept" ID="AddBookmarkDialog.accept"></a> 108 </dl><a NAME="AddBookmarkDialog.accept" ID="AddBookmarkDialog.accept"></a>
109 <h4>AddBookmarkDialog.accept</h4> 109 <h4>AddBookmarkDialog.accept</h4>
110 <b>accept</b>(<i></i>) 110 <b>accept</b>(<i></i>)
111 <p> 111 <p>
112 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#104;&#97;&#110;&#100;&#108;&#105;&#110;&#103; &#116;&#104;&#101; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#110;&#99;&#101; &#111;&#102; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103;. 112 Public slot handling the acceptance of the dialog.
113 </p><a NAME="AddBookmarkDialog.addedNode" ID="AddBookmarkDialog.addedNode"></a> 113 </p><a NAME="AddBookmarkDialog.addedNode" ID="AddBookmarkDialog.addedNode"></a>
114 <h4>AddBookmarkDialog.addedNode</h4> 114 <h4>AddBookmarkDialog.addedNode</h4>
115 <b>addedNode</b>(<i></i>) 115 <b>addedNode</b>(<i></i>)
116 <p> 116 <p>
117 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#97;&#100;&#100;&#101;&#100; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; &#110;&#111;&#100;&#101;. 117 Public method to get a reference to the added bookmark node.
118 </p><dl> 118 </p><dl>
119 <dt>Returns:</dt> 119 <dt>Returns:</dt>
120 <dd> 120 <dd>
121 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#97;&#100;&#100;&#101;&#100; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; &#110;&#111;&#100;&#101; (&#66;&#111;&#111;&#107;&#109;&#97;&#114;&#107;&#78;&#111;&#100;&#101;) 121 reference to the added bookmark node (BookmarkNode)
122 </dd> 122 </dd>
123 </dl><a NAME="AddBookmarkDialog.currentIndex" ID="AddBookmarkDialog.currentIndex"></a> 123 </dl><a NAME="AddBookmarkDialog.currentIndex" ID="AddBookmarkDialog.currentIndex"></a>
124 <h4>AddBookmarkDialog.currentIndex</h4> 124 <h4>AddBookmarkDialog.currentIndex</h4>
125 <b>currentIndex</b>(<i></i>) 125 <b>currentIndex</b>(<i></i>)
126 <p> 126 <p>
127 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x. 127 Public method to get the current index.
128 </p><dl> 128 </p><dl>
129 <dt>Returns:</dt> 129 <dt>Returns:</dt>
130 <dd> 130 <dd>
131 &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 131 current index (QModelIndex)
132 </dd> 132 </dd>
133 </dl><a NAME="AddBookmarkDialog.isFolder" ID="AddBookmarkDialog.isFolder"></a> 133 </dl><a NAME="AddBookmarkDialog.isFolder" ID="AddBookmarkDialog.isFolder"></a>
134 <h4>AddBookmarkDialog.isFolder</h4> 134 <h4>AddBookmarkDialog.isFolder</h4>
135 <b>isFolder</b>(<i></i>) 135 <b>isFolder</b>(<i></i>)
136 <p> 136 <p>
137 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#116;&#101;&#115;&#116;, &#105;&#102; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; &#105;&#115; &#105;&#110; "&#65;&#100;&#100; &#70;&#111;&#108;&#100;&#101;&#114;" &#109;&#111;&#100;&#101;. 137 Public method to test, if the dialog is in "Add Folder" mode.
138 </p><dl> 138 </p><dl>
139 <dt>Returns:</dt> 139 <dt>Returns:</dt>
140 <dd> 140 <dd>
141 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; "&#65;&#100;&#100; &#70;&#111;&#108;&#100;&#101;&#114;" &#109;&#111;&#100;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 141 flag indicating "Add Folder" mode (boolean)
142 </dd> 142 </dd>
143 </dl><a NAME="AddBookmarkDialog.setCurrentIndex" ID="AddBookmarkDialog.setCurrentIndex"></a> 143 </dl><a NAME="AddBookmarkDialog.setCurrentIndex" ID="AddBookmarkDialog.setCurrentIndex"></a>
144 <h4>AddBookmarkDialog.setCurrentIndex</h4> 144 <h4>AddBookmarkDialog.setCurrentIndex</h4>
145 <b>setCurrentIndex</b>(<i>idx</i>) 145 <b>setCurrentIndex</b>(<i>idx</i>)
146 <p> 146 <p>
147 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x. 147 Public method to set the current index.
148 </p><dl> 148 </p><dl>
149 <dt><i>idx</i></dt> 149 <dt><i>idx</i></dt>
150 <dd> 150 <dd>
151 &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#110;&#100;&#101;x &#116;&#111; &#98;&#101; &#115;&#101;&#116; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 151 current index to be set (QModelIndex)
152 </dd> 152 </dd>
153 </dl><a NAME="AddBookmarkDialog.setFolder" ID="AddBookmarkDialog.setFolder"></a> 153 </dl><a NAME="AddBookmarkDialog.setFolder" ID="AddBookmarkDialog.setFolder"></a>
154 <h4>AddBookmarkDialog.setFolder</h4> 154 <h4>AddBookmarkDialog.setFolder</h4>
155 <b>setFolder</b>(<i>folder</i>) 155 <b>setFolder</b>(<i>folder</i>)
156 <p> 156 <p>
157 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#100;&#105;&#97;&#108;&#111;&#103; &#116;&#111; "&#65;&#100;&#100; &#70;&#111;&#108;&#100;&#101;&#114;" &#109;&#111;&#100;&#101;. 157 Public method to set the dialog to "Add Folder" mode.
158 </p><dl> 158 </p><dl>
159 <dt><i>folder</i></dt> 159 <dt><i>folder</i></dt>
160 <dd> 160 <dd>
161 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; "&#65;&#100;&#100; &#70;&#111;&#108;&#100;&#101;&#114;" &#109;&#111;&#100;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 161 flag indicating "Add Folder" mode (boolean)
162 </dd> 162 </dd>
163 </dl><a NAME="AddBookmarkDialog.setTitle" ID="AddBookmarkDialog.setTitle"></a> 163 </dl><a NAME="AddBookmarkDialog.setTitle" ID="AddBookmarkDialog.setTitle"></a>
164 <h4>AddBookmarkDialog.setTitle</h4> 164 <h4>AddBookmarkDialog.setTitle</h4>
165 <b>setTitle</b>(<i>title</i>) 165 <b>setTitle</b>(<i>title</i>)
166 <p> 166 <p>
167 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#116;&#105;&#116;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#110;&#101;w &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107;. 167 Public method to set the title of the new bookmark.
168 </p><dl> 168 </p><dl>
169 <dt><i>title</i></dt> 169 <dt><i>title</i></dt>
170 <dd> 170 <dd>
171 &#116;&#105;&#116;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; (&#115;&#116;&#114;&#105;&#110;&#103;) 171 title of the bookmark (string)
172 </dd> 172 </dd>
173 </dl><a NAME="AddBookmarkDialog.setUrl" ID="AddBookmarkDialog.setUrl"></a> 173 </dl><a NAME="AddBookmarkDialog.setUrl" ID="AddBookmarkDialog.setUrl"></a>
174 <h4>AddBookmarkDialog.setUrl</h4> 174 <h4>AddBookmarkDialog.setUrl</h4>
175 <b>setUrl</b>(<i>url</i>) 175 <b>setUrl</b>(<i>url</i>)
176 <p> 176 <p>
177 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#101;&#116; &#116;&#104;&#101; &#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#110;&#101;w &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107;. 177 Public slot to set the URL of the new bookmark.
178 </p><dl> 178 </p><dl>
179 <dt><i>url</i></dt> 179 <dt><i>url</i></dt>
180 <dd> 180 <dd>
181 &#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; (&#115;&#116;&#114;&#105;&#110;&#103;) 181 URL of the bookmark (string)
182 </dd> 182 </dd>
183 </dl><a NAME="AddBookmarkDialog.title" ID="AddBookmarkDialog.title"></a> 183 </dl><a NAME="AddBookmarkDialog.title" ID="AddBookmarkDialog.title"></a>
184 <h4>AddBookmarkDialog.title</h4> 184 <h4>AddBookmarkDialog.title</h4>
185 <b>title</b>(<i></i>) 185 <b>title</b>(<i></i>)
186 <p> 186 <p>
187 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#116;&#105;&#116;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107;. 187 Public method to get the title of the bookmark.
188 </p><dl> 188 </p><dl>
189 <dt>Returns:</dt> 189 <dt>Returns:</dt>
190 <dd> 190 <dd>
191 &#116;&#105;&#116;&#108;&#101; &#111;&#102; &#116;&#104;&#101; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; (&#115;&#116;&#114;&#105;&#110;&#103;) 191 title of the bookmark (string)
192 </dd> 192 </dd>
193 </dl><a NAME="AddBookmarkDialog.url" ID="AddBookmarkDialog.url"></a> 193 </dl><a NAME="AddBookmarkDialog.url" ID="AddBookmarkDialog.url"></a>
194 <h4>AddBookmarkDialog.url</h4> 194 <h4>AddBookmarkDialog.url</h4>
195 <b>url</b>(<i></i>) 195 <b>url</b>(<i></i>)
196 <p> 196 <p>
197 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#116; &#116;&#104;&#101; &#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107;. 197 Public method to get the URL of the bookmark.
198 </p><dl> 198 </p><dl>
199 <dt>Returns:</dt> 199 <dt>Returns:</dt>
200 <dd> 200 <dd>
201 &#85;&#82;&#76; &#111;&#102; &#116;&#104;&#101; &#98;&#111;&#111;&#107;&#109;&#97;&#114;&#107; (&#115;&#116;&#114;&#105;&#110;&#103;) 201 URL of the bookmark (string)
202 </dd> 202 </dd>
203 </dl> 203 </dl>
204 <div align="right"><a href="#top">Up</a></div> 204 <div align="right"><a href="#top">Up</a></div>
205 <hr /><hr /> 205 <hr /><hr />
206 <a NAME="AddBookmarkProxyModel" ID="AddBookmarkProxyModel"></a> 206 <a NAME="AddBookmarkProxyModel" ID="AddBookmarkProxyModel"></a>
207 <h2>AddBookmarkProxyModel</h2> 207 <h2>AddBookmarkProxyModel</h2>
208 <p> 208 <p>
209 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#97; &#112;&#114;&#111;xy &#109;&#111;&#100;&#101;&#108; &#117;&#115;&#101;&#100; &#98;y &#116;&#104;&#101; &#65;&#100;&#100;&#66;&#111;&#111;&#107;&#109;&#97;&#114;&#107;&#68;&#105;&#97;&#108;&#111;&#103; &#100;&#105;&#97;&#108;&#111;&#103;. 209 Class implementing a proxy model used by the AddBookmarkDialog dialog.
210 </p> 210 </p>
211 <h3>Derived from</h3> 211 <h3>Derived from</h3>
212 QSortFilterProxyModel 212 QSortFilterProxyModel
213 <h3>Class Attributes</h3> 213 <h3>Class Attributes</h3>
214 <table> 214 <table>
216 </table> 216 </table>
217 <h3>Methods</h3> 217 <h3>Methods</h3>
218 <table> 218 <table>
219 <tr> 219 <tr>
220 <td><a href="#AddBookmarkProxyModel.__init__">AddBookmarkProxyModel</a></td> 220 <td><a href="#AddBookmarkProxyModel.__init__">AddBookmarkProxyModel</a></td>
221 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 221 <td>Constructor</td>
222 </tr><tr> 222 </tr><tr>
223 <td><a href="#AddBookmarkProxyModel.columnCount">columnCount</a></td> 223 <td><a href="#AddBookmarkProxyModel.columnCount">columnCount</a></td>
224 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115;.</td> 224 <td>Public method to return the number of columns.</td>
225 </tr><tr> 225 </tr><tr>
226 <td><a href="#AddBookmarkProxyModel.filterAcceptsColumn">filterAcceptsColumn</a></td> 226 <td><a href="#AddBookmarkProxyModel.filterAcceptsColumn">filterAcceptsColumn</a></td>
227 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, &#105;&#102; &#116;&#104;&#101; &#99;&#111;&#108;&#117;&#109;&#110; &#105;&#115; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101;.</td> 227 <td>Protected method to determine, if the column is acceptable.</td>
228 </tr><tr> 228 </tr><tr>
229 <td><a href="#AddBookmarkProxyModel.filterAcceptsRow">filterAcceptsRow</a></td> 229 <td><a href="#AddBookmarkProxyModel.filterAcceptsRow">filterAcceptsRow</a></td>
230 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, &#105;&#102; &#116;&#104;&#101; &#114;&#111;w &#105;&#115; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101;.</td> 230 <td>Protected method to determine, if the row is acceptable.</td>
231 </tr><tr> 231 </tr><tr>
232 <td><a href="#AddBookmarkProxyModel.hasChildren">hasChildren</a></td> 232 <td><a href="#AddBookmarkProxyModel.hasChildren">hasChildren</a></td>
233 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#112;&#97;&#114;&#101;&#110;&#116; &#110;&#111;&#100;&#101; &#104;&#97;&#115; &#115;&#111;&#109;&#101; &#99;&#104;&#105;&#108;&#100;&#114;&#101;&#110;.</td> 233 <td>Public method to check, if a parent node has some children.</td>
234 </tr> 234 </tr>
235 </table> 235 </table>
236 <a NAME="AddBookmarkProxyModel.__init__" ID="AddBookmarkProxyModel.__init__"></a> 236 <a NAME="AddBookmarkProxyModel.__init__" ID="AddBookmarkProxyModel.__init__"></a>
237 <h4>AddBookmarkProxyModel (Constructor)</h4> 237 <h4>AddBookmarkProxyModel (Constructor)</h4>
238 <b>AddBookmarkProxyModel</b>(<i>parent = None</i>) 238 <b>AddBookmarkProxyModel</b>(<i>parent = None</i>)
239 <p> 239 <p>
240 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 240 Constructor
241 </p><dl> 241 </p><dl>
242 <dt><i>parent</i></dt> 242 <dt><i>parent</i></dt>
243 <dd> 243 <dd>
244 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#111;&#98;&#106;&#101;&#99;&#116; (&#81;&#79;&#98;&#106;&#101;&#99;&#116;) 244 reference to the parent object (QObject)
245 </dd> 245 </dd>
246 </dl><a NAME="AddBookmarkProxyModel.columnCount" ID="AddBookmarkProxyModel.columnCount"></a> 246 </dl><a NAME="AddBookmarkProxyModel.columnCount" ID="AddBookmarkProxyModel.columnCount"></a>
247 <h4>AddBookmarkProxyModel.columnCount</h4> 247 <h4>AddBookmarkProxyModel.columnCount</h4>
248 <b>columnCount</b>(<i>parent</i>) 248 <b>columnCount</b>(<i>parent</i>)
249 <p> 249 <p>
250 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115;. 250 Public method to return the number of columns.
251 </p><dl> 251 </p><dl>
252 <dt><i>parent</i></dt> 252 <dt><i>parent</i></dt>
253 <dd> 253 <dd>
254 &#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 254 index of the parent (QModelIndex)
255 </dd> 255 </dd>
256 </dl><dl> 256 </dl><dl>
257 <dt>Returns:</dt> 257 <dt>Returns:</dt>
258 <dd> 258 <dd>
259 &#110;&#117;&#109;&#98;&#101;&#114; &#111;&#102; &#99;&#111;&#108;&#117;&#109;&#110;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 259 number of columns (integer)
260 </dd> 260 </dd>
261 </dl><a NAME="AddBookmarkProxyModel.filterAcceptsColumn" ID="AddBookmarkProxyModel.filterAcceptsColumn"></a> 261 </dl><a NAME="AddBookmarkProxyModel.filterAcceptsColumn" ID="AddBookmarkProxyModel.filterAcceptsColumn"></a>
262 <h4>AddBookmarkProxyModel.filterAcceptsColumn</h4> 262 <h4>AddBookmarkProxyModel.filterAcceptsColumn</h4>
263 <b>filterAcceptsColumn</b>(<i>sourceColumn, sourceParent</i>) 263 <b>filterAcceptsColumn</b>(<i>sourceColumn, sourceParent</i>)
264 <p> 264 <p>
265 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, &#105;&#102; &#116;&#104;&#101; &#99;&#111;&#108;&#117;&#109;&#110; &#105;&#115; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101;. 265 Protected method to determine, if the column is acceptable.
266 </p><dl> 266 </p><dl>
267 <dt><i>sourceColumn</i></dt> 267 <dt><i>sourceColumn</i></dt>
268 <dd> 268 <dd>
269 &#99;&#111;&#108;&#117;&#109;&#110; &#110;&#117;&#109;&#98;&#101;&#114; &#105;&#110; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 269 column number in the source model (integer)
270 </dd><dt><i>sourceParent</i></dt> 270 </dd><dt><i>sourceParent</i></dt>
271 <dd> 271 <dd>
272 &#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#105;&#116;&#101;&#109; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 272 index of the source item (QModelIndex)
273 </dd> 273 </dd>
274 </dl><dl> 274 </dl><dl>
275 <dt>Returns:</dt> 275 <dt>Returns:</dt>
276 <dd> 276 <dd>
277 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#110;&#99;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 277 flag indicating acceptance (boolean)
278 </dd> 278 </dd>
279 </dl><a NAME="AddBookmarkProxyModel.filterAcceptsRow" ID="AddBookmarkProxyModel.filterAcceptsRow"></a> 279 </dl><a NAME="AddBookmarkProxyModel.filterAcceptsRow" ID="AddBookmarkProxyModel.filterAcceptsRow"></a>
280 <h4>AddBookmarkProxyModel.filterAcceptsRow</h4> 280 <h4>AddBookmarkProxyModel.filterAcceptsRow</h4>
281 <b>filterAcceptsRow</b>(<i>sourceRow, sourceParent</i>) 281 <b>filterAcceptsRow</b>(<i>sourceRow, sourceParent</i>)
282 <p> 282 <p>
283 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#116;&#101;&#114;&#109;&#105;&#110;&#101;, &#105;&#102; &#116;&#104;&#101; &#114;&#111;w &#105;&#115; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#98;&#108;&#101;. 283 Protected method to determine, if the row is acceptable.
284 </p><dl> 284 </p><dl>
285 <dt><i>sourceRow</i></dt> 285 <dt><i>sourceRow</i></dt>
286 <dd> 286 <dd>
287 &#114;&#111;w &#110;&#117;&#109;&#98;&#101;&#114; &#105;&#110; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#109;&#111;&#100;&#101;&#108; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 287 row number in the source model (integer)
288 </dd><dt><i>sourceParent</i></dt> 288 </dd><dt><i>sourceParent</i></dt>
289 <dd> 289 <dd>
290 &#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#115;&#111;&#117;&#114;&#99;&#101; &#105;&#116;&#101;&#109; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 290 index of the source item (QModelIndex)
291 </dd> 291 </dd>
292 </dl><dl> 292 </dl><dl>
293 <dt>Returns:</dt> 293 <dt>Returns:</dt>
294 <dd> 294 <dd>
295 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#97;&#99;&#99;&#101;&#112;&#116;&#97;&#110;&#99;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 295 flag indicating acceptance (boolean)
296 </dd> 296 </dd>
297 </dl><a NAME="AddBookmarkProxyModel.hasChildren" ID="AddBookmarkProxyModel.hasChildren"></a> 297 </dl><a NAME="AddBookmarkProxyModel.hasChildren" ID="AddBookmarkProxyModel.hasChildren"></a>
298 <h4>AddBookmarkProxyModel.hasChildren</h4> 298 <h4>AddBookmarkProxyModel.hasChildren</h4>
299 <b>hasChildren</b>(<i>parent = QModelIndex()</i>) 299 <b>hasChildren</b>(<i>parent = QModelIndex()</i>)
300 <p> 300 <p>
301 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97; &#112;&#97;&#114;&#101;&#110;&#116; &#110;&#111;&#100;&#101; &#104;&#97;&#115; &#115;&#111;&#109;&#101; &#99;&#104;&#105;&#108;&#100;&#114;&#101;&#110;. 301 Public method to check, if a parent node has some children.
302 </p><dl> 302 </p><dl>
303 <dt><i>parent</i></dt> 303 <dt><i>parent</i></dt>
304 <dd> 304 <dd>
305 &#105;&#110;&#100;&#101;x &#111;&#102; &#116;&#104;&#101; &#112;&#97;&#114;&#101;&#110;&#116; &#110;&#111;&#100;&#101; (&#81;&#77;&#111;&#100;&#101;&#108;&#73;&#110;&#100;&#101;x) 305 index of the parent node (QModelIndex)
306 </dd> 306 </dd>
307 </dl><dl> 307 </dl><dl>
308 <dt>Returns:</dt> 308 <dt>Returns:</dt>
309 <dd> 309 <dd>
310 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#112;&#114;&#101;&#115;&#101;&#110;&#99;&#101; &#111;&#102; &#99;&#104;&#105;&#108;&#100;&#114;&#101;&#110; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 310 flag indicating the presence of children (boolean)
311 </dd> 311 </dd>
312 </dl> 312 </dl>
313 <div align="right"><a href="#top">Up</a></div> 313 <div align="right"><a href="#top">Up</a></div>
314 <hr /> 314 <hr />
315 </body></html> 315 </body></html>

eric ide

mercurial