Changeset 4203 in vbox
- Timestamp:
- Aug 17, 2007 2:16:52 PM (18 years ago)
- svn:sync-xref-src-repo-rev:
- 23697
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleView.cpp
r4202 r4203 1190 1190 1191 1191 emit usbStateChange(); 1192 /// @todo update menu entries1193 1192 1194 1193 return true; -
trunk/src/VBox/Frontends/VirtualBox/src/VBoxConsoleWnd.cpp
r4202 r4203 1589 1589 1590 1590 /* update tooltip */ 1591 QString ttip = VBoxConsoleWnd::tr (1592 "<qt><nobr>Indicates the activity of the networkinterfaces:</nobr>"1593 "%1</qt>",1594 "Network adapters indicator");1591 QString ttip = tr ("<qt><nobr>Indicates the activity of the network " 1592 "interfaces:</nobr>" 1593 "%1</qt>", 1594 "Network adapters tooltip"); 1595 1595 QString info; 1596 1596 … … 1599 1599 CNetworkAdapter adapter = cmachine.GetNetworkAdapter (slot); 1600 1600 if (adapter.GetEnabled()) 1601 info += VBoxConsoleWnd::tr ("<br><nobr><b>Adapter %1 (%2)</b>: cable %3</nobr>",1602 "Network adapters indicator")1601 info += tr ("<br><nobr><b>Adapter %1 (%2)</b>: cable %3</nobr>", 1602 "Network adapters tooltip") 1603 1603 .arg (slot) 1604 1604 .arg (vboxGlobal().toString (adapter.GetAttachmentType())) 1605 1605 .arg (adapter.GetCableConnected() ? 1606 VBoxConsoleWnd::tr ("connected", "Network adapters indicator") :1607 VBoxConsoleWnd::tr ("disconnected", "Network adapters indicator"));1606 tr ("connected", "Network adapters tooltip") : 1607 tr ("disconnected", "Network adapters tooltip")); 1608 1608 } 1609 1609 1610 1610 if (info.isNull()) 1611 info = VBoxConsoleWnd::tr ("<br><nobr><b>All network adapters are disabled</b></nobr>",1612 "Network adapters indicator");1611 info = tr ("<br><nobr><b>All network adapters are disabled</b></nobr>", 1612 "Network adapters tooltip"); 1613 1613 1614 1614 QToolTip::add (net_light, ttip.arg (info)); … … 1623 1623 1624 1624 /* update tooltip */ 1625 QString ttip = VBoxConsoleWnd::tr ( 1626 "<qt><nobr>Indicates the activity of " 1627 "attached USB devices:</nobr>" 1628 "%1</qt>", 1629 "USB device indicator"); 1625 QString ttip = tr ("<qt><nobr>Indicates the activity of the " 1626 "attached USB devices:</nobr>" 1627 "%1</qt>", 1628 "USB device tooltip"); 1630 1629 QString info; 1631 1630 … … 1640 1639 } 1641 1640 if (info.isNull()) 1642 info = VBoxConsoleWnd::tr ("<br><nobr><b>No USB devices attached</b></nobr>",1643 "USB device indicator");1641 info = tr ("<br><nobr><b>No USB devices attached</b></nobr>", 1642 "USB device tooltip"); 1644 1643 } 1645 1644 else 1646 info = VBoxConsoleWnd::tr ("<br><nobr><b>USB Controller is disabled</b></nobr>",1647 "USB device indicator");1645 info = tr ("<br><nobr><b>USB Controller is disabled</b></nobr>", 1646 "USB device tooltip"); 1648 1647 1649 1648 QToolTip::add (usb_light, ttip.arg (info));
Note:
See TracChangeset
for help on using the changeset viewer.