Changeset 100901 in vbox
- Timestamp:
- Aug 17, 2023 6:40:00 PM (16 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/guestctrl
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerPanel.cpp
r100895 r100901 397 397 preparePreferencesTab(); 398 398 prepareLogTab(); 399 prepareOperationsTab(); 399 400 } 400 401 … … 444 445 pPreferencesLayout->addItem(new QSpacerItem(0, 0, QSizePolicy::Minimum, QSizePolicy::Expanding), 2, 0, 1, 2); 445 446 446 m_pTabWidget-> addTab(pPreferencesTab, QApplication::translate("UIFileManager", "Preferences"));447 m_pTabWidget->insertTab(Page_Preferences, pPreferencesTab, QString()); 447 448 } 448 449 … … 457 458 if (m_pLogTextEdit) 458 459 pLogLayout->addWidget(m_pLogTextEdit); 459 m_pTabWidget-> addTab(pLogTab, QApplication::translate("UIFileManager", "Log"));460 m_pTabWidget->insertTab(Page_Log, pLogTab, QString()); 460 461 } 461 462 … … 485 486 pOperationsTab->setLayout(m_pOperationsTabLayout); 486 487 m_pOperationsTabLayout->addStretch(4); 487 m_pTabWidget-> addTab(m_pScrollArea, QApplication::translate("UIFileManager", "Operations"));488 m_pTabWidget->insertTab(Page_Operations, m_pScrollArea, QString()); 488 489 } 489 490 … … 546 547 m_pShowHiddenObjectsCheckBox->setText(QApplication::translate("UIFileManager", "Show hidden objects")); 547 548 m_pShowHiddenObjectsCheckBox->setToolTip(QApplication::translate("UIFileManager", "Show hidden files/directories")); 549 } 550 if (m_pTabWidget) 551 { 552 m_pTabWidget->setTabText(Page_Preferences, QApplication::translate("UIFileManager", "Preferences")); 553 m_pTabWidget->setTabText(Page_Log, QApplication::translate("UIFileManager", "Log")); 554 m_pTabWidget->setTabText(Page_Operations, QApplication::translate("UIFileManager", "Operations")); 548 555 } 549 556 } -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerPanel.h
r100895 r100901 71 71 void addNewProgress(const CProgress &comProgress, const QString &strSourceTableName); 72 72 73 enum Page 74 { 75 Page_Preferences = 0, 76 Page_Log, 77 Page_Operations, 78 Page_Max 79 }; 80 81 73 82 protected: 74 83
Note:
See TracChangeset
for help on using the changeset viewer.