VirtualBox

Changeset 1690 in vbox


Ignore:
Timestamp:
Mar 24, 2007 6:19:30 PM (18 years ago)
Author:
vboxsync
Message:

removed VRDP and guest resize indicator icons

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp

    r1557 r1690  
    401401    (new QFrame (indicatorBox))->setFrameStyle (QFrame::VLine | QFrame::Sunken);
    402402
     403#if 0 // do not show these indicators, information overload
    403404    /* vrdp state */
    404405    vrdp_state = new QIStateIndicator (0, indicatorBox, "vrdp_state", WNoAutoErase);
     
    411412    autoresize_state->setStateIcon (2, QPixmap::fromMimeSource ("auto_resize_on_disabled_16px.png"));
    412413    autoresize_state->setStateIcon (3, QPixmap::fromMimeSource ("auto_resize_on_16px.png"));
     414#endif
     415
    413416    /* mouse */
    414417    mouse_state = new QIStateIndicator (0, indicatorBox, "mouse_state", WNoAutoErase);
     
    489492    connect (usb_light, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)),
    490493             this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *)));
     494    connect (sf_state, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)),
     495             this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *)));
     496
     497#if 0
    491498    connect (vrdp_state, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)),
    492              this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *)));
    493     connect (sf_state, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)),
    494499             this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *)));
    495500    connect (autoresize_state, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)),
    496501             this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *)));
     502#endif
    497503    connect (mouse_state, SIGNAL (contextMenuRequested (QIStateIndicator *, QContextMenuEvent *)),
    498504             this, SLOT (showIndicatorContextMenu (QIStateIndicator *, QContextMenuEvent *)));
     
    656662        devicesSwitchVrdpAction->setVisible (false);
    657663        devicesMenu->setItemVisible (devicesVRDPMenuSeparatorId, false);
     664#if 0
    658665        vrdp_state->setHidden (true);
     666#endif
    659667    }
    660668
     
    12521260    /* status bar widgets */
    12531261
     1262#if 0
    12541263    QToolTip::add (autoresize_state,
    12551264        tr ("Indicates whether the guest display auto-resize function is On "
    12561265            "(<img src=auto_resize_on_16px.png/>) or Off (<img src=auto_resize_off_16px.png/>). "
    12571266            "Note that this function requires Guest Additions to be installed in the guest OS."));
     1267#endif
    12581268    QToolTip::add (mouse_state,
    12591269        tr ("Indicates whether the host mouse pointer is captured by the guest OS:<br>"
     
    14321442        bool isVRDPEnabled = vrdpsrv.GetEnabled();
    14331443        devicesSwitchVrdpAction->setOn (isVRDPEnabled);
     1444#if 0
    14341445        vrdp_state->setState (isVRDPEnabled ? 1 : 0);
    14351446
     
    14421453            tip += tr ("<hr>VRDP Server is listening on port %1").arg (vrdpsrv.GetPort());
    14431454        QToolTip::add (vrdp_state, tip);
     1455#endif
    14441456    }
    14451457    if (element & PauseAction)
     
    16001612     * we may want to use disabled versions of icons when no guest additions
    16011613     * are available (to indicate that this function is ineffective). */
     1614#if 0
    16021615    autoresize_state->setState (on ? 3 : 1);
     1616#endif
    16031617
    16041618    console->setAutoresizeGuest (on);
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette