Changeset 750 in vbox
- Timestamp:
- Feb 7, 2007 2:50:42 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 18405
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp
r712 r750 1130 1130 bool VBoxProblemReporter::remindAboutInputCapture() 1131 1131 { 1132 int rc = message ( 1133 &vboxGlobal().consoleWnd(), 1134 Info, 1135 tr ( 1136 "<p>You have <b>clicked the mouse</b> inside the Virtual Machine display " 1132 int rc = message (&vboxGlobal().consoleWnd(), Info, 1133 tr ("<p>You have <b>clicked the mouse</b> inside the Virtual Machine display " 1137 1134 "or pressed the <b>host key</b>. This will cause the Virtual Machine to " 1138 1135 "<b>capture</b> the host mouse pointer (only if the mouse pointer " 1139 1136 "integration is not currently supported by the guest OS) and the " 1140 1137 "keyboard, which will make them unavailable to other applications " 1141 "running on your host machine.</p>" 1142 "<p>You can press the host key at any time to <b>uncapture</b> the " 1138 "running on your host machine." 1139 "</p>" 1140 "<p>You can press the <b>host key</b> at any time to <b>uncapture</b> the " 1143 1141 "keyboard and mouse (if it is captured) and return them to normal " 1144 1142 "operation. The currently assigned host key is shown on the status bar " 1145 "at the bottom of the Virtual Machine window. " 1146 "There are also a keyboard icon and a mouse icon indicating the " 1147 "current keyboard and mouse capture state.</p>" 1148 ), 1149 "remindAboutInputCapture" 1150 ); 1143 "at the bottom of the Virtual Machine window, next to the " 1144 "<img src=hostkey_16px.png/> icon. This icon, together " 1145 "with the mouse icon placed nearby, indicate the current keyboard " 1146 "and mouse capture state." 1147 "</p>"), 1148 "remindAboutInputCapture"); 1149 1151 1150 return !(rc & AutoConfirmed); 1152 1151 } … … 1155 1154 bool VBoxProblemReporter::remindAboutAutoCapture() 1156 1155 { 1157 int rc = message ( 1158 &vboxGlobal().consoleWnd(), 1159 Info, 1160 tr ( 1161 "<p>You have the <b>Auto capture keyboard</b> option turned on. " 1156 int rc = message ( &vboxGlobal().consoleWnd(), Info, 1157 tr ("<p>You have the <b>Auto capture keyboard</b> option turned on. " 1162 1158 "This will cause the Virtual Machine to automatically <b>capture</b> " 1163 1159 "the keyboard every time the VM window is activated and make it " 1164 1160 "unavailable to other applications running on your host machine: " 1165 1161 "when the keyboard is captured, all keystrokes (including system ones " 1166 "like Alt-Tab) will be directed to the VM.</p>" 1162 "like Alt-Tab) will be directed to the VM." 1163 "</p>" 1167 1164 "<p>You can press the <b>host key</b> at any time to <b>uncapture</b> the " 1168 1165 "keyboard and mouse (if it is captured) and return them to normal " 1169 1166 "operation. The currently assigned host key is shown on the status bar " 1170 "at the bottom of the Virtual Machine window. " 1171 "There are also a keyboard icon and a mouse icon indicating the " 1172 "current keyboard and mouse capture state.</p>" 1173 ), 1174 "remindAboutAutoCapture" 1175 ); 1167 "at the bottom of the Virtual Machine window, next to the " 1168 "<img src=hostkey_16px.png/> icon. This icon, together " 1169 "with the mouse icon placed nearby, indicate the current keyboard " 1170 "and mouse capture state." 1171 "</p>"), 1172 "remindAboutAutoCapture"); 1173 1176 1174 return !(rc & AutoConfirmed); 1177 1175 } … … 1186 1184 }; 1187 1185 1188 / /close the previous reminder if it is still active -- already outdated1189 //(the name of the modal window will correspond to autoConfirmId if1190 // it is our reminder)1186 /* close the previous reminder if it is still active -- already outdated 1187 * (the name of the modal window will correspond to autoConfirmId if 1188 * it is our reminder) */ 1191 1189 QWidget *modal = QApplication::activeModalWidget(); 1192 1190 if (modal && !strcmp (modal->name(), names [int (!supportsAbsolute)])) … … 1195 1193 if (supportsAbsolute) 1196 1194 { 1197 int rc = message ( 1198 &vboxGlobal().consoleWnd(), 1199 Info, 1200 tr ( 1201 "<p>The Virtual Machine reports that the guest OS supports the " 1202 "<b>mouse pointer integration</b>. This means that you do not need " 1203 "to capture the host mouse pointer to be able to use it in " 1204 "your guest OS -- all " 1195 int rc = message (&vboxGlobal().consoleWnd(), Info, 1196 tr ("<p>The Virtual Machine reports that the guest OS supports " 1197 "<b>mouse pointer integration</b>. This means that you do not " 1198 "need to <i>capture</i> the mouse pointer to be able to use it " 1199 "in your guest OS -- all " 1205 1200 "mouse actions you perform when the mouse pointer is over the " 1206 "Virtual Machine's display are directly sent to the guest OS. "1201 "Virtual Machine's display are directly sent to the guest OS. " 1207 1202 "If the mouse is currently captured, it will be automatically " 1208 "uncaptured.</p>" 1209 "<p>The mouse icon on the status bar displays arrows around " 1210 "the mouse when the guest OS supports the pointer integration.</p>" 1211 "<p><b>Note</b>: some applications may behave incorrectly in " 1203 "uncaptured." 1204 "</p>" 1205 "<p>The mouse icon on the status bar will look like " 1206 "<img src=mouse_seamless_16px.png/> to inform you that mouse " 1207 "pointer integration is supported by the guest OS and is " 1208 "currently turned on." 1209 "</p>" 1210 "<p><b>Note</b>: Some applications may behave incorrectly in " 1212 1211 "mouse pointer integration mode. You can always disable it for " 1213 "the current session (and enable again) by selecting the "1214 "corresponding action from the menu bar. </p>"1215 ),1216 names [1] / / autoConfirmId1217 ); 1212 "the current session (and enable it again) by selecting the " 1213 "corresponding action from the menu bar." 1214 "</p>"), 1215 names [1] /* autoConfirmId */); 1216 1218 1217 return !(rc & AutoConfirmed); 1219 1218 } 1220 1219 else 1221 1220 { 1222 int rc = message ( 1223 &vboxGlobal().consoleWnd(), 1224 Info, 1225 tr ( 1226 "<p>The Virtual Machine reports that the guest OS does not " 1221 int rc = message (&vboxGlobal().consoleWnd(), Info, 1222 tr ("<p>The Virtual Machine reports that the guest OS does not " 1227 1223 "support <b>mouse pointer integration</b> in the current video " 1228 1224 "mode. You need to capture the mouse (by clicking over the VM " 1229 1225 "display or pressing the host key) in order to use the " 1230 "mouse inside the guest OS.</p>" 1231 ), 1232 names [0] // autoConfirmId 1233 ); 1226 "mouse inside the guest OS.</p>"), 1227 names [0] /* autoConfirmId */); 1228 1234 1229 return !(rc & AutoConfirmed); 1235 1230 }
Note:
See TracChangeset
for help on using the changeset viewer.