VirtualBox

Changeset 7372 in vbox


Ignore:
Timestamp:
Mar 7, 2008 3:15:49 PM (17 years ago)
Author:
vboxsync
Message:

FE/Qt4: Fixed images in the state indicator tooltips and right click of mouse integration as well as shared folders.

Location:
trunk/src/VBox/Frontends/VirtualBox4
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox4/include/VBoxGlobal.h

    r7369 r7372  
    747747    void processAboutToShow();
    748748
    749 //    void processActivated (int);
    750 
    751749private:
    752750
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxConsoleWnd.cpp

    r7369 r7372  
    16101610    QToolTip::add (autoresize_state,
    16111611        tr ("Indicates whether the guest display auto-resize function is On "
    1612             "(<img src=auto_resize_on_16px.png/>) or Off (<img src=auto_resize_off_16px.png/>). "
     1612            "(<img src=:/auto_resize_on_16px.png/>) or Off (<img src=:/auto_resize_off_16px.png/>). "
    16131613            "Note that this function requires Guest Additions to be installed in the guest OS."));
    16141614#endif
    16151615    QToolTip::add (mouse_state,
    16161616        tr ("Indicates whether the host mouse pointer is captured by the guest OS:<br>"
    1617             "<nobr><img src=mouse_disabled_16px.png/>&nbsp;&nbsp;pointer is not captured</nobr><br>"
    1618             "<nobr><img src=mouse_16px.png/>&nbsp;&nbsp;pointer is captured</nobr><br>"
    1619             "<nobr><img src=mouse_seamless_16px.png/>&nbsp;&nbsp;mouse integration (MI) is On</nobr><br>"
    1620             "<nobr><img src=mouse_can_seamless_16px.png/>&nbsp;&nbsp;MI is Off, pointer is captured</nobr><br>"
    1621             "<nobr><img src=mouse_can_seamless_uncaptured_16px.png/>&nbsp;&nbsp;MI is Off, pointer is not captured</nobr><br>"
     1617            "<nobr><img src=:/mouse_disabled_16px.png/>&nbsp;&nbsp;pointer is not captured</nobr><br>"
     1618            "<nobr><img src=:/mouse_16px.png/>&nbsp;&nbsp;pointer is captured</nobr><br>"
     1619            "<nobr><img src=:/mouse_seamless_16px.png/>&nbsp;&nbsp;mouse integration (MI) is On</nobr><br>"
     1620            "<nobr><img src=:/mouse_can_seamless_16px.png/>&nbsp;&nbsp;MI is Off, pointer is captured</nobr><br>"
     1621            "<nobr><img src=:/mouse_can_seamless_uncaptured_16px.png/>&nbsp;&nbsp;MI is Off, pointer is not captured</nobr><br>"
    16221622            "Note that the mouse integration feature requires Guest Additions to be installed in the guest OS."));
    16231623    QToolTip::add (hostkey_state,
    16241624        tr ("Indicates whether the keyboard is captured by the guest OS "
    1625             "(<img src=hostkey_captured_16px.png/>) or not (<img src=hostkey_16px.png/>)."));
     1625            "(<img src=:/hostkey_captured_16px.png/>) or not (<img src=:/hostkey_16px.png/>)."));
    16261626    QToolTip::add (hostkey_name,
    16271627        tr ("Shows the currently assigned Host key.<br>"
     
    18631863            /* compose status icon tooltip */
    18641864            QString tip = tr ("Indicates whether the Remote Display (VRDP Server) "
    1865                               "is enabled (<img src=vrdp_16px.png/>) or not "
    1866                               "(<img src=vrdp_disabled_16px.png/>)."
     1865                              "is enabled (<img src=:/vrdp_16px.png/>) or not "
     1866                              "(<img src=:/vrdp_disabled_16px.png/>)."
    18671867                              );
    18681868            if (vrdpsrv.GetEnabled())
     
    30673067        devicesSFMenu->exec (e->globalPos());
    30683068#else
    3069 #warning port me
    3070 //        if (devicesSFDialogAction->isEnabled())
    3071 //            devicesSFDialogAction->activate();
     3069        if (devicesSFDialogAction->isEnabled())
     3070            devicesSFDialogAction->trigger();
    30723071#endif
    30733072    }
  • trunk/src/VBox/Frontends/VirtualBox4/src/VBoxGlobal.cpp

    r7369 r7372  
    42634263    /* this menu works only with toggle action */
    42644264    Assert (aAction->isCheckable());
     4265    addAction(aAction);
    42654266    connect (this, SIGNAL (aboutToShow()),
    42664267             this, SLOT   (processAboutToShow()));
    4267 //    connect (this, SIGNAL (activated (int)),
    4268 //             this, SLOT   (processActivated (int)));
    42694268}
    42704269
     
    42794278    mAction->setText (text);
    42804279}
    4281 
    4282 #warning port me: no longer needed?
    4283 //void VBoxSwitchMenu::processActivated (int /*aIndex*/)
    4284 //{
    4285 //    mAction->toggle();
    4286 //}
    42874280
    42884281#ifdef Q_WS_X11
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