Documentation/Source/eric5.Project.ProjectResourcesBrowser.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.Project.ProjectResourcesBrowser</h1> 23 <h1>eric5.Project.ProjectResourcesBrowser</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; &#99;&#108;&#97;&#115;&#115; &#117;&#115;&#101;&#100; &#116;&#111; &#100;&#105;&#115;&#112;&#108;&#97;y &#116;&#104;&#101; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115; &#112;&#97;&#114;&#116; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;. 25 Module implementing a class used to display the resources part of the project.
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="#ProjectResourcesBrowser">ProjectResourcesBrowser</a></td> 34 <td><a href="#ProjectResourcesBrowser">ProjectResourcesBrowser</a></td>
35 <td>&#65; &#99;&#108;&#97;&#115;&#115; &#117;&#115;&#101;&#100; &#116;&#111; &#100;&#105;&#115;&#112;&#108;&#97;y &#116;&#104;&#101; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115; &#112;&#97;&#114;&#116; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;.</td> 35 <td>A class used to display the resources part of the project.</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="ProjectResourcesBrowser" ID="ProjectResourcesBrowser"></a> 43 <a NAME="ProjectResourcesBrowser" ID="ProjectResourcesBrowser"></a>
44 <h2>ProjectResourcesBrowser</h2> 44 <h2>ProjectResourcesBrowser</h2>
45 <p> 45 <p>
46 &#65; &#99;&#108;&#97;&#115;&#115; &#117;&#115;&#101;&#100; &#116;&#111; &#100;&#105;&#115;&#112;&#108;&#97;y &#116;&#104;&#101; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115; &#112;&#97;&#114;&#116; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;. 46 A class used to display the resources part of the project.
47 </p><h4>Signals</h4> 47 </p><h4>Signals</h4>
48 <dl> 48 <dl>
49 <dt>appendStderr(string)</dt> 49 <dt>appendStderr(string)</dt>
50 <dd> 50 <dd>
51 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#115;&#111;&#109;&#101;&#116;&#104;&#105;&#110;&#103; w&#97;&#115; &#114;&#101;&#99;&#101;&#105;v&#101;&#100; &#102;&#114;&#111;&#109; 51 emitted after something was received from
52 &#97; &#81;&#80;&#114;&#111;&#99;&#101;&#115;&#115; &#111;&#110; &#115;&#116;&#100;&#101;&#114;&#114; 52 a QProcess on stderr
53 </dd><dt>closeSourceWindow(string)</dt> 53 </dd><dt>closeSourceWindow(string)</dt>
54 <dd> 54 <dd>
55 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#97; &#102;&#105;&#108;&#101; &#104;&#97;&#115; &#98;&#101;&#101;&#110; &#114;&#101;&#109;&#111;v&#101;&#100;/&#100;&#101;&#108;&#101;&#116;&#101;&#100; 55 emitted after a file has been removed/deleted
56 &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; 56 from the project
57 </dd><dt>showMenu(string, QMenu)</dt> 57 </dd><dt>showMenu(string, QMenu)</dt>
58 <dd> 58 <dd>
59 &#101;&#109;&#105;&#116;&#116;&#101;&#100; w&#104;&#101;&#110; &#97; &#109;&#101;&#110;&#117; &#105;&#115; &#97;&#98;&#111;&#117;&#116; &#116;&#111; &#98;&#101; &#115;&#104;&#111;w&#110;. &#84;&#104;&#101; &#110;&#97;&#109;&#101; 59 emitted when a menu is about to be shown. The name
60 &#111;&#102; &#116;&#104;&#101; &#109;&#101;&#110;&#117; &#97;&#110;&#100; &#97; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#109;&#101;&#110;&#117; &#97;&#114;&#101; &#103;&#105;v&#101;&#110;. 60 of the menu and a reference to the menu are given.
61 </dd><dt>sourceFile(string)</dt> 61 </dd><dt>sourceFile(string)</dt>
62 <dd> 62 <dd>
63 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#116;&#111; &#111;&#112;&#101;&#110; &#97; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115; &#102;&#105;&#108;&#101; &#105;&#110; &#97;&#110; &#101;&#100;&#105;&#116;&#111;&#114; 63 emitted to open a resources file in an editor
64 </dd> 64 </dd>
65 </dl> 65 </dl>
66 <h3>Derived from</h3> 66 <h3>Derived from</h3>
67 ProjectBaseBrowser 67 ProjectBaseBrowser
68 <h3>Class Attributes</h3> 68 <h3>Class Attributes</h3>
71 </table> 71 </table>
72 <h3>Methods</h3> 72 <h3>Methods</h3>
73 <table> 73 <table>
74 <tr> 74 <tr>
75 <td><a href="#ProjectResourcesBrowser.__init__">ProjectResourcesBrowser</a></td> 75 <td><a href="#ProjectResourcesBrowser.__init__">ProjectResourcesBrowser</a></td>
76 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 76 <td>Constructor</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#ProjectResourcesBrowser.__addResourceFiles">__addResourceFiles</a></td> 78 <td><a href="#ProjectResourcesBrowser.__addResourceFiles">__addResourceFiles</a></td>
79 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;&#115; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;.</td> 79 <td>Private method to add resource files to the project.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#ProjectResourcesBrowser.__addResourcesDirectory">__addResourcesDirectory</a></td> 81 <td><a href="#ProjectResourcesBrowser.__addResourcesDirectory">__addResourcesDirectory</a></td>
82 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;&#115; &#111;&#102; &#97; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;.</td> 82 <td>Private method to add resource files of a directory to the project.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#ProjectResourcesBrowser.__checkResourcesNewer">__checkResourcesNewer</a></td> 84 <td><a href="#ProjectResourcesBrowser.__checkResourcesNewer">__checkResourcesNewer</a></td>
85 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97;&#110;y &#102;&#105;&#108;&#101; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#100; &#105;&#110; &#97; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101; &#105;&#115; &#110;&#101;w&#101;&#114; &#116;&#104;&#97;&#110; &#97; &#103;&#105;v&#101;&#110; &#116;&#105;&#109;&#101;.</td> 85 <td>Private method to check, if any file referenced in a resource file is newer than a given time.</td>
86 </tr><tr> 86 </tr><tr>
87 <td><a href="#ProjectResourcesBrowser.__compileAllResources">__compileAllResources</a></td> 87 <td><a href="#ProjectResourcesBrowser.__compileAllResources">__compileAllResources</a></td>
88 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#97;&#108;&#108; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115; &#116;&#111; &#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;&#115;.</td> 88 <td>Private method to compile all resources to source files.</td>
89 </tr><tr> 89 </tr><tr>
90 <td><a href="#ProjectResourcesBrowser.__compileQRC">__compileQRC</a></td> 90 <td><a href="#ProjectResourcesBrowser.__compileQRC">__compileQRC</a></td>
91 <td>&#80;&#114;&#105;v&#97;&#116; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#97; .&#113;&#114;&#99; &#102;&#105;&#108;&#101; &#116;&#111; &#97; .&#112;y &#102;&#105;&#108;&#101;.</td> 91 <td>Privat method to compile a .qrc file to a .py file.</td>
92 </tr><tr> 92 </tr><tr>
93 <td><a href="#ProjectResourcesBrowser.__compileQRCDone">__compileQRCDone</a></td> 93 <td><a href="#ProjectResourcesBrowser.__compileQRCDone">__compileQRCDone</a></td>
94 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#102;&#105;&#110;&#105;&#115;&#104;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#112;&#114;&#111;&#99;&#101;&#115;&#115;.</td> 94 <td>Private slot to handle the finished signal of the compile process.</td>
95 </tr><tr> 95 </tr><tr>
96 <td><a href="#ProjectResourcesBrowser.__compileResource">__compileResource</a></td> 96 <td><a href="#ProjectResourcesBrowser.__compileResource">__compileResource</a></td>
97 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#97; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#116;&#111; &#97; &#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;.</td> 97 <td>Private method to compile a resource to a source file.</td>
98 </tr><tr> 98 </tr><tr>
99 <td><a href="#ProjectResourcesBrowser.__compileSelectedResources">__compileSelectedResources</a></td> 99 <td><a href="#ProjectResourcesBrowser.__compileSelectedResources">__compileSelectedResources</a></td>
100 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115; &#116;&#111; &#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;&#115;.</td> 100 <td>Private method to compile selected resources to source files.</td>
101 </tr><tr> 101 </tr><tr>
102 <td><a href="#ProjectResourcesBrowser.__deleteFile">__deleteFile</a></td> 102 <td><a href="#ProjectResourcesBrowser.__deleteFile">__deleteFile</a></td>
103 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#108;&#101;&#116;&#101; &#97; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;.</td> 103 <td>Private method to delete a resource file from the project.</td>
104 </tr><tr> 104 </tr><tr>
105 <td><a href="#ProjectResourcesBrowser.__newResource">__newResource</a></td> 105 <td><a href="#ProjectResourcesBrowser.__newResource">__newResource</a></td>
106 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#78;&#101;w &#82;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 106 <td>Private slot to handle the New Resource menu action.</td>
107 </tr><tr> 107 </tr><tr>
108 <td><a href="#ProjectResourcesBrowser.__openFile">__openFile</a></td> 108 <td><a href="#ProjectResourcesBrowser.__openFile">__openFile</a></td>
109 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#79;&#112;&#101;&#110; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 109 <td>Private slot to handle the Open menu action.</td>
110 </tr><tr> 110 </tr><tr>
111 <td><a href="#ProjectResourcesBrowser.__readStderr">__readStderr</a></td> 111 <td><a href="#ProjectResourcesBrowser.__readStderr">__readStderr</a></td>
112 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#97;&#100;y&#82;&#101;&#97;&#100;&#83;&#116;&#97;&#110;&#100;&#97;&#114;&#100;&#69;&#114;&#114;&#111;&#114; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#112;y&#114;&#99;&#99;&#52;/&#114;&#98;&#114;&#99;&#99; &#112;&#114;&#111;&#99;&#101;&#115;&#115;.</td> 112 <td>Private slot to handle the readyReadStandardError signal of the pyrcc4/rbrcc process.</td>
113 </tr><tr> 113 </tr><tr>
114 <td><a href="#ProjectResourcesBrowser.__readStdout">__readStdout</a></td> 114 <td><a href="#ProjectResourcesBrowser.__readStdout">__readStdout</a></td>
115 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#97;&#100;y&#82;&#101;&#97;&#100;&#83;&#116;&#97;&#110;&#100;&#97;&#114;&#100;&#79;&#117;&#116;&#112;&#117;&#116; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#112;y&#114;&#99;&#99;&#52;/&#114;&#98;&#114;&#99;&#99; &#112;&#114;&#111;&#99;&#101;&#115;&#115;.</td> 115 <td>Private slot to handle the readyReadStandardOutput signal of the pyrcc4/rbrcc process.</td>
116 </tr><tr> 116 </tr><tr>
117 <td><a href="#ProjectResourcesBrowser.__showContextMenu">__showContextMenu</a></td> 117 <td><a href="#ProjectResourcesBrowser.__showContextMenu">__showContextMenu</a></td>
118 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#116;&#104;&#101; &#109;&#101;&#110;&#117; &#97;&#98;&#111;&#117;&#116;&#84;&#111;&#83;&#104;&#111;w &#115;&#105;&#103;&#110;&#97;&#108;.</td> 118 <td>Private slot called by the menu aboutToShow signal.</td>
119 </tr><tr> 119 </tr><tr>
120 <td><a href="#ProjectResourcesBrowser.__showContextMenuBack">__showContextMenuBack</a></td> 120 <td><a href="#ProjectResourcesBrowser.__showContextMenuBack">__showContextMenuBack</a></td>
121 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#116;&#104;&#101; &#98;&#97;&#99;&#107;&#77;&#101;&#110;&#117; &#97;&#98;&#111;&#117;&#116;&#84;&#111;&#83;&#104;&#111;w &#115;&#105;&#103;&#110;&#97;&#108;.</td> 121 <td>Private slot called by the backMenu aboutToShow signal.</td>
122 </tr><tr> 122 </tr><tr>
123 <td><a href="#ProjectResourcesBrowser.__showContextMenuDir">__showContextMenuDir</a></td> 123 <td><a href="#ProjectResourcesBrowser.__showContextMenuDir">__showContextMenuDir</a></td>
124 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#116;&#104;&#101; &#100;&#105;&#114;&#77;&#101;&#110;&#117; &#97;&#98;&#111;&#117;&#116;&#84;&#111;&#83;&#104;&#111;w &#115;&#105;&#103;&#110;&#97;&#108;.</td> 124 <td>Private slot called by the dirMenu aboutToShow signal.</td>
125 </tr><tr> 125 </tr><tr>
126 <td><a href="#ProjectResourcesBrowser.__showContextMenuDirMulti">__showContextMenuDirMulti</a></td> 126 <td><a href="#ProjectResourcesBrowser.__showContextMenuDirMulti">__showContextMenuDirMulti</a></td>
127 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#116;&#104;&#101; &#100;&#105;&#114;&#77;&#117;&#108;&#116;&#105;&#77;&#101;&#110;&#117; &#97;&#98;&#111;&#117;&#116;&#84;&#111;&#83;&#104;&#111;w &#115;&#105;&#103;&#110;&#97;&#108;.</td> 127 <td>Private slot called by the dirMultiMenu aboutToShow signal.</td>
128 </tr><tr> 128 </tr><tr>
129 <td><a href="#ProjectResourcesBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td> 129 <td><a href="#ProjectResourcesBrowser.__showContextMenuMulti">__showContextMenuMulti</a></td>
130 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#116;&#104;&#101; &#109;&#117;&#108;&#116;&#105;&#77;&#101;&#110;&#117; &#97;&#98;&#111;&#117;&#116;&#84;&#111;&#83;&#104;&#111;w &#115;&#105;&#103;&#110;&#97;&#108;.</td> 130 <td>Private slot called by the multiMenu aboutToShow signal.</td>
131 </tr><tr> 131 </tr><tr>
132 <td><a href="#ProjectResourcesBrowser._contextMenuRequested">_contextMenuRequested</a></td> 132 <td><a href="#ProjectResourcesBrowser._contextMenuRequested">_contextMenuRequested</a></td>
133 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117;.</td> 133 <td>Protected slot to show the context menu.</td>
134 </tr><tr> 134 </tr><tr>
135 <td><a href="#ProjectResourcesBrowser._createPopupMenus">_createPopupMenus</a></td> 135 <td><a href="#ProjectResourcesBrowser._createPopupMenus">_createPopupMenus</a></td>
136 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#111;v&#101;&#114;&#108;&#111;&#97;&#100;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#116;&#104;&#101; &#112;&#111;&#112;&#117;&#112; &#109;&#101;&#110;&#117;.</td> 136 <td>Protected overloaded method to generate the popup menu.</td>
137 </tr><tr> 137 </tr><tr>
138 <td><a href="#ProjectResourcesBrowser._initHookMethods">_initHookMethods</a></td> 138 <td><a href="#ProjectResourcesBrowser._initHookMethods">_initHookMethods</a></td>
139 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#104;&#111;&#111;&#107;&#115; &#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y.</td> 139 <td>Protected method to initialize the hooks dictionary.</td>
140 </tr><tr> 140 </tr><tr>
141 <td><a href="#ProjectResourcesBrowser._openItem">_openItem</a></td> 141 <td><a href="#ProjectResourcesBrowser._openItem">_openItem</a></td>
142 <td>&#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#111;&#112;&#101;&#110; &#112;&#111;&#112;&#117;&#112; &#109;&#101;&#110;&#117; &#101;&#110;&#116;&#114;y.</td> 142 <td>Protected slot to handle the open popup menu entry.</td>
143 </tr><tr> 143 </tr><tr>
144 <td><a href="#ProjectResourcesBrowser.compileChangedResources">compileChangedResources</a></td> 144 <td><a href="#ProjectResourcesBrowser.compileChangedResources">compileChangedResources</a></td>
145 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#97;&#108;&#108; &#99;&#104;&#97;&#110;&#103;&#101;&#100; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115; &#116;&#111; &#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;&#115;.</td> 145 <td>Public method to compile all changed resources to source files.</td>
146 </tr><tr> 146 </tr><tr>
147 <td><a href="#ProjectResourcesBrowser.handlePreferencesChanged">handlePreferencesChanged</a></td> 147 <td><a href="#ProjectResourcesBrowser.handlePreferencesChanged">handlePreferencesChanged</a></td>
148 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#117;&#115;&#101;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#112;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108;.</td> 148 <td>Public slot used to handle the preferencesChanged signal.</td>
149 </tr> 149 </tr>
150 </table> 150 </table>
151 <a NAME="ProjectResourcesBrowser.__init__" ID="ProjectResourcesBrowser.__init__"></a> 151 <a NAME="ProjectResourcesBrowser.__init__" ID="ProjectResourcesBrowser.__init__"></a>
152 <h4>ProjectResourcesBrowser (Constructor)</h4> 152 <h4>ProjectResourcesBrowser (Constructor)</h4>
153 <b>ProjectResourcesBrowser</b>(<i>project, parent = None</i>) 153 <b>ProjectResourcesBrowser</b>(<i>project, parent = None</i>)
154 <p> 154 <p>
155 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 155 Constructor
156 </p><dl> 156 </p><dl>
157 <dt><i>project</i></dt> 157 <dt><i>project</i></dt>
158 <dd> 158 <dd>
159 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#111;&#98;&#106;&#101;&#99;&#116; 159 reference to the project object
160 </dd><dt><i>parent</i></dt> 160 </dd><dt><i>parent</i></dt>
161 <dd> 161 <dd>
162 &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; &#111;&#102; &#116;&#104;&#105;&#115; &#98;&#114;&#111;w&#115;&#101;&#114; (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 162 parent widget of this browser (QWidget)
163 </dd> 163 </dd>
164 </dl><a NAME="ProjectResourcesBrowser.__addResourceFiles" ID="ProjectResourcesBrowser.__addResourceFiles"></a> 164 </dl><a NAME="ProjectResourcesBrowser.__addResourceFiles" ID="ProjectResourcesBrowser.__addResourceFiles"></a>
165 <h4>ProjectResourcesBrowser.__addResourceFiles</h4> 165 <h4>ProjectResourcesBrowser.__addResourceFiles</h4>
166 <b>__addResourceFiles</b>(<i></i>) 166 <b>__addResourceFiles</b>(<i></i>)
167 <p> 167 <p>
168 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;&#115; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;. 168 Private method to add resource files to the project.
169 </p><a NAME="ProjectResourcesBrowser.__addResourcesDirectory" ID="ProjectResourcesBrowser.__addResourcesDirectory"></a> 169 </p><a NAME="ProjectResourcesBrowser.__addResourcesDirectory" ID="ProjectResourcesBrowser.__addResourcesDirectory"></a>
170 <h4>ProjectResourcesBrowser.__addResourcesDirectory</h4> 170 <h4>ProjectResourcesBrowser.__addResourcesDirectory</h4>
171 <b>__addResourcesDirectory</b>(<i></i>) 171 <b>__addResourcesDirectory</b>(<i></i>)
172 <p> 172 <p>
173 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#100;&#100; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;&#115; &#111;&#102; &#97; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;. 173 Private method to add resource files of a directory to the project.
174 </p><a NAME="ProjectResourcesBrowser.__checkResourcesNewer" ID="ProjectResourcesBrowser.__checkResourcesNewer"></a> 174 </p><a NAME="ProjectResourcesBrowser.__checkResourcesNewer" ID="ProjectResourcesBrowser.__checkResourcesNewer"></a>
175 <h4>ProjectResourcesBrowser.__checkResourcesNewer</h4> 175 <h4>ProjectResourcesBrowser.__checkResourcesNewer</h4>
176 <b>__checkResourcesNewer</b>(<i>filename, mtime</i>) 176 <b>__checkResourcesNewer</b>(<i>filename, mtime</i>)
177 <p> 177 <p>
178 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#104;&#101;&#99;&#107;, &#105;&#102; &#97;&#110;y &#102;&#105;&#108;&#101; &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#100; &#105;&#110; &#97; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101; 178 Private method to check, if any file referenced in a resource
179 &#102;&#105;&#108;&#101; &#105;&#115; &#110;&#101;w&#101;&#114; &#116;&#104;&#97;&#110; &#97; &#103;&#105;v&#101;&#110; &#116;&#105;&#109;&#101;. 179 file is newer than a given time.
180 </p><dl> 180 </p><dl>
181 <dt><i>filename</i></dt> 181 <dt><i>filename</i></dt>
182 <dd> 182 <dd>
183 &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 183 filename of the resource file (string)
184 </dd><dt><i>mtime</i></dt> 184 </dd><dt><i>mtime</i></dt>
185 <dd> 185 <dd>
186 &#109;&#111;&#100;&#105;&#102;&#105;&#99;&#97;&#116;&#105;&#111;&#110; &#116;&#105;&#109;&#101; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#97;&#103;&#97;&#105;&#110;&#115;&#116; 186 modification time to check against
187 </dd> 187 </dd>
188 </dl><dl> 188 </dl><dl>
189 <dt>Returns:</dt> 189 <dt>Returns:</dt>
190 <dd> 190 <dd>
191 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#111;&#109;&#101; &#102;&#105;&#108;&#101; &#105;&#115; &#110;&#101;w&#101;&#114; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 191 flag indicating some file is newer (boolean)
192 </dd> 192 </dd>
193 </dl><a NAME="ProjectResourcesBrowser.__compileAllResources" ID="ProjectResourcesBrowser.__compileAllResources"></a> 193 </dl><a NAME="ProjectResourcesBrowser.__compileAllResources" ID="ProjectResourcesBrowser.__compileAllResources"></a>
194 <h4>ProjectResourcesBrowser.__compileAllResources</h4> 194 <h4>ProjectResourcesBrowser.__compileAllResources</h4>
195 <b>__compileAllResources</b>(<i></i>) 195 <b>__compileAllResources</b>(<i></i>)
196 <p> 196 <p>
197 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#97;&#108;&#108; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115; &#116;&#111; &#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;&#115;. 197 Private method to compile all resources to source files.
198 </p><a NAME="ProjectResourcesBrowser.__compileQRC" ID="ProjectResourcesBrowser.__compileQRC"></a> 198 </p><a NAME="ProjectResourcesBrowser.__compileQRC" ID="ProjectResourcesBrowser.__compileQRC"></a>
199 <h4>ProjectResourcesBrowser.__compileQRC</h4> 199 <h4>ProjectResourcesBrowser.__compileQRC</h4>
200 <b>__compileQRC</b>(<i>fn, noDialog = False, progress = None</i>) 200 <b>__compileQRC</b>(<i>fn, noDialog = False, progress = None</i>)
201 <p> 201 <p>
202 &#80;&#114;&#105;v&#97;&#116; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#97; .&#113;&#114;&#99; &#102;&#105;&#108;&#101; &#116;&#111; &#97; .&#112;y &#102;&#105;&#108;&#101;. 202 Privat method to compile a .qrc file to a .py file.
203 </p><dl> 203 </p><dl>
204 <dt><i>fn</i></dt> 204 <dt><i>fn</i></dt>
205 <dd> 205 <dd>
206 &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; .&#117;&#105; &#102;&#105;&#108;&#101; &#116;&#111; &#98;&#101; &#99;&#111;&#109;&#112;&#105;&#108;&#101;&#100; 206 filename of the .ui file to be compiled
207 </dd><dt><i>noDialog</i></dt> 207 </dd><dt><i>noDialog</i></dt>
208 <dd> 208 <dd>
209 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#105;&#108;&#101;&#110;&#116; &#111;&#112;&#101;&#114;&#97;&#116;&#105;&#111;&#110;&#115; 209 flag indicating silent operations
210 </dd><dt><i>progress</i></dt> 210 </dd><dt><i>progress</i></dt>
211 <dd> 211 <dd>
212 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#103;&#114;&#101;&#115;&#115; &#100;&#105;&#97;&#108;&#111;&#103; 212 reference to the progress dialog
213 </dd> 213 </dd>
214 </dl><dl> 214 </dl><dl>
215 <dt>Returns:</dt> 215 <dt>Returns:</dt>
216 <dd> 216 <dd>
217 &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101; &#116;&#111; &#116;&#104;&#101; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#112;&#114;&#111;&#99;&#101;&#115;&#115; (&#81;&#80;&#114;&#111;&#99;&#101;&#115;&#115;) 217 reference to the compile process (QProcess)
218 </dd> 218 </dd>
219 </dl><a NAME="ProjectResourcesBrowser.__compileQRCDone" ID="ProjectResourcesBrowser.__compileQRCDone"></a> 219 </dl><a NAME="ProjectResourcesBrowser.__compileQRCDone" ID="ProjectResourcesBrowser.__compileQRCDone"></a>
220 <h4>ProjectResourcesBrowser.__compileQRCDone</h4> 220 <h4>ProjectResourcesBrowser.__compileQRCDone</h4>
221 <b>__compileQRCDone</b>(<i>exitCode, exitStatus</i>) 221 <b>__compileQRCDone</b>(<i>exitCode, exitStatus</i>)
222 <p> 222 <p>
223 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#102;&#105;&#110;&#105;&#115;&#104;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#112;&#114;&#111;&#99;&#101;&#115;&#115;. 223 Private slot to handle the finished signal of the compile process.
224 </p><dl> 224 </p><dl>
225 <dt><i>exitCode</i></dt> 225 <dt><i>exitCode</i></dt>
226 <dd> 226 <dd>
227 &#101;x&#105;&#116; &#99;&#111;&#100;&#101; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#99;&#101;&#115;&#115; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 227 exit code of the process (integer)
228 </dd><dt><i>exitStatus</i></dt> 228 </dd><dt><i>exitStatus</i></dt>
229 <dd> 229 <dd>
230 &#101;x&#105;&#116; &#115;&#116;&#97;&#116;&#117;&#115; &#111;&#102; &#116;&#104;&#101; &#112;&#114;&#111;&#99;&#101;&#115;&#115; (&#81;&#80;&#114;&#111;&#99;&#101;&#115;&#115;.&#69;x&#105;&#116;&#83;&#116;&#97;&#116;&#117;&#115;) 230 exit status of the process (QProcess.ExitStatus)
231 </dd> 231 </dd>
232 </dl><a NAME="ProjectResourcesBrowser.__compileResource" ID="ProjectResourcesBrowser.__compileResource"></a> 232 </dl><a NAME="ProjectResourcesBrowser.__compileResource" ID="ProjectResourcesBrowser.__compileResource"></a>
233 <h4>ProjectResourcesBrowser.__compileResource</h4> 233 <h4>ProjectResourcesBrowser.__compileResource</h4>
234 <b>__compileResource</b>(<i></i>) 234 <b>__compileResource</b>(<i></i>)
235 <p> 235 <p>
236 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#97; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#116;&#111; &#97; &#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;. 236 Private method to compile a resource to a source file.
237 </p><a NAME="ProjectResourcesBrowser.__compileSelectedResources" ID="ProjectResourcesBrowser.__compileSelectedResources"></a> 237 </p><a NAME="ProjectResourcesBrowser.__compileSelectedResources" ID="ProjectResourcesBrowser.__compileSelectedResources"></a>
238 <h4>ProjectResourcesBrowser.__compileSelectedResources</h4> 238 <h4>ProjectResourcesBrowser.__compileSelectedResources</h4>
239 <b>__compileSelectedResources</b>(<i></i>) 239 <b>__compileSelectedResources</b>(<i></i>)
240 <p> 240 <p>
241 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#115;&#101;&#108;&#101;&#99;&#116;&#101;&#100; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115; &#116;&#111; &#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;&#115;. 241 Private method to compile selected resources to source files.
242 </p><a NAME="ProjectResourcesBrowser.__deleteFile" ID="ProjectResourcesBrowser.__deleteFile"></a> 242 </p><a NAME="ProjectResourcesBrowser.__deleteFile" ID="ProjectResourcesBrowser.__deleteFile"></a>
243 <h4>ProjectResourcesBrowser.__deleteFile</h4> 243 <h4>ProjectResourcesBrowser.__deleteFile</h4>
244 <b>__deleteFile</b>(<i></i>) 244 <b>__deleteFile</b>(<i></i>)
245 <p> 245 <p>
246 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#108;&#101;&#116;&#101; &#97; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101; &#102;&#114;&#111;&#109; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116;. 246 Private method to delete a resource file from the project.
247 </p><a NAME="ProjectResourcesBrowser.__newResource" ID="ProjectResourcesBrowser.__newResource"></a> 247 </p><a NAME="ProjectResourcesBrowser.__newResource" ID="ProjectResourcesBrowser.__newResource"></a>
248 <h4>ProjectResourcesBrowser.__newResource</h4> 248 <h4>ProjectResourcesBrowser.__newResource</h4>
249 <b>__newResource</b>(<i></i>) 249 <b>__newResource</b>(<i></i>)
250 <p> 250 <p>
251 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#78;&#101;w &#82;&#101;&#115;&#111;&#117;&#114;&#99;&#101; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 251 Private slot to handle the New Resource menu action.
252 </p><a NAME="ProjectResourcesBrowser.__openFile" ID="ProjectResourcesBrowser.__openFile"></a> 252 </p><a NAME="ProjectResourcesBrowser.__openFile" ID="ProjectResourcesBrowser.__openFile"></a>
253 <h4>ProjectResourcesBrowser.__openFile</h4> 253 <h4>ProjectResourcesBrowser.__openFile</h4>
254 <b>__openFile</b>(<i></i>) 254 <b>__openFile</b>(<i></i>)
255 <p> 255 <p>
256 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#79;&#112;&#101;&#110; &#109;&#101;&#110;&#117; &#97;&#99;&#116;&#105;&#111;&#110;. 256 Private slot to handle the Open menu action.
257 </p><a NAME="ProjectResourcesBrowser.__readStderr" ID="ProjectResourcesBrowser.__readStderr"></a> 257 </p><a NAME="ProjectResourcesBrowser.__readStderr" ID="ProjectResourcesBrowser.__readStderr"></a>
258 <h4>ProjectResourcesBrowser.__readStderr</h4> 258 <h4>ProjectResourcesBrowser.__readStderr</h4>
259 <b>__readStderr</b>(<i></i>) 259 <b>__readStderr</b>(<i></i>)
260 <p> 260 <p>
261 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#97;&#100;y&#82;&#101;&#97;&#100;&#83;&#116;&#97;&#110;&#100;&#97;&#114;&#100;&#69;&#114;&#114;&#111;&#114; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; 261 Private slot to handle the readyReadStandardError signal of the
262 &#112;y&#114;&#99;&#99;&#52;/&#114;&#98;&#114;&#99;&#99; &#112;&#114;&#111;&#99;&#101;&#115;&#115;. 262 pyrcc4/rbrcc process.
263 </p><a NAME="ProjectResourcesBrowser.__readStdout" ID="ProjectResourcesBrowser.__readStdout"></a> 263 </p><a NAME="ProjectResourcesBrowser.__readStdout" ID="ProjectResourcesBrowser.__readStdout"></a>
264 <h4>ProjectResourcesBrowser.__readStdout</h4> 264 <h4>ProjectResourcesBrowser.__readStdout</h4>
265 <b>__readStdout</b>(<i></i>) 265 <b>__readStdout</b>(<i></i>)
266 <p> 266 <p>
267 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#114;&#101;&#97;&#100;y&#82;&#101;&#97;&#100;&#83;&#116;&#97;&#110;&#100;&#97;&#114;&#100;&#79;&#117;&#116;&#112;&#117;&#116; &#115;&#105;&#103;&#110;&#97;&#108; &#111;&#102; &#116;&#104;&#101; 267 Private slot to handle the readyReadStandardOutput signal of the
268 &#112;y&#114;&#99;&#99;&#52;/&#114;&#98;&#114;&#99;&#99; &#112;&#114;&#111;&#99;&#101;&#115;&#115;. 268 pyrcc4/rbrcc process.
269 </p><a NAME="ProjectResourcesBrowser.__showContextMenu" ID="ProjectResourcesBrowser.__showContextMenu"></a> 269 </p><a NAME="ProjectResourcesBrowser.__showContextMenu" ID="ProjectResourcesBrowser.__showContextMenu"></a>
270 <h4>ProjectResourcesBrowser.__showContextMenu</h4> 270 <h4>ProjectResourcesBrowser.__showContextMenu</h4>
271 <b>__showContextMenu</b>(<i></i>) 271 <b>__showContextMenu</b>(<i></i>)
272 <p> 272 <p>
273 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#116;&#104;&#101; &#109;&#101;&#110;&#117; &#97;&#98;&#111;&#117;&#116;&#84;&#111;&#83;&#104;&#111;w &#115;&#105;&#103;&#110;&#97;&#108;. 273 Private slot called by the menu aboutToShow signal.
274 </p><a NAME="ProjectResourcesBrowser.__showContextMenuBack" ID="ProjectResourcesBrowser.__showContextMenuBack"></a> 274 </p><a NAME="ProjectResourcesBrowser.__showContextMenuBack" ID="ProjectResourcesBrowser.__showContextMenuBack"></a>
275 <h4>ProjectResourcesBrowser.__showContextMenuBack</h4> 275 <h4>ProjectResourcesBrowser.__showContextMenuBack</h4>
276 <b>__showContextMenuBack</b>(<i></i>) 276 <b>__showContextMenuBack</b>(<i></i>)
277 <p> 277 <p>
278 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#116;&#104;&#101; &#98;&#97;&#99;&#107;&#77;&#101;&#110;&#117; &#97;&#98;&#111;&#117;&#116;&#84;&#111;&#83;&#104;&#111;w &#115;&#105;&#103;&#110;&#97;&#108;. 278 Private slot called by the backMenu aboutToShow signal.
279 </p><a NAME="ProjectResourcesBrowser.__showContextMenuDir" ID="ProjectResourcesBrowser.__showContextMenuDir"></a> 279 </p><a NAME="ProjectResourcesBrowser.__showContextMenuDir" ID="ProjectResourcesBrowser.__showContextMenuDir"></a>
280 <h4>ProjectResourcesBrowser.__showContextMenuDir</h4> 280 <h4>ProjectResourcesBrowser.__showContextMenuDir</h4>
281 <b>__showContextMenuDir</b>(<i></i>) 281 <b>__showContextMenuDir</b>(<i></i>)
282 <p> 282 <p>
283 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#116;&#104;&#101; &#100;&#105;&#114;&#77;&#101;&#110;&#117; &#97;&#98;&#111;&#117;&#116;&#84;&#111;&#83;&#104;&#111;w &#115;&#105;&#103;&#110;&#97;&#108;. 283 Private slot called by the dirMenu aboutToShow signal.
284 </p><a NAME="ProjectResourcesBrowser.__showContextMenuDirMulti" ID="ProjectResourcesBrowser.__showContextMenuDirMulti"></a> 284 </p><a NAME="ProjectResourcesBrowser.__showContextMenuDirMulti" ID="ProjectResourcesBrowser.__showContextMenuDirMulti"></a>
285 <h4>ProjectResourcesBrowser.__showContextMenuDirMulti</h4> 285 <h4>ProjectResourcesBrowser.__showContextMenuDirMulti</h4>
286 <b>__showContextMenuDirMulti</b>(<i></i>) 286 <b>__showContextMenuDirMulti</b>(<i></i>)
287 <p> 287 <p>
288 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#116;&#104;&#101; &#100;&#105;&#114;&#77;&#117;&#108;&#116;&#105;&#77;&#101;&#110;&#117; &#97;&#98;&#111;&#117;&#116;&#84;&#111;&#83;&#104;&#111;w &#115;&#105;&#103;&#110;&#97;&#108;. 288 Private slot called by the dirMultiMenu aboutToShow signal.
289 </p><a NAME="ProjectResourcesBrowser.__showContextMenuMulti" ID="ProjectResourcesBrowser.__showContextMenuMulti"></a> 289 </p><a NAME="ProjectResourcesBrowser.__showContextMenuMulti" ID="ProjectResourcesBrowser.__showContextMenuMulti"></a>
290 <h4>ProjectResourcesBrowser.__showContextMenuMulti</h4> 290 <h4>ProjectResourcesBrowser.__showContextMenuMulti</h4>
291 <b>__showContextMenuMulti</b>(<i></i>) 291 <b>__showContextMenuMulti</b>(<i></i>)
292 <p> 292 <p>
293 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#98;y &#116;&#104;&#101; &#109;&#117;&#108;&#116;&#105;&#77;&#101;&#110;&#117; &#97;&#98;&#111;&#117;&#116;&#84;&#111;&#83;&#104;&#111;w &#115;&#105;&#103;&#110;&#97;&#108;. 293 Private slot called by the multiMenu aboutToShow signal.
294 </p><a NAME="ProjectResourcesBrowser._contextMenuRequested" ID="ProjectResourcesBrowser._contextMenuRequested"></a> 294 </p><a NAME="ProjectResourcesBrowser._contextMenuRequested" ID="ProjectResourcesBrowser._contextMenuRequested"></a>
295 <h4>ProjectResourcesBrowser._contextMenuRequested</h4> 295 <h4>ProjectResourcesBrowser._contextMenuRequested</h4>
296 <b>_contextMenuRequested</b>(<i>coord</i>) 296 <b>_contextMenuRequested</b>(<i>coord</i>)
297 <p> 297 <p>
298 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#111;&#110;&#116;&#101;x&#116; &#109;&#101;&#110;&#117;. 298 Protected slot to show the context menu.
299 </p><dl> 299 </p><dl>
300 <dt><i>coord</i></dt> 300 <dt><i>coord</i></dt>
301 <dd> 301 <dd>
302 &#116;&#104;&#101; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110; &#111;&#102; &#116;&#104;&#101; &#109;&#111;&#117;&#115;&#101; &#112;&#111;&#105;&#110;&#116;&#101;&#114; (&#81;&#80;&#111;&#105;&#110;&#116;) 302 the position of the mouse pointer (QPoint)
303 </dd> 303 </dd>
304 </dl><a NAME="ProjectResourcesBrowser._createPopupMenus" ID="ProjectResourcesBrowser._createPopupMenus"></a> 304 </dl><a NAME="ProjectResourcesBrowser._createPopupMenus" ID="ProjectResourcesBrowser._createPopupMenus"></a>
305 <h4>ProjectResourcesBrowser._createPopupMenus</h4> 305 <h4>ProjectResourcesBrowser._createPopupMenus</h4>
306 <b>_createPopupMenus</b>(<i></i>) 306 <b>_createPopupMenus</b>(<i></i>)
307 <p> 307 <p>
308 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#111;v&#101;&#114;&#108;&#111;&#97;&#100;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#103;&#101;&#110;&#101;&#114;&#97;&#116;&#101; &#116;&#104;&#101; &#112;&#111;&#112;&#117;&#112; &#109;&#101;&#110;&#117;. 308 Protected overloaded method to generate the popup menu.
309 </p><a NAME="ProjectResourcesBrowser._initHookMethods" ID="ProjectResourcesBrowser._initHookMethods"></a> 309 </p><a NAME="ProjectResourcesBrowser._initHookMethods" ID="ProjectResourcesBrowser._initHookMethods"></a>
310 <h4>ProjectResourcesBrowser._initHookMethods</h4> 310 <h4>ProjectResourcesBrowser._initHookMethods</h4>
311 <b>_initHookMethods</b>(<i></i>) 311 <b>_initHookMethods</b>(<i></i>)
312 <p> 312 <p>
313 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#104;&#111;&#111;&#107;&#115; &#100;&#105;&#99;&#116;&#105;&#111;&#110;&#97;&#114;y. 313 Protected method to initialize the hooks dictionary.
314 </p><p> 314 </p><p>
315 &#83;&#117;&#112;&#112;&#111;&#114;&#116;&#101;&#100; &#104;&#111;&#111;&#107; &#109;&#101;&#116;&#104;&#111;&#100;&#115; &#97;&#114;&#101;&#58; 315 Supported hook methods are:
316 &#60;&#117;&#108;&#62; 316 <ul>
317 &#60;&#108;&#105;&#62;&#99;&#111;&#109;&#112;&#105;&#108;&#101;&#82;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#58; &#116;&#97;&#107;&#101;&#115; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#97;&#115; &#112;&#97;&#114;&#97;&#109;&#101;&#116;&#101;&#114;&#60;/&#108;&#105;&#62; 317 <li>compileResource: takes filename as parameter</li>
318 &#60;&#108;&#105;&#62;&#99;&#111;&#109;&#112;&#105;&#108;&#101;&#65;&#108;&#108;&#82;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115;&#58; &#116;&#97;&#107;&#101;&#115; &#108;&#105;&#115;&#116; &#111;&#102; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101;&#115; &#97;&#115; &#112;&#97;&#114;&#97;&#109;&#101;&#116;&#101;&#114;&#60;/&#108;&#105;&#62; 318 <li>compileAllResources: takes list of filenames as parameter</li>
319 &#60;&#108;&#105;&#62;&#99;&#111;&#109;&#112;&#105;&#108;&#101;&#67;&#104;&#97;&#110;&#103;&#101;&#100;&#82;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115;&#58; &#116;&#97;&#107;&#101;&#115; &#108;&#105;&#115;&#116; &#111;&#102; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101;&#115; &#97;&#115; &#112;&#97;&#114;&#97;&#109;&#101;&#116;&#101;&#114;&#60;/&#108;&#105;&#62; 319 <li>compileChangedResources: takes list of filenames as parameter</li>
320 &#60;&#108;&#105;&#62;&#99;&#111;&#109;&#112;&#105;&#108;&#101;&#83;&#101;&#108;&#101;&#99;&#116;&#101;&#100;&#82;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115;&#58; &#116;&#97;&#107;&#101;&#115; &#108;&#105;&#115;&#116; &#111;&#102; &#97;&#108;&#108; &#102;&#111;&#114;&#109; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101;&#115; &#97;&#115; &#112;&#97;&#114;&#97;&#109;&#101;&#116;&#101;&#114;&#60;/&#108;&#105;&#62; 320 <li>compileSelectedResources: takes list of all form filenames as parameter</li>
321 &#60;&#108;&#105;&#62;&#110;&#101;w&#82;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#58; &#116;&#97;&#107;&#101;&#115; &#102;&#117;&#108;&#108; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y &#112;&#97;&#116;&#104; &#111;&#102; &#110;&#101;w &#102;&#105;&#108;&#101; &#97;&#115; &#112;&#97;&#114;&#97;&#109;&#101;&#116;&#101;&#114;&#60;/&#108;&#105;&#62; 321 <li>newResource: takes full directory path of new file as parameter</li>
322 &#60;/&#117;&#108;&#62; 322 </ul>
323 </p><p> 323 </p><p>
324 &#60;&#98;&#62;&#78;&#111;&#116;&#101;&#60;/&#98;&#62;&#58; &#70;&#105;&#108;&#101;&#110;&#97;&#109;&#101;&#115; &#97;&#114;&#101; &#114;&#101;&#108;&#97;&#116;&#105;v&#101; &#116;&#111; &#116;&#104;&#101; &#112;&#114;&#111;&#106;&#101;&#99;&#116; &#100;&#105;&#114;&#101;&#99;&#116;&#111;&#114;y, &#105;&#102; &#110;&#111;&#116; 324 <b>Note</b>: Filenames are relative to the project directory, if not
325 &#115;&#112;&#101;&#99;&#105;&#102;&#105;&#101;&#100; &#100;&#105;&#102;&#102;&#101;&#114;&#101;&#110;&#116;&#108;y. 325 specified differently.
326 </p><a NAME="ProjectResourcesBrowser._openItem" ID="ProjectResourcesBrowser._openItem"></a> 326 </p><a NAME="ProjectResourcesBrowser._openItem" ID="ProjectResourcesBrowser._openItem"></a>
327 <h4>ProjectResourcesBrowser._openItem</h4> 327 <h4>ProjectResourcesBrowser._openItem</h4>
328 <b>_openItem</b>(<i></i>) 328 <b>_openItem</b>(<i></i>)
329 <p> 329 <p>
330 &#80;&#114;&#111;&#116;&#101;&#99;&#116;&#101;&#100; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#111;&#112;&#101;&#110; &#112;&#111;&#112;&#117;&#112; &#109;&#101;&#110;&#117; &#101;&#110;&#116;&#114;y. 330 Protected slot to handle the open popup menu entry.
331 </p><a NAME="ProjectResourcesBrowser.compileChangedResources" ID="ProjectResourcesBrowser.compileChangedResources"></a> 331 </p><a NAME="ProjectResourcesBrowser.compileChangedResources" ID="ProjectResourcesBrowser.compileChangedResources"></a>
332 <h4>ProjectResourcesBrowser.compileChangedResources</h4> 332 <h4>ProjectResourcesBrowser.compileChangedResources</h4>
333 <b>compileChangedResources</b>(<i></i>) 333 <b>compileChangedResources</b>(<i></i>)
334 <p> 334 <p>
335 &#80;&#117;&#98;&#108;&#105;&#99; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#111;&#109;&#112;&#105;&#108;&#101; &#97;&#108;&#108; &#99;&#104;&#97;&#110;&#103;&#101;&#100; &#114;&#101;&#115;&#111;&#117;&#114;&#99;&#101;&#115; &#116;&#111; &#115;&#111;&#117;&#114;&#99;&#101; &#102;&#105;&#108;&#101;&#115;. 335 Public method to compile all changed resources to source files.
336 </p><a NAME="ProjectResourcesBrowser.handlePreferencesChanged" ID="ProjectResourcesBrowser.handlePreferencesChanged"></a> 336 </p><a NAME="ProjectResourcesBrowser.handlePreferencesChanged" ID="ProjectResourcesBrowser.handlePreferencesChanged"></a>
337 <h4>ProjectResourcesBrowser.handlePreferencesChanged</h4> 337 <h4>ProjectResourcesBrowser.handlePreferencesChanged</h4>
338 <b>handlePreferencesChanged</b>(<i></i>) 338 <b>handlePreferencesChanged</b>(<i></i>)
339 <p> 339 <p>
340 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#117;&#115;&#101;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#112;&#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108;. 340 Public slot used to handle the preferencesChanged signal.
341 </p> 341 </p>
342 <div align="right"><a href="#top">Up</a></div> 342 <div align="right"><a href="#top">Up</a></div>
343 <hr /> 343 <hr />
344 </body></html> 344 </body></html>

eric ide

mercurial