Changeset 76498 in vbox for trunk/src/VBox/Frontends
- Timestamp:
- Dec 27, 2018 1:13:30 PM (6 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICustomFileSystemModel.cpp
r76497 r76498 533 533 void UICustomFileSystemModel::initializeTree() 534 534 { 535 m_pRootItem = new UICustomFileSystemItem( QApplication::tr("UIFileManager","Name"), 0, KFsObjType_Directory);536 m_pRootItem->setData( QApplication::tr("UIFileManager","Size"), UICustomFileSystemModelColumn_Size);537 m_pRootItem->setData( QApplication::tr("UIFileManager","Change Time"), UICustomFileSystemModelColumn_ChangeTime);538 m_pRootItem->setData( QApplication::tr("UIFileManager","Owner"), UICustomFileSystemModelColumn_Owner);539 m_pRootItem->setData( QApplication::tr("UIFileManager","Permissions"), UICustomFileSystemModelColumn_Permissions);540 m_pRootItem->setData( QApplication::tr("UIFileManager","LocalPath"), UICustomFileSystemModelColumn_LocalPath);541 m_pRootItem->setData( QApplication::tr("UIFileManager","Path"), UICustomFileSystemModelColumn_Path);542 } 535 m_pRootItem = new UICustomFileSystemItem(UICustomFileSystemModel::tr("Name"), 0, KFsObjType_Directory); 536 m_pRootItem->setData(UICustomFileSystemModel::tr("Size"), UICustomFileSystemModelColumn_Size); 537 m_pRootItem->setData(UICustomFileSystemModel::tr("Change Time"), UICustomFileSystemModelColumn_ChangeTime); 538 m_pRootItem->setData(UICustomFileSystemModel::tr("Owner"), UICustomFileSystemModelColumn_Owner); 539 m_pRootItem->setData(UICustomFileSystemModel::tr("Permissions"), UICustomFileSystemModelColumn_Permissions); 540 m_pRootItem->setData(UICustomFileSystemModel::tr("LocalPath"), UICustomFileSystemModelColumn_LocalPath); 541 m_pRootItem->setData(UICustomFileSystemModel::tr("Path"), UICustomFileSystemModelColumn_Path); 542 } -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerTable.cpp
r76496 r76498 485 485 this, &UIFileManagerTable::sltCreateFileViewContextMenu); 486 486 m_pView->hideColumn(UICustomFileSystemModelColumn_Path); 487 m_pView->hideColumn(UICustomFileSystemModelColumn_LocalPath); 487 488 } 488 489 m_pWarningLabel = new QILabel(this); … … 968 969 if (pRootItem) 969 970 { 970 pRootItem->setData(UI FileManager::tr("Name"), UICustomFileSystemModelColumn_Name);971 pRootItem->setData(UI FileManager::tr("Size"), UICustomFileSystemModelColumn_Size);972 pRootItem->setData(UI FileManager::tr("Change Time"), UICustomFileSystemModelColumn_ChangeTime);973 pRootItem->setData(UI FileManager::tr("Owner"), UICustomFileSystemModelColumn_Owner);974 pRootItem->setData(UI FileManager::tr("Permissions"), UICustomFileSystemModelColumn_Permissions);971 pRootItem->setData(UICustomFileSystemModel::tr("Name"), UICustomFileSystemModelColumn_Name); 972 pRootItem->setData(UICustomFileSystemModel::tr("Size"), UICustomFileSystemModelColumn_Size); 973 pRootItem->setData(UICustomFileSystemModel::tr("Change Time"), UICustomFileSystemModelColumn_ChangeTime); 974 pRootItem->setData(UICustomFileSystemModel::tr("Owner"), UICustomFileSystemModelColumn_Owner); 975 pRootItem->setData(UICustomFileSystemModel::tr("Permissions"), UICustomFileSystemModelColumn_Permissions); 975 976 } 976 977 if (m_pWarningLabel)
Note:
See TracChangeset
for help on using the changeset viewer.