Documentation/Source/eric5.IconEditor.IconEditorWindow.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.IconEditor.IconEditorWindow</h1> 23 <h1>eric5.IconEditor.IconEditorWindow</h1>
24 <p> 24 <p>
25 &#77;&#111;&#100;&#117;&#108;&#101; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#101;&#100;&#105;&#116;&#111;&#114; &#109;&#97;&#105;&#110; w&#105;&#110;&#100;&#111;w. 25 Module implementing the icon editor main window.
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="#IconEditorWindow">IconEditorWindow</a></td> 34 <td><a href="#IconEditorWindow">IconEditorWindow</a></td>
35 <td>&#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; w&#101;&#98; &#98;&#114;&#111;w&#115;&#101;&#114; &#109;&#97;&#105;&#110; w&#105;&#110;&#100;&#111;w.</td> 35 <td>Class implementing the web browser main window.</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="IconEditorWindow" ID="IconEditorWindow"></a> 43 <a NAME="IconEditorWindow" ID="IconEditorWindow"></a>
44 <h2>IconEditorWindow</h2> 44 <h2>IconEditorWindow</h2>
45 <p> 45 <p>
46 &#67;&#108;&#97;&#115;&#115; &#105;&#109;&#112;&#108;&#101;&#109;&#101;&#110;&#116;&#105;&#110;&#103; &#116;&#104;&#101; w&#101;&#98; &#98;&#114;&#111;w&#115;&#101;&#114; &#109;&#97;&#105;&#110; w&#105;&#110;&#100;&#111;w. 46 Class implementing the web browser main window.
47 </p><h4>Signals</h4> 47 </p><h4>Signals</h4>
48 <dl> 48 <dl>
49 <dt>editorClosed()</dt> 49 <dt>editorClosed()</dt>
50 <dd> 50 <dd>
51 &#101;&#109;&#105;&#116;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; w&#105;&#110;&#100;&#111;w w&#97;&#115; &#114;&#101;&#113;&#117;&#101;&#115;&#116;&#101;&#100; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#100;&#111;w&#110; 51 emitted after the window was requested to close down
52 </dd> 52 </dd>
53 </dl> 53 </dl>
54 <h3>Derived from</h3> 54 <h3>Derived from</h3>
55 QMainWindow 55 QMainWindow
56 <h3>Class Attributes</h3> 56 <h3>Class Attributes</h3>
59 </table> 59 </table>
60 <h3>Methods</h3> 60 <h3>Methods</h3>
61 <table> 61 <table>
62 <tr> 62 <tr>
63 <td><a href="#IconEditorWindow.__init__">IconEditorWindow</a></td> 63 <td><a href="#IconEditorWindow.__init__">IconEditorWindow</a></td>
64 <td>&#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114;</td> 64 <td>Constructor</td>
65 </tr><tr> 65 </tr><tr>
66 <td><a href="#IconEditorWindow.__about">__about</a></td> 66 <td><a href="#IconEditorWindow.__about">__about</a></td>
67 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#97; &#108;&#105;&#116;&#116;&#108;&#101; &#65;&#98;&#111;&#117;&#116; &#109;&#101;&#115;&#115;&#97;&#103;&#101;.</td> 67 <td>Private slot to show a little About message.</td>
68 </tr><tr> 68 </tr><tr>
69 <td><a href="#IconEditorWindow.__aboutQt">__aboutQt</a></td> 69 <td><a href="#IconEditorWindow.__aboutQt">__aboutQt</a></td>
70 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#65;&#98;&#111;&#117;&#116; &#81;&#116; &#100;&#105;&#97;&#108;&#111;&#103;.</td> 70 <td>Private slot to handle the About Qt dialog.</td>
71 </tr><tr> 71 </tr><tr>
72 <td><a href="#IconEditorWindow.__checkActions">__checkActions</a></td> 72 <td><a href="#IconEditorWindow.__checkActions">__checkActions</a></td>
73 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#115;&#111;&#109;&#101; &#97;&#99;&#116;&#105;&#111;&#110;&#115; &#102;&#111;&#114; &#116;&#104;&#101;&#105;&#114; &#101;&#110;&#97;&#98;&#108;&#101;/&#100;&#105;&#115;&#97;&#98;&#108;&#101; &#115;&#116;&#97;&#116;&#117;&#115;.</td> 73 <td>Private slot to check some actions for their enable/disable status.</td>
74 </tr><tr> 74 </tr><tr>
75 <td><a href="#IconEditorWindow.__closeAll">__closeAll</a></td> 75 <td><a href="#IconEditorWindow.__closeAll">__closeAll</a></td>
76 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#97;&#108;&#108; &#111;&#116;&#104;&#101;&#114; w&#105;&#110;&#100;&#111;w&#115;.</td> 76 <td>Private slot to close all other windows.</td>
77 </tr><tr> 77 </tr><tr>
78 <td><a href="#IconEditorWindow.__createPaletteDock">__createPaletteDock</a></td> 78 <td><a href="#IconEditorWindow.__createPaletteDock">__createPaletteDock</a></td>
79 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#112;&#97;&#108;&#101;&#116;&#116;&#101; &#100;&#111;&#99;&#107; w&#105;&#100;&#103;&#101;&#116;.</td> 79 <td>Private method to initialize the palette dock widget.</td>
80 </tr><tr> 80 </tr><tr>
81 <td><a href="#IconEditorWindow.__createStatusBar">__createStatusBar</a></td> 81 <td><a href="#IconEditorWindow.__createStatusBar">__createStatusBar</a></td>
82 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#98;&#97;&#114;.</td> 82 <td>Private method to initialize the status bar.</td>
83 </tr><tr> 83 </tr><tr>
84 <td><a href="#IconEditorWindow.__initActions">__initActions</a></td> 84 <td><a href="#IconEditorWindow.__initActions">__initActions</a></td>
85 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#102;&#105;&#110;&#101; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#105;&#110;&#116;&#101;&#114;&#102;&#97;&#99;&#101; &#97;&#99;&#116;&#105;&#111;&#110;&#115;.</td> 85 <td>Private method to define the user interface actions.</td>
86 </tr><tr> 86 </tr><tr>
87 <td><a href="#IconEditorWindow.__initEditActions">__initEditActions</a></td> 87 <td><a href="#IconEditorWindow.__initEditActions">__initEditActions</a></td>
88 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#69;&#100;&#105;&#116; &#97;&#99;&#116;&#105;&#111;&#110;&#115;.</td> 88 <td>Private method to create the Edit actions.</td>
89 </tr><tr> 89 </tr><tr>
90 <td><a href="#IconEditorWindow.__initFileActions">__initFileActions</a></td> 90 <td><a href="#IconEditorWindow.__initFileActions">__initFileActions</a></td>
91 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#102;&#105;&#110;&#101; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#114;&#101;&#108;&#97;&#116;&#101;&#100; &#117;&#115;&#101;&#114; &#105;&#110;&#116;&#101;&#114;&#102;&#97;&#99;&#101; &#97;&#99;&#116;&#105;&#111;&#110;&#115;.</td> 91 <td>Private method to define the file related user interface actions.</td>
92 </tr><tr> 92 </tr><tr>
93 <td><a href="#IconEditorWindow.__initFileFilters">__initFileFilters</a></td> 93 <td><a href="#IconEditorWindow.__initFileFilters">__initFileFilters</a></td>
94 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#102;&#105;&#110;&#101; &#116;&#104;&#101; &#115;&#117;&#112;&#112;&#111;&#114;&#116;&#101;&#100; &#105;&#109;&#97;&#103;&#101; &#102;&#105;&#108;&#101; &#102;&#105;&#108;&#116;&#101;&#114;&#115;.</td> 94 <td>Private method to define the supported image file filters.</td>
95 </tr><tr> 95 </tr><tr>
96 <td><a href="#IconEditorWindow.__initHelpActions">__initHelpActions</a></td> 96 <td><a href="#IconEditorWindow.__initHelpActions">__initHelpActions</a></td>
97 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#72;&#101;&#108;&#112; &#97;&#99;&#116;&#105;&#111;&#110;&#115;.</td> 97 <td>Private method to create the Help actions.</td>
98 </tr><tr> 98 </tr><tr>
99 <td><a href="#IconEditorWindow.__initMenus">__initMenus</a></td> 99 <td><a href="#IconEditorWindow.__initMenus">__initMenus</a></td>
100 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#109;&#101;&#110;&#117;&#115;.</td> 100 <td>Private method to create the menus.</td>
101 </tr><tr> 101 </tr><tr>
102 <td><a href="#IconEditorWindow.__initToolbars">__initToolbars</a></td> 102 <td><a href="#IconEditorWindow.__initToolbars">__initToolbars</a></td>
103 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#116;&#111;&#111;&#108;&#98;&#97;&#114;&#115;.</td> 103 <td>Private method to create the toolbars.</td>
104 </tr><tr> 104 </tr><tr>
105 <td><a href="#IconEditorWindow.__initToolsActions">__initToolsActions</a></td> 105 <td><a href="#IconEditorWindow.__initToolsActions">__initToolsActions</a></td>
106 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#86;&#105;&#101;w &#97;&#99;&#116;&#105;&#111;&#110;&#115;.</td> 106 <td>Private method to create the View actions.</td>
107 </tr><tr> 107 </tr><tr>
108 <td><a href="#IconEditorWindow.__initViewActions">__initViewActions</a></td> 108 <td><a href="#IconEditorWindow.__initViewActions">__initViewActions</a></td>
109 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#86;&#105;&#101;w &#97;&#99;&#116;&#105;&#111;&#110;&#115;.</td> 109 <td>Private method to create the View actions.</td>
110 </tr><tr> 110 </tr><tr>
111 <td><a href="#IconEditorWindow.__loadIconFile">__loadIconFile</a></td> 111 <td><a href="#IconEditorWindow.__loadIconFile">__loadIconFile</a></td>
112 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#108;&#111;&#97;&#100; &#97;&#110; &#105;&#99;&#111;&#110; &#102;&#105;&#108;&#101;.</td> 112 <td>Private method to load an icon file.</td>
113 </tr><tr> 113 </tr><tr>
114 <td><a href="#IconEditorWindow.__maybeSave">__maybeSave</a></td> 114 <td><a href="#IconEditorWindow.__maybeSave">__maybeSave</a></td>
115 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#115;&#107; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#102;&#105;&#108;&#101;, &#105;&#102; &#105;&#116; w&#97;&#115; &#109;&#111;&#100;&#105;&#102;&#105;&#101;&#100;.</td> 115 <td>Private method to ask the user to save the file, if it was modified.</td>
116 </tr><tr> 116 </tr><tr>
117 <td><a href="#IconEditorWindow.__modificationChanged">__modificationChanged</a></td> 117 <td><a href="#IconEditorWindow.__modificationChanged">__modificationChanged</a></td>
118 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#109;&#111;&#100;&#105;&#102;&#105;&#99;&#97;&#116;&#105;&#111;&#110;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108;.</td> 118 <td>Private slot to handle the modificationChanged signal.</td>
119 </tr><tr> 119 </tr><tr>
120 <td><a href="#IconEditorWindow.__newIcon">__newIcon</a></td> 120 <td><a href="#IconEditorWindow.__newIcon">__newIcon</a></td>
121 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#110;&#101;w &#105;&#99;&#111;&#110;.</td> 121 <td>Private slot to create a new icon.</td>
122 </tr><tr> 122 </tr><tr>
123 <td><a href="#IconEditorWindow.__newWindow">__newWindow</a></td> 123 <td><a href="#IconEditorWindow.__newWindow">__newWindow</a></td>
124 <td>&#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#111;&#112;&#101;&#110; &#97; &#110;&#101;w &#105;&#99;&#111;&#110; &#101;&#100;&#105;&#116;&#111;&#114; w&#105;&#110;&#100;&#111;w.</td> 124 <td>Public slot called to open a new icon editor window.</td>
125 </tr><tr> 125 </tr><tr>
126 <td><a href="#IconEditorWindow.__openIcon">__openIcon</a></td> 126 <td><a href="#IconEditorWindow.__openIcon">__openIcon</a></td>
127 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#111;&#112;&#101;&#110; &#97;&#110; &#105;&#99;&#111;&#110; &#102;&#105;&#108;&#101;.</td> 127 <td>Private slot to open an icon file.</td>
128 </tr><tr> 128 </tr><tr>
129 <td><a href="#IconEditorWindow.__saveIcon">__saveIcon</a></td> 129 <td><a href="#IconEditorWindow.__saveIcon">__saveIcon</a></td>
130 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#105;&#99;&#111;&#110;.</td> 130 <td>Private slot to save the icon.</td>
131 </tr><tr> 131 </tr><tr>
132 <td><a href="#IconEditorWindow.__saveIconAs">__saveIconAs</a></td> 132 <td><a href="#IconEditorWindow.__saveIconAs">__saveIconAs</a></td>
133 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#105;&#99;&#111;&#110; w&#105;&#116;&#104; &#97; &#110;&#101;w &#110;&#97;&#109;&#101;.</td> 133 <td>Private slot to save the icon with a new name.</td>
134 </tr><tr> 134 </tr><tr>
135 <td><a href="#IconEditorWindow.__saveIconFile">__saveIconFile</a></td> 135 <td><a href="#IconEditorWindow.__saveIconFile">__saveIconFile</a></td>
136 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#111; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#102;&#105;&#108;&#101;.</td> 136 <td>Private method to save to the given file.</td>
137 </tr><tr> 137 </tr><tr>
138 <td><a href="#IconEditorWindow.__setCurrentFile">__setCurrentFile</a></td> 138 <td><a href="#IconEditorWindow.__setCurrentFile">__setCurrentFile</a></td>
139 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#103;&#105;&#115;&#116;&#101;&#114; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#102;&#105;&#108;&#101;.</td> 139 <td>Private method to register the file name of the current file.</td>
140 </tr><tr> 140 </tr><tr>
141 <td><a href="#IconEditorWindow.__strippedName">__strippedName</a></td> 141 <td><a href="#IconEditorWindow.__strippedName">__strippedName</a></td>
142 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#112;&#97;&#114;&#116; &#111;&#102; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#112;&#97;&#116;&#104;.</td> 142 <td>Private method to return the filename part of the given path.</td>
143 </tr><tr> 143 </tr><tr>
144 <td><a href="#IconEditorWindow.__updatePosition">__updatePosition</a></td> 144 <td><a href="#IconEditorWindow.__updatePosition">__updatePosition</a></td>
145 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#99;&#117;&#114;&#115;&#111;&#114; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110;.</td> 145 <td>Private slot to show the current cursor position.</td>
146 </tr><tr> 146 </tr><tr>
147 <td><a href="#IconEditorWindow.__updateSize">__updateSize</a></td> 147 <td><a href="#IconEditorWindow.__updateSize">__updateSize</a></td>
148 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#99;&#111;&#110; &#115;&#105;z&#101;.</td> 148 <td>Private slot to show the current icon size.</td>
149 </tr><tr> 149 </tr><tr>
150 <td><a href="#IconEditorWindow.__updateZoom">__updateZoom</a></td> 150 <td><a href="#IconEditorWindow.__updateZoom">__updateZoom</a></td>
151 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114;.</td> 151 <td>Private slot to show the current zoom factor.</td>
152 </tr><tr> 152 </tr><tr>
153 <td><a href="#IconEditorWindow.__whatsThis">__whatsThis</a></td> 153 <td><a href="#IconEditorWindow.__whatsThis">__whatsThis</a></td>
154 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#105;&#110; &#116;&#111; &#101;&#110;&#116;&#101;&#114; &#87;&#104;&#97;&#116;&#115; &#84;&#104;&#105;&#115; &#109;&#111;&#100;&#101;.</td> 154 <td>Private slot called in to enter Whats This mode.</td>
155 </tr><tr> 155 </tr><tr>
156 <td><a href="#IconEditorWindow.__zoom">__zoom</a></td> 156 <td><a href="#IconEditorWindow.__zoom">__zoom</a></td>
157 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; z&#111;&#111;&#109; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 157 <td>Private method to handle the zoom action.</td>
158 </tr><tr> 158 </tr><tr>
159 <td><a href="#IconEditorWindow.__zoomIn">__zoomIn</a></td> 159 <td><a href="#IconEditorWindow.__zoomIn">__zoomIn</a></td>
160 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; z&#111;&#111;&#109; &#105;&#110; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 160 <td>Private slot called to handle the zoom in action.</td>
161 </tr><tr> 161 </tr><tr>
162 <td><a href="#IconEditorWindow.__zoomOut">__zoomOut</a></td> 162 <td><a href="#IconEditorWindow.__zoomOut">__zoomOut</a></td>
163 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; z&#111;&#111;&#109; &#111;&#117;&#116; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 163 <td>Private slot called to handle the zoom out action.</td>
164 </tr><tr> 164 </tr><tr>
165 <td><a href="#IconEditorWindow.__zoomReset">__zoomReset</a></td> 165 <td><a href="#IconEditorWindow.__zoomReset">__zoomReset</a></td>
166 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; z&#111;&#111;&#109; &#114;&#101;&#115;&#101;&#116; &#97;&#99;&#116;&#105;&#111;&#110;.</td> 166 <td>Private slot called to handle the zoom reset action.</td>
167 </tr><tr> 167 </tr><tr>
168 <td><a href="#IconEditorWindow.closeEvent">closeEvent</a></td> 168 <td><a href="#IconEditorWindow.closeEvent">closeEvent</a></td>
169 <td>&#80;&#114;&#105;v&#97;&#116;&#101; &#101;v&#101;&#110;&#116; &#104;&#97;&#110;&#100;&#108;&#101;&#114; &#102;&#111;&#114; &#116;&#104;&#101; &#99;&#108;&#111;&#115;&#101; &#101;v&#101;&#110;&#116;.</td> 169 <td>Private event handler for the close event.</td>
170 </tr> 170 </tr>
171 </table> 171 </table>
172 <a NAME="IconEditorWindow.__init__" ID="IconEditorWindow.__init__"></a> 172 <a NAME="IconEditorWindow.__init__" ID="IconEditorWindow.__init__"></a>
173 <h4>IconEditorWindow (Constructor)</h4> 173 <h4>IconEditorWindow (Constructor)</h4>
174 <b>IconEditorWindow</b>(<i>fileName = "", parent = None, fromEric = False, initShortcutsOnly = False</i>) 174 <b>IconEditorWindow</b>(<i>fileName = "", parent = None, fromEric = False, initShortcutsOnly = False</i>)
175 <p> 175 <p>
176 &#67;&#111;&#110;&#115;&#116;&#114;&#117;&#99;&#116;&#111;&#114; 176 Constructor
177 </p><dl> 177 </p><dl>
178 <dt><i>fileName</i></dt> 178 <dt><i>fileName</i></dt>
179 <dd> 179 <dd>
180 &#110;&#97;&#109;&#101; &#111;&#102; &#97; &#102;&#105;&#108;&#101; &#116;&#111; &#108;&#111;&#97;&#100; &#111;&#110; &#115;&#116;&#97;&#114;&#116;&#117;&#112; (&#115;&#116;&#114;&#105;&#110;&#103;) 180 name of a file to load on startup (string)
181 </dd><dt><i>parent</i></dt> 181 </dd><dt><i>parent</i></dt>
182 <dd> 182 <dd>
183 &#112;&#97;&#114;&#101;&#110;&#116; w&#105;&#100;&#103;&#101;&#116; &#111;&#102; &#116;&#104;&#105;&#115; w&#105;&#110;&#100;&#111;w (&#81;&#87;&#105;&#100;&#103;&#101;&#116;) 183 parent widget of this window (QWidget)
184 </dd><dt><i>fromEric=</i></dt> 184 </dd><dt><i>fromEric=</i></dt>
185 <dd> 185 <dd>
186 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; w&#104;&#101;&#116;&#104;&#101;&#114; &#105;&#116; w&#97;&#115; &#99;&#97;&#108;&#108;&#101;&#100; &#102;&#114;&#111;&#109; w&#105;&#116;&#104;&#105;&#110; &#101;&#114;&#105;&#99;&#53; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 186 flag indicating whether it was called from within eric5 (boolean)
187 </dd><dt><i>initShortcutsOnly=</i></dt> 187 </dd><dt><i>initShortcutsOnly=</i></dt>
188 <dd> 188 <dd>
189 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#116;&#111; &#106;&#117;&#115;&#116; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#107;&#101;y&#98;&#111;&#97;&#114;&#100; 189 flag indicating to just initialize the keyboard
190 &#115;&#104;&#111;&#114;&#116;&#99;&#117;&#116;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 190 shortcuts (boolean)
191 </dd> 191 </dd>
192 </dl><a NAME="IconEditorWindow.__about" ID="IconEditorWindow.__about"></a> 192 </dl><a NAME="IconEditorWindow.__about" ID="IconEditorWindow.__about"></a>
193 <h4>IconEditorWindow.__about</h4> 193 <h4>IconEditorWindow.__about</h4>
194 <b>__about</b>(<i></i>) 194 <b>__about</b>(<i></i>)
195 <p> 195 <p>
196 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#97; &#108;&#105;&#116;&#116;&#108;&#101; &#65;&#98;&#111;&#117;&#116; &#109;&#101;&#115;&#115;&#97;&#103;&#101;. 196 Private slot to show a little About message.
197 </p><a NAME="IconEditorWindow.__aboutQt" ID="IconEditorWindow.__aboutQt"></a> 197 </p><a NAME="IconEditorWindow.__aboutQt" ID="IconEditorWindow.__aboutQt"></a>
198 <h4>IconEditorWindow.__aboutQt</h4> 198 <h4>IconEditorWindow.__aboutQt</h4>
199 <b>__aboutQt</b>(<i></i>) 199 <b>__aboutQt</b>(<i></i>)
200 <p> 200 <p>
201 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#65;&#98;&#111;&#117;&#116; &#81;&#116; &#100;&#105;&#97;&#108;&#111;&#103;. 201 Private slot to handle the About Qt dialog.
202 </p><a NAME="IconEditorWindow.__checkActions" ID="IconEditorWindow.__checkActions"></a> 202 </p><a NAME="IconEditorWindow.__checkActions" ID="IconEditorWindow.__checkActions"></a>
203 <h4>IconEditorWindow.__checkActions</h4> 203 <h4>IconEditorWindow.__checkActions</h4>
204 <b>__checkActions</b>(<i></i>) 204 <b>__checkActions</b>(<i></i>)
205 <p> 205 <p>
206 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#104;&#101;&#99;&#107; &#115;&#111;&#109;&#101; &#97;&#99;&#116;&#105;&#111;&#110;&#115; &#102;&#111;&#114; &#116;&#104;&#101;&#105;&#114; &#101;&#110;&#97;&#98;&#108;&#101;/&#100;&#105;&#115;&#97;&#98;&#108;&#101; &#115;&#116;&#97;&#116;&#117;&#115;. 206 Private slot to check some actions for their enable/disable status.
207 </p><a NAME="IconEditorWindow.__closeAll" ID="IconEditorWindow.__closeAll"></a> 207 </p><a NAME="IconEditorWindow.__closeAll" ID="IconEditorWindow.__closeAll"></a>
208 <h4>IconEditorWindow.__closeAll</h4> 208 <h4>IconEditorWindow.__closeAll</h4>
209 <b>__closeAll</b>(<i></i>) 209 <b>__closeAll</b>(<i></i>)
210 <p> 210 <p>
211 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#108;&#111;&#115;&#101; &#97;&#108;&#108; &#111;&#116;&#104;&#101;&#114; w&#105;&#110;&#100;&#111;w&#115;. 211 Private slot to close all other windows.
212 </p><a NAME="IconEditorWindow.__createPaletteDock" ID="IconEditorWindow.__createPaletteDock"></a> 212 </p><a NAME="IconEditorWindow.__createPaletteDock" ID="IconEditorWindow.__createPaletteDock"></a>
213 <h4>IconEditorWindow.__createPaletteDock</h4> 213 <h4>IconEditorWindow.__createPaletteDock</h4>
214 <b>__createPaletteDock</b>(<i></i>) 214 <b>__createPaletteDock</b>(<i></i>)
215 <p> 215 <p>
216 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#112;&#97;&#108;&#101;&#116;&#116;&#101; &#100;&#111;&#99;&#107; w&#105;&#100;&#103;&#101;&#116;. 216 Private method to initialize the palette dock widget.
217 </p><a NAME="IconEditorWindow.__createStatusBar" ID="IconEditorWindow.__createStatusBar"></a> 217 </p><a NAME="IconEditorWindow.__createStatusBar" ID="IconEditorWindow.__createStatusBar"></a>
218 <h4>IconEditorWindow.__createStatusBar</h4> 218 <h4>IconEditorWindow.__createStatusBar</h4>
219 <b>__createStatusBar</b>(<i></i>) 219 <b>__createStatusBar</b>(<i></i>)
220 <p> 220 <p>
221 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#105;&#110;&#105;&#116;&#105;&#97;&#108;&#105;z&#101; &#116;&#104;&#101; &#115;&#116;&#97;&#116;&#117;&#115; &#98;&#97;&#114;. 221 Private method to initialize the status bar.
222 </p><a NAME="IconEditorWindow.__initActions" ID="IconEditorWindow.__initActions"></a> 222 </p><a NAME="IconEditorWindow.__initActions" ID="IconEditorWindow.__initActions"></a>
223 <h4>IconEditorWindow.__initActions</h4> 223 <h4>IconEditorWindow.__initActions</h4>
224 <b>__initActions</b>(<i></i>) 224 <b>__initActions</b>(<i></i>)
225 <p> 225 <p>
226 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#102;&#105;&#110;&#101; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#105;&#110;&#116;&#101;&#114;&#102;&#97;&#99;&#101; &#97;&#99;&#116;&#105;&#111;&#110;&#115;. 226 Private method to define the user interface actions.
227 </p><a NAME="IconEditorWindow.__initEditActions" ID="IconEditorWindow.__initEditActions"></a> 227 </p><a NAME="IconEditorWindow.__initEditActions" ID="IconEditorWindow.__initEditActions"></a>
228 <h4>IconEditorWindow.__initEditActions</h4> 228 <h4>IconEditorWindow.__initEditActions</h4>
229 <b>__initEditActions</b>(<i></i>) 229 <b>__initEditActions</b>(<i></i>)
230 <p> 230 <p>
231 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#69;&#100;&#105;&#116; &#97;&#99;&#116;&#105;&#111;&#110;&#115;. 231 Private method to create the Edit actions.
232 </p><a NAME="IconEditorWindow.__initFileActions" ID="IconEditorWindow.__initFileActions"></a> 232 </p><a NAME="IconEditorWindow.__initFileActions" ID="IconEditorWindow.__initFileActions"></a>
233 <h4>IconEditorWindow.__initFileActions</h4> 233 <h4>IconEditorWindow.__initFileActions</h4>
234 <b>__initFileActions</b>(<i></i>) 234 <b>__initFileActions</b>(<i></i>)
235 <p> 235 <p>
236 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#102;&#105;&#110;&#101; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#114;&#101;&#108;&#97;&#116;&#101;&#100; &#117;&#115;&#101;&#114; &#105;&#110;&#116;&#101;&#114;&#102;&#97;&#99;&#101; &#97;&#99;&#116;&#105;&#111;&#110;&#115;. 236 Private method to define the file related user interface actions.
237 </p><a NAME="IconEditorWindow.__initFileFilters" ID="IconEditorWindow.__initFileFilters"></a> 237 </p><a NAME="IconEditorWindow.__initFileFilters" ID="IconEditorWindow.__initFileFilters"></a>
238 <h4>IconEditorWindow.__initFileFilters</h4> 238 <h4>IconEditorWindow.__initFileFilters</h4>
239 <b>__initFileFilters</b>(<i></i>) 239 <b>__initFileFilters</b>(<i></i>)
240 <p> 240 <p>
241 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#100;&#101;&#102;&#105;&#110;&#101; &#116;&#104;&#101; &#115;&#117;&#112;&#112;&#111;&#114;&#116;&#101;&#100; &#105;&#109;&#97;&#103;&#101; &#102;&#105;&#108;&#101; &#102;&#105;&#108;&#116;&#101;&#114;&#115;. 241 Private method to define the supported image file filters.
242 </p><a NAME="IconEditorWindow.__initHelpActions" ID="IconEditorWindow.__initHelpActions"></a> 242 </p><a NAME="IconEditorWindow.__initHelpActions" ID="IconEditorWindow.__initHelpActions"></a>
243 <h4>IconEditorWindow.__initHelpActions</h4> 243 <h4>IconEditorWindow.__initHelpActions</h4>
244 <b>__initHelpActions</b>(<i></i>) 244 <b>__initHelpActions</b>(<i></i>)
245 <p> 245 <p>
246 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#72;&#101;&#108;&#112; &#97;&#99;&#116;&#105;&#111;&#110;&#115;. 246 Private method to create the Help actions.
247 </p><a NAME="IconEditorWindow.__initMenus" ID="IconEditorWindow.__initMenus"></a> 247 </p><a NAME="IconEditorWindow.__initMenus" ID="IconEditorWindow.__initMenus"></a>
248 <h4>IconEditorWindow.__initMenus</h4> 248 <h4>IconEditorWindow.__initMenus</h4>
249 <b>__initMenus</b>(<i></i>) 249 <b>__initMenus</b>(<i></i>)
250 <p> 250 <p>
251 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#109;&#101;&#110;&#117;&#115;. 251 Private method to create the menus.
252 </p><a NAME="IconEditorWindow.__initToolbars" ID="IconEditorWindow.__initToolbars"></a> 252 </p><a NAME="IconEditorWindow.__initToolbars" ID="IconEditorWindow.__initToolbars"></a>
253 <h4>IconEditorWindow.__initToolbars</h4> 253 <h4>IconEditorWindow.__initToolbars</h4>
254 <b>__initToolbars</b>(<i></i>) 254 <b>__initToolbars</b>(<i></i>)
255 <p> 255 <p>
256 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#116;&#111;&#111;&#108;&#98;&#97;&#114;&#115;. 256 Private method to create the toolbars.
257 </p><a NAME="IconEditorWindow.__initToolsActions" ID="IconEditorWindow.__initToolsActions"></a> 257 </p><a NAME="IconEditorWindow.__initToolsActions" ID="IconEditorWindow.__initToolsActions"></a>
258 <h4>IconEditorWindow.__initToolsActions</h4> 258 <h4>IconEditorWindow.__initToolsActions</h4>
259 <b>__initToolsActions</b>(<i></i>) 259 <b>__initToolsActions</b>(<i></i>)
260 <p> 260 <p>
261 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#86;&#105;&#101;w &#97;&#99;&#116;&#105;&#111;&#110;&#115;. 261 Private method to create the View actions.
262 </p><a NAME="IconEditorWindow.__initViewActions" ID="IconEditorWindow.__initViewActions"></a> 262 </p><a NAME="IconEditorWindow.__initViewActions" ID="IconEditorWindow.__initViewActions"></a>
263 <h4>IconEditorWindow.__initViewActions</h4> 263 <h4>IconEditorWindow.__initViewActions</h4>
264 <b>__initViewActions</b>(<i></i>) 264 <b>__initViewActions</b>(<i></i>)
265 <p> 265 <p>
266 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#116;&#104;&#101; &#86;&#105;&#101;w &#97;&#99;&#116;&#105;&#111;&#110;&#115;. 266 Private method to create the View actions.
267 </p><a NAME="IconEditorWindow.__loadIconFile" ID="IconEditorWindow.__loadIconFile"></a> 267 </p><a NAME="IconEditorWindow.__loadIconFile" ID="IconEditorWindow.__loadIconFile"></a>
268 <h4>IconEditorWindow.__loadIconFile</h4> 268 <h4>IconEditorWindow.__loadIconFile</h4>
269 <b>__loadIconFile</b>(<i>fileName</i>) 269 <b>__loadIconFile</b>(<i>fileName</i>)
270 <p> 270 <p>
271 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#108;&#111;&#97;&#100; &#97;&#110; &#105;&#99;&#111;&#110; &#102;&#105;&#108;&#101;. 271 Private method to load an icon file.
272 </p><dl> 272 </p><dl>
273 <dt><i>fileName</i></dt> 273 <dt><i>fileName</i></dt>
274 <dd> 274 <dd>
275 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#105;&#99;&#111;&#110; &#102;&#105;&#108;&#101; &#116;&#111; &#108;&#111;&#97;&#100; (&#115;&#116;&#114;&#105;&#110;&#103;). 275 name of the icon file to load (string).
276 </dd> 276 </dd>
277 </dl><a NAME="IconEditorWindow.__maybeSave" ID="IconEditorWindow.__maybeSave"></a> 277 </dl><a NAME="IconEditorWindow.__maybeSave" ID="IconEditorWindow.__maybeSave"></a>
278 <h4>IconEditorWindow.__maybeSave</h4> 278 <h4>IconEditorWindow.__maybeSave</h4>
279 <b>__maybeSave</b>(<i></i>) 279 <b>__maybeSave</b>(<i></i>)
280 <p> 280 <p>
281 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#97;&#115;&#107; &#116;&#104;&#101; &#117;&#115;&#101;&#114; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#102;&#105;&#108;&#101;, &#105;&#102; &#105;&#116; w&#97;&#115; &#109;&#111;&#100;&#105;&#102;&#105;&#101;&#100;. 281 Private method to ask the user to save the file, if it was modified.
282 </p><dl> 282 </p><dl>
283 <dt>Returns:</dt> 283 <dt>Returns:</dt>
284 <dd> 284 <dd>
285 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103;, &#105;&#102; &#105;&#116; &#105;&#115; &#111;&#107; &#116;&#111; &#99;&#111;&#110;&#116;&#105;&#110;&#117;&#101; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 285 flag indicating, if it is ok to continue (boolean)
286 </dd> 286 </dd>
287 </dl><a NAME="IconEditorWindow.__modificationChanged" ID="IconEditorWindow.__modificationChanged"></a> 287 </dl><a NAME="IconEditorWindow.__modificationChanged" ID="IconEditorWindow.__modificationChanged"></a>
288 <h4>IconEditorWindow.__modificationChanged</h4> 288 <h4>IconEditorWindow.__modificationChanged</h4>
289 <b>__modificationChanged</b>(<i>m</i>) 289 <b>__modificationChanged</b>(<i>m</i>)
290 <p> 290 <p>
291 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; &#109;&#111;&#100;&#105;&#102;&#105;&#99;&#97;&#116;&#105;&#111;&#110;&#67;&#104;&#97;&#110;&#103;&#101;&#100; &#115;&#105;&#103;&#110;&#97;&#108;. 291 Private slot to handle the modificationChanged signal.
292 </p><dl> 292 </p><dl>
293 <dt><i>m</i></dt> 293 <dt><i>m</i></dt>
294 <dd> 294 <dd>
295 &#109;&#111;&#100;&#105;&#102;&#105;&#99;&#97;&#116;&#105;&#111;&#110; &#115;&#116;&#97;&#116;&#117;&#115; 295 modification status
296 </dd> 296 </dd>
297 </dl><a NAME="IconEditorWindow.__newIcon" ID="IconEditorWindow.__newIcon"></a> 297 </dl><a NAME="IconEditorWindow.__newIcon" ID="IconEditorWindow.__newIcon"></a>
298 <h4>IconEditorWindow.__newIcon</h4> 298 <h4>IconEditorWindow.__newIcon</h4>
299 <b>__newIcon</b>(<i></i>) 299 <b>__newIcon</b>(<i></i>)
300 <p> 300 <p>
301 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#99;&#114;&#101;&#97;&#116;&#101; &#97; &#110;&#101;w &#105;&#99;&#111;&#110;. 301 Private slot to create a new icon.
302 </p><a NAME="IconEditorWindow.__newWindow" ID="IconEditorWindow.__newWindow"></a> 302 </p><a NAME="IconEditorWindow.__newWindow" ID="IconEditorWindow.__newWindow"></a>
303 <h4>IconEditorWindow.__newWindow</h4> 303 <h4>IconEditorWindow.__newWindow</h4>
304 <b>__newWindow</b>(<i></i>) 304 <b>__newWindow</b>(<i></i>)
305 <p> 305 <p>
306 &#80;&#117;&#98;&#108;&#105;&#99; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#111;&#112;&#101;&#110; &#97; &#110;&#101;w &#105;&#99;&#111;&#110; &#101;&#100;&#105;&#116;&#111;&#114; w&#105;&#110;&#100;&#111;w. 306 Public slot called to open a new icon editor window.
307 </p><a NAME="IconEditorWindow.__openIcon" ID="IconEditorWindow.__openIcon"></a> 307 </p><a NAME="IconEditorWindow.__openIcon" ID="IconEditorWindow.__openIcon"></a>
308 <h4>IconEditorWindow.__openIcon</h4> 308 <h4>IconEditorWindow.__openIcon</h4>
309 <b>__openIcon</b>(<i></i>) 309 <b>__openIcon</b>(<i></i>)
310 <p> 310 <p>
311 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#111;&#112;&#101;&#110; &#97;&#110; &#105;&#99;&#111;&#110; &#102;&#105;&#108;&#101;. 311 Private slot to open an icon file.
312 </p><a NAME="IconEditorWindow.__saveIcon" ID="IconEditorWindow.__saveIcon"></a> 312 </p><a NAME="IconEditorWindow.__saveIcon" ID="IconEditorWindow.__saveIcon"></a>
313 <h4>IconEditorWindow.__saveIcon</h4> 313 <h4>IconEditorWindow.__saveIcon</h4>
314 <b>__saveIcon</b>(<i></i>) 314 <b>__saveIcon</b>(<i></i>)
315 <p> 315 <p>
316 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#105;&#99;&#111;&#110;. 316 Private slot to save the icon.
317 </p><a NAME="IconEditorWindow.__saveIconAs" ID="IconEditorWindow.__saveIconAs"></a> 317 </p><a NAME="IconEditorWindow.__saveIconAs" ID="IconEditorWindow.__saveIconAs"></a>
318 <h4>IconEditorWindow.__saveIconAs</h4> 318 <h4>IconEditorWindow.__saveIconAs</h4>
319 <b>__saveIconAs</b>(<i></i>) 319 <b>__saveIconAs</b>(<i></i>)
320 <p> 320 <p>
321 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#97;v&#101; &#116;&#104;&#101; &#105;&#99;&#111;&#110; w&#105;&#116;&#104; &#97; &#110;&#101;w &#110;&#97;&#109;&#101;. 321 Private slot to save the icon with a new name.
322 </p><a NAME="IconEditorWindow.__saveIconFile" ID="IconEditorWindow.__saveIconFile"></a> 322 </p><a NAME="IconEditorWindow.__saveIconFile" ID="IconEditorWindow.__saveIconFile"></a>
323 <h4>IconEditorWindow.__saveIconFile</h4> 323 <h4>IconEditorWindow.__saveIconFile</h4>
324 <b>__saveIconFile</b>(<i>fileName</i>) 324 <b>__saveIconFile</b>(<i>fileName</i>)
325 <p> 325 <p>
326 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#115;&#97;v&#101; &#116;&#111; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#102;&#105;&#108;&#101;. 326 Private method to save to the given file.
327 </p><dl> 327 </p><dl>
328 <dt><i>fileName</i></dt> 328 <dt><i>fileName</i></dt>
329 <dd> 329 <dd>
330 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#116;&#111; &#115;&#97;v&#101; &#116;&#111; (&#115;&#116;&#114;&#105;&#110;&#103;) 330 name of the file to save to (string)
331 </dd> 331 </dd>
332 </dl><dl> 332 </dl><dl>
333 <dt>Returns:</dt> 333 <dt>Returns:</dt>
334 <dd> 334 <dd>
335 &#102;&#108;&#97;&#103; &#105;&#110;&#100;&#105;&#99;&#97;&#116;&#105;&#110;&#103; &#115;&#117;&#99;&#99;&#101;&#115;&#115; (&#98;&#111;&#111;&#108;&#101;&#97;&#110;) 335 flag indicating success (boolean)
336 </dd> 336 </dd>
337 </dl><a NAME="IconEditorWindow.__setCurrentFile" ID="IconEditorWindow.__setCurrentFile"></a> 337 </dl><a NAME="IconEditorWindow.__setCurrentFile" ID="IconEditorWindow.__setCurrentFile"></a>
338 <h4>IconEditorWindow.__setCurrentFile</h4> 338 <h4>IconEditorWindow.__setCurrentFile</h4>
339 <b>__setCurrentFile</b>(<i>fileName</i>) 339 <b>__setCurrentFile</b>(<i>fileName</i>)
340 <p> 340 <p>
341 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#103;&#105;&#115;&#116;&#101;&#114; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#102;&#105;&#108;&#101;. 341 Private method to register the file name of the current file.
342 </p><dl> 342 </p><dl>
343 <dt><i>fileName</i></dt> 343 <dt><i>fileName</i></dt>
344 <dd> 344 <dd>
345 &#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#102;&#105;&#108;&#101; &#116;&#111; &#114;&#101;&#103;&#105;&#115;&#116;&#101;&#114; (&#115;&#116;&#114;&#105;&#110;&#103;) 345 name of the file to register (string)
346 </dd> 346 </dd>
347 </dl><a NAME="IconEditorWindow.__strippedName" ID="IconEditorWindow.__strippedName"></a> 347 </dl><a NAME="IconEditorWindow.__strippedName" ID="IconEditorWindow.__strippedName"></a>
348 <h4>IconEditorWindow.__strippedName</h4> 348 <h4>IconEditorWindow.__strippedName</h4>
349 <b>__strippedName</b>(<i>fullFileName</i>) 349 <b>__strippedName</b>(<i>fullFileName</i>)
350 <p> 350 <p>
351 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#114;&#101;&#116;&#117;&#114;&#110; &#116;&#104;&#101; &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#112;&#97;&#114;&#116; &#111;&#102; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#112;&#97;&#116;&#104;. 351 Private method to return the filename part of the given path.
352 </p><dl> 352 </p><dl>
353 <dt><i>fullFileName</i></dt> 353 <dt><i>fullFileName</i></dt>
354 <dd> 354 <dd>
355 &#102;&#117;&#108;&#108; &#112;&#97;&#116;&#104;&#110;&#97;&#109;&#101; &#111;&#102; &#116;&#104;&#101; &#103;&#105;v&#101;&#110; &#102;&#105;&#108;&#101; (&#115;&#116;&#114;&#105;&#110;&#103;) 355 full pathname of the given file (string)
356 </dd> 356 </dd>
357 </dl><dl> 357 </dl><dl>
358 <dt>Returns:</dt> 358 <dt>Returns:</dt>
359 <dd> 359 <dd>
360 &#102;&#105;&#108;&#101;&#110;&#97;&#109;&#101; &#112;&#97;&#114;&#116; (&#115;&#116;&#114;&#105;&#110;&#103;) 360 filename part (string)
361 </dd> 361 </dd>
362 </dl><a NAME="IconEditorWindow.__updatePosition" ID="IconEditorWindow.__updatePosition"></a> 362 </dl><a NAME="IconEditorWindow.__updatePosition" ID="IconEditorWindow.__updatePosition"></a>
363 <h4>IconEditorWindow.__updatePosition</h4> 363 <h4>IconEditorWindow.__updatePosition</h4>
364 <b>__updatePosition</b>(<i>x, y</i>) 364 <b>__updatePosition</b>(<i>x, y</i>)
365 <p> 365 <p>
366 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#99;&#117;&#114;&#115;&#111;&#114; &#112;&#111;&#115;&#105;&#116;&#105;&#111;&#110;. 366 Private slot to show the current cursor position.
367 </p><dl> 367 </p><dl>
368 <dt><i>x</i></dt> 368 <dt><i>x</i></dt>
369 <dd> 369 <dd>
370 x-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 370 x-coordinate (integer)
371 </dd><dt><i>y</i></dt> 371 </dd><dt><i>y</i></dt>
372 <dd> 372 <dd>
373 y-&#99;&#111;&#111;&#114;&#100;&#105;&#110;&#97;&#116;&#101; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 373 y-coordinate (integer)
374 </dd> 374 </dd>
375 </dl><a NAME="IconEditorWindow.__updateSize" ID="IconEditorWindow.__updateSize"></a> 375 </dl><a NAME="IconEditorWindow.__updateSize" ID="IconEditorWindow.__updateSize"></a>
376 <h4>IconEditorWindow.__updateSize</h4> 376 <h4>IconEditorWindow.__updateSize</h4>
377 <b>__updateSize</b>(<i>w, h</i>) 377 <b>__updateSize</b>(<i>w, h</i>)
378 <p> 378 <p>
379 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; &#105;&#99;&#111;&#110; &#115;&#105;z&#101;. 379 Private slot to show the current icon size.
380 </p><dl> 380 </p><dl>
381 <dt><i>w</i></dt> 381 <dt><i>w</i></dt>
382 <dd> 382 <dd>
383 w&#105;&#100;&#116;&#104; &#111;&#102; &#116;&#104;&#101; &#105;&#99;&#111;&#110; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 383 width of the icon (integer)
384 </dd><dt><i>h</i></dt> 384 </dd><dt><i>h</i></dt>
385 <dd> 385 <dd>
386 &#104;&#101;&#105;&#103;&#104;&#116; &#111;&#102; &#116;&#104;&#101; &#105;&#99;&#111;&#110; (&#105;&#110;&#116;&#101;&#103;&#101;&#114;) 386 height of the icon (integer)
387 </dd> 387 </dd>
388 </dl><a NAME="IconEditorWindow.__updateZoom" ID="IconEditorWindow.__updateZoom"></a> 388 </dl><a NAME="IconEditorWindow.__updateZoom" ID="IconEditorWindow.__updateZoom"></a>
389 <h4>IconEditorWindow.__updateZoom</h4> 389 <h4>IconEditorWindow.__updateZoom</h4>
390 <b>__updateZoom</b>(<i></i>) 390 <b>__updateZoom</b>(<i></i>)
391 <p> 391 <p>
392 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#116;&#111; &#115;&#104;&#111;w &#116;&#104;&#101; &#99;&#117;&#114;&#114;&#101;&#110;&#116; z&#111;&#111;&#109; &#102;&#97;&#99;&#116;&#111;&#114;. 392 Private slot to show the current zoom factor.
393 </p><a NAME="IconEditorWindow.__whatsThis" ID="IconEditorWindow.__whatsThis"></a> 393 </p><a NAME="IconEditorWindow.__whatsThis" ID="IconEditorWindow.__whatsThis"></a>
394 <h4>IconEditorWindow.__whatsThis</h4> 394 <h4>IconEditorWindow.__whatsThis</h4>
395 <b>__whatsThis</b>(<i></i>) 395 <b>__whatsThis</b>(<i></i>)
396 <p> 396 <p>
397 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#105;&#110; &#116;&#111; &#101;&#110;&#116;&#101;&#114; &#87;&#104;&#97;&#116;&#115; &#84;&#104;&#105;&#115; &#109;&#111;&#100;&#101;. 397 Private slot called in to enter Whats This mode.
398 </p><a NAME="IconEditorWindow.__zoom" ID="IconEditorWindow.__zoom"></a> 398 </p><a NAME="IconEditorWindow.__zoom" ID="IconEditorWindow.__zoom"></a>
399 <h4>IconEditorWindow.__zoom</h4> 399 <h4>IconEditorWindow.__zoom</h4>
400 <b>__zoom</b>(<i></i>) 400 <b>__zoom</b>(<i></i>)
401 <p> 401 <p>
402 &#80;&#114;&#105;v&#97;&#116;&#101; &#109;&#101;&#116;&#104;&#111;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; z&#111;&#111;&#109; &#97;&#99;&#116;&#105;&#111;&#110;. 402 Private method to handle the zoom action.
403 </p><a NAME="IconEditorWindow.__zoomIn" ID="IconEditorWindow.__zoomIn"></a> 403 </p><a NAME="IconEditorWindow.__zoomIn" ID="IconEditorWindow.__zoomIn"></a>
404 <h4>IconEditorWindow.__zoomIn</h4> 404 <h4>IconEditorWindow.__zoomIn</h4>
405 <b>__zoomIn</b>(<i></i>) 405 <b>__zoomIn</b>(<i></i>)
406 <p> 406 <p>
407 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; z&#111;&#111;&#109; &#105;&#110; &#97;&#99;&#116;&#105;&#111;&#110;. 407 Private slot called to handle the zoom in action.
408 </p><a NAME="IconEditorWindow.__zoomOut" ID="IconEditorWindow.__zoomOut"></a> 408 </p><a NAME="IconEditorWindow.__zoomOut" ID="IconEditorWindow.__zoomOut"></a>
409 <h4>IconEditorWindow.__zoomOut</h4> 409 <h4>IconEditorWindow.__zoomOut</h4>
410 <b>__zoomOut</b>(<i></i>) 410 <b>__zoomOut</b>(<i></i>)
411 <p> 411 <p>
412 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; z&#111;&#111;&#109; &#111;&#117;&#116; &#97;&#99;&#116;&#105;&#111;&#110;. 412 Private slot called to handle the zoom out action.
413 </p><a NAME="IconEditorWindow.__zoomReset" ID="IconEditorWindow.__zoomReset"></a> 413 </p><a NAME="IconEditorWindow.__zoomReset" ID="IconEditorWindow.__zoomReset"></a>
414 <h4>IconEditorWindow.__zoomReset</h4> 414 <h4>IconEditorWindow.__zoomReset</h4>
415 <b>__zoomReset</b>(<i></i>) 415 <b>__zoomReset</b>(<i></i>)
416 <p> 416 <p>
417 &#80;&#114;&#105;v&#97;&#116;&#101; &#115;&#108;&#111;&#116; &#99;&#97;&#108;&#108;&#101;&#100; &#116;&#111; &#104;&#97;&#110;&#100;&#108;&#101; &#116;&#104;&#101; z&#111;&#111;&#109; &#114;&#101;&#115;&#101;&#116; &#97;&#99;&#116;&#105;&#111;&#110;. 417 Private slot called to handle the zoom reset action.
418 </p><a NAME="IconEditorWindow.closeEvent" ID="IconEditorWindow.closeEvent"></a> 418 </p><a NAME="IconEditorWindow.closeEvent" ID="IconEditorWindow.closeEvent"></a>
419 <h4>IconEditorWindow.closeEvent</h4> 419 <h4>IconEditorWindow.closeEvent</h4>
420 <b>closeEvent</b>(<i>evt</i>) 420 <b>closeEvent</b>(<i>evt</i>)
421 <p> 421 <p>
422 &#80;&#114;&#105;v&#97;&#116;&#101; &#101;v&#101;&#110;&#116; &#104;&#97;&#110;&#100;&#108;&#101;&#114; &#102;&#111;&#114; &#116;&#104;&#101; &#99;&#108;&#111;&#115;&#101; &#101;v&#101;&#110;&#116;. 422 Private event handler for the close event.
423 </p><dl> 423 </p><dl>
424 <dt><i>evt</i></dt> 424 <dt><i>evt</i></dt>
425 <dd> 425 <dd>
426 &#116;&#104;&#101; &#99;&#108;&#111;&#115;&#101; &#101;v&#101;&#110;&#116; (&#81;&#67;&#108;&#111;&#115;&#101;&#69;v&#101;&#110;&#116;) 426 the close event (QCloseEvent)
427 &#60;&#98;&#114; /&#62;&#84;&#104;&#105;&#115; &#101;v&#101;&#110;&#116; &#105;&#115; &#115;&#105;&#109;&#112;&#108;y &#97;&#99;&#99;&#101;&#112;&#116;&#101;&#100; &#97;&#102;&#116;&#101;&#114; &#116;&#104;&#101; &#104;&#105;&#115;&#116;&#111;&#114;y &#104;&#97;&#115; &#98;&#101;&#101;&#110; 427 <br />This event is simply accepted after the history has been
428 &#115;&#97;v&#101;&#100; &#97;&#110;&#100; &#97;&#108;&#108; w&#105;&#110;&#100;&#111;w &#114;&#101;&#102;&#101;&#114;&#101;&#110;&#99;&#101;&#115; &#104;&#97;v&#101; &#98;&#101;&#101;&#110; &#100;&#101;&#108;&#101;&#116;&#101;&#100;. 428 saved and all window references have been deleted.
429 </dd> 429 </dd>
430 </dl> 430 </dl>
431 <div align="right"><a href="#top">Up</a></div> 431 <div align="right"><a href="#top">Up</a></div>
432 <hr /> 432 <hr />
433 </body></html> 433 </body></html>

eric ide

mercurial