Changeset 68885 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Sep 27, 2017 10:55:04 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/runtime/UIIndicatorsPool.cpp
r68883 r68885 206 206 207 207 /* Prepare tool-tip: */ 208 QString strToolTip = QApplication::translate("UIIndicatorsPool",209 "<nobr>Indicates the activity of the "210 "hard disks:</nobr>%1", "HD tooltip");211 208 QString strFullData; 212 209 … … 238 235 239 236 /* Update tool-tip: */ 240 setToolTip(s trToolTip.arg(s_strTable.arg(strFullData)));237 setToolTip(s_strTable.arg(strFullData)); 241 238 /* Update indicator state: */ 242 239 setState(fAttachmentsPresent ? KDeviceActivity_Idle : KDeviceActivity_Null); … … 274 271 275 272 /* Prepare tool-tip: */ 276 QString strToolTip = QApplication::translate("UIIndicatorsPool",277 "<nobr>Indicates the activity of the "278 "optical drives:</nobr>%1", "CD tooltip");279 273 QString strFullData; 280 274 … … 310 304 311 305 /* Update tool-tip: */ 312 setToolTip(s trToolTip.arg(s_strTable.arg(strFullData)));306 setToolTip(s_strTable.arg(strFullData)); 313 307 /* Update indicator state: */ 314 308 setState(fAttachmentsMounted ? KDeviceActivity_Idle : KDeviceActivity_Null); … … 346 340 347 341 /* Prepare tool-tip: */ 348 QString strToolTip = QApplication::translate("UIIndicatorsPool",349 "<nobr>Indicates the activity of the "350 "floppy drives:</nobr>%1", "FD tooltip");351 342 QString strFullData; 352 343 … … 382 373 383 374 /* Update tool-tip: */ 384 setToolTip(s trToolTip.arg(s_strTable.arg(strFullData)));375 setToolTip(s_strTable.arg(strFullData)); 385 376 /* Update indicator state: */ 386 377 setState(fAttachmentsMounted ? KDeviceActivity_Idle : KDeviceActivity_Null); … … 427 418 428 419 /* Prepare tool-tip: */ 429 QString strToolTip = QApplication::translate("UIIndicatorsPool",430 "<nobr>Indicates the activity of the "431 "audio device:</nobr>%1", "Audio tooltip");432 420 QString strFullData; 433 421 … … 460 448 461 449 /* Update tool-tip: */ 462 setToolTip(s trToolTip.arg(s_strTable.arg(strFullData)));450 setToolTip(s_strTable.arg(strFullData)); 463 451 } 464 452 }; … … 533 521 534 522 /* Prepare tool-tip: */ 535 QString strToolTip = QApplication::translate("UIIndicatorsPool",536 "<nobr>Indicates the activity of the "537 "network interfaces:</nobr>%1", "Network tooltip");538 523 QString strFullData; 539 524 … … 597 582 598 583 /* Update tool-tip: */ 599 setToolTip(s trToolTip.arg(s_strTable.arg(strFullData)));584 setToolTip(s_strTable.arg(strFullData)); 600 585 /* Update indicator state: */ 601 586 setState(fAdaptersPresent && !fCablesDisconnected ? KDeviceActivity_Idle : KDeviceActivity_Null); … … 638 623 639 624 /* Prepare tool-tip: */ 640 QString strToolTip = QApplication::translate("UIIndicatorsPool",641 "<nobr>Indicates the activity of the attached "642 "USB devices:</nobr>%1", "USB tooltip");643 625 QString strFullData; 644 626 … … 664 646 665 647 /* Update tool-tip: */ 666 setToolTip(s trToolTip.arg(s_strTable.arg(strFullData)));648 setToolTip(s_strTable.arg(strFullData)); 667 649 /* Update indicator state: */ 668 650 setState(fUSBEnabled ? KDeviceActivity_Idle : KDeviceActivity_Null); … … 702 684 703 685 /* Prepare tool-tip: */ 704 QString strToolTip = QApplication::translate("UIIndicatorsPool",705 "<nobr>Indicates the activity of the machine's "706 "shared folders:</nobr>%1", "Shared folders tooltip");707 686 QString strFullData; 708 687 … … 729 708 730 709 /* Update tool-tip: */ 731 setToolTip(s trToolTip.arg(s_strTable.arg(strFullData)));710 setToolTip(s_strTable.arg(strFullData)); 732 711 /* Update indicator state: */ 733 712 setState(!sfs.isEmpty() ? KDeviceActivity_Idle : KDeviceActivity_Null); … … 764 743 765 744 /* Prepare tool-tip: */ 766 QString strToolTip = QApplication::translate("UIIndicatorsPool",767 "<nobr>Indicates the activity of the "768 "display:</nobr>%1", "Display tooltip");769 745 QString strFullData; 770 746 … … 796 772 797 773 /* Update tool-tip: */ 798 setToolTip(s trToolTip.arg(s_strTable.arg(strFullData)));774 setToolTip(s_strTable.arg(strFullData)); 799 775 /* Set initial indicator state: */ 800 776 setState(fAcceleration3D ? KDeviceActivity_Idle : KDeviceActivity_Null); … … 904 880 905 881 /* Prepare tool-tip: */ 906 QString strToolTip = QApplication::translate("UIIndicatorsPool",907 "<nobr>Indicates video capturing "908 "activity:</nobr>%1", "Video capture tooltip");909 882 QString strFullData; 910 883 switch (state()) … … 929 902 930 903 /* Update tool-tip: */ 931 setToolTip(s trToolTip.arg(s_strTable.arg(strFullData)));904 setToolTip(s_strTable.arg(strFullData)); 932 905 } 933 906 … … 996 969 997 970 /* Prepare tool-tip: */ 998 const QString strToolTip = QApplication::translate("UIIndicatorsPool",999 "<nobr>Indicates the activity of the additional "1000 "features:</nobr>%1", "Virtualization Stuff LED");1001 971 QString strFullData; 1002 972 strFullData += s_strTableRow2.arg(VBoxGlobal::tr("VT-x/AMD-V", "details report"), strVirtualization); … … 1010 980 1011 981 /* Update tool-tip: */ 1012 setToolTip(s trToolTip.arg(s_strTable.arg(strFullData)));982 setToolTip(s_strTable.arg(strFullData)); 1013 983 /* Update indicator state: */ 1014 984 setState(m_pSession->isHWVirtExEnabled());
Note:
See TracChangeset
for help on using the changeset viewer.