Changeset 1690 in vbox
- Timestamp:
- Mar 24, 2007 6:19:30 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r1557 r1690 401 401 (new QFrame (indicatorBox))->setFrameStyle (QFrame::VLine | QFrame::Sunken); 402 402 403 #if 0 // do not show these indicators, information overload 403 404 /* vrdp state */ 404 405 vrdp_state = new QIStateIndicator (0, indicatorBox, "vrdp_state", WNoAutoErase); … … 411 412 autoresize_state->setStateIcon (2, QPixmap::fromMimeSource ("auto_resize_on_disabled_16px.png")); 412 413 autoresize_state->setStateIcon (3, QPixmap::fromMimeSource ("auto_resize_on_16px.png")); 414 #endif 415 413 416 /* mouse */ 414 417 mouse_state = new QIStateIndicator (0, indicatorBox, "mouse_state", WNoAutoErase); … … 489 492 connect (usb_light, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)), 490 493 this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *))); 494 connect (sf_state, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)), 495 this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *))); 496 497 #if 0 491 498 connect (vrdp_state, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)), 492 this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *)));493 connect (sf_state, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)),494 499 this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *))); 495 500 connect (autoresize_state, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)), 496 501 this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *))); 502 #endif 497 503 connect (mouse_state, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)), 498 504 this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *))); … … 656 662 devicesSwitchVrdpAction->setVisible (false); 657 663 devicesMenu->setItemVisible (devicesVRDPMenuSeparatorId, false); 664 #if 0 658 665 vrdp_state->setHidden (true); 666 #endif 659 667 } 660 668 … … 1252 1260 /* status bar widgets */ 1253 1261 1262 #if 0 1254 1263 QToolTip::add (autoresize_state, 1255 1264 tr ("Indicates whether the guest display auto-resize function is On " 1256 1265 "(<img src=auto_resize_on_16px.png/>) or Off (<img src=auto_resize_off_16px.png/>). " 1257 1266 "Note that this function requires Guest Additions to be installed in the guest OS.")); 1267 #endif 1258 1268 QToolTip::add (mouse_state, 1259 1269 tr ("Indicates whether the host mouse pointer is captured by the guest OS:<br>" … … 1432 1442 bool isVRDPEnabled = vrdpsrv.GetEnabled(); 1433 1443 devicesSwitchVrdpAction->setOn (isVRDPEnabled); 1444 #if 0 1434 1445 vrdp_state->setState (isVRDPEnabled ? 1 : 0); 1435 1446 … … 1442 1453 tip += tr ("<hr>VRDP Server is listening on port %1").arg (vrdpsrv.GetPort()); 1443 1454 QToolTip::add (vrdp_state, tip); 1455 #endif 1444 1456 } 1445 1457 if (element & PauseAction) … … 1600 1612 * we may want to use disabled versions of icons when no guest additions 1601 1613 * are available (to indicate that this function is ineffective). */ 1614 #if 0 1602 1615 autoresize_state->setState (on ? 3 : 1); 1616 #endif 1603 1617 1604 1618 console->setAutoresizeGuest (on);
Note:
See TracChangeset
for help on using the changeset viewer.