Changeset 86 in vbox
- Timestamp:
- Jan 17, 2007 10:58:51 AM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 17530
- Location:
- trunk/src/VBox/Frontends/VirtualBox
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/include/VBoxProblemReporter.h
r70 r86 189 189 bool remindAboutInaccessibleMedia(); 190 190 191 void remindAboutGoingFullscreen (const QString &hotKey, 192 const QString &hostKey); 193 191 194 static QString highlight (const QString &str); 192 195 static QString formatErrorInfo (const COMErrorInfo &info, -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r1 r86 1257 1257 AssertReturnVoid ((hidden_children.isEmpty() == on)); 1258 1258 1259 if (on) 1260 { 1261 /* take the Fullscreen hot key from the menu item */ 1262 QString hotKey = vmFullscreenAction->menuText(); 1263 hotKey = QStringList::split ('\t', hotKey) [1]; 1264 Assert (!hotKey.isEmpty()); 1265 /* get the host key name */ 1266 QString hostKey = QIHotKeyEdit::keyName (vboxGlobal().settings().hostKey()); 1267 /* show the info message */ 1268 vboxProblem().remindAboutGoingFullscreen (hotKey, hostKey); 1269 } 1270 1259 1271 full_screen = on; 1260 1272 -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxProblemReporter.cpp
r70 r86 1246 1246 } 1247 1247 1248 /** 1249 * @param fullscreen hot key as defined in the menu 1250 * @param current host key as in the global settings 1251 * @return true if the user has chosen to go fullscreen. 1252 */ 1253 void VBoxProblemReporter::remindAboutGoingFullscreen (const QString &hotKey, 1254 const QString &hostKey) 1255 { 1256 int rc = message (&vboxGlobal().consoleWnd(), Info, 1257 tr ("<p>The Virtual Machine window will be now switched to the " 1258 "<b>fullscreen</b> mode. " 1259 "You can go back to the windowed mode at any time by pressing " 1260 "the <b>%1</b> key combination. Note that the current " 1261 "Host key is defined as <b>%1</b>.</p>") 1262 .arg (hotKey).arg (hostKey), 1263 "remindAboutGoingFullscreen"); 1264 } 1265 1248 1266 // static 1249 1267 QString VBoxProblemReporter::highlight (const QString &str)
Note:
See TracChangeset
for help on using the changeset viewer.