- Timestamp:
- Jul 17, 2023 3:53:44 PM (15 months ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src
- Files:
-
- 4 edited
-
globals/UICustomFileSystemModel.cpp (modified) (1 diff)
-
globals/UICustomFileSystemModel.h (modified) (1 diff)
-
guestctrl/UIFileManagerTable.cpp (modified) (1 diff)
-
medium/viso/UIVisoContentBrowser.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICustomFileSystemModel.cpp
r100601 r100604 492 492 return item->data(index.column()); 493 493 } 494 if (index.column() == UICustomFileSystemModelData_DescendantRemovedFromVISO) 495 { 496 if (item->data(UICustomFileSystemModelData_DescendantRemovedFromVISO).toBool()) 497 return QString(QApplication::translate("UIVisoCreatorWidget", "Yes")); 498 else 499 return QString(QApplication::translate("UIVisoCreatorWidget", "No")); 500 } 494 501 return item->data(index.column()); 495 502 } -
trunk/src/VBox/Frontends/VirtualBox/src/globals/UICustomFileSystemModel.h
r100601 r100604 51 51 UICustomFileSystemModelData_ISOFilePath, /* in case of import-iso this contains full path of the container iso file. */ 52 52 UICustomFileSystemModelData_RemovedFromVISO, 53 UICustomFileSystemModelData_DescendantRemovedFromVISO, 53 54 UICustomFileSystemModelData_Max 54 55 }; -
trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerTable.cpp
r100460 r100604 497 497 this, &UIFileManagerTable::sltCreateFileViewContextMenu); 498 498 m_pView->hideColumn(UICustomFileSystemModelData_LocalPath); 499 m_pView->hideColumn(UICustomFileSystemModelData_ISOFilePath); 500 m_pView->hideColumn(UICustomFileSystemModelData_RemovedFromVISO); 501 m_pView->hideColumn(UICustomFileSystemModelData_DescendantRemovedFromVISO); 502 499 503 m_sessionWidgets << m_pView; 500 504 } -
trunk/src/VBox/Frontends/VirtualBox/src/medium/viso/UIVisoContentBrowser.cpp
r100601 r100604 423 423 pRootItem->setData(QApplication::translate("UIVisoCreatorWidget", "Permissions"), UICustomFileSystemModelData_Permissions); 424 424 pRootItem->setData(QApplication::translate("UIVisoCreatorWidget", "Local Path"), UICustomFileSystemModelData_LocalPath); 425 pRootItem->setData(QApplication::translate("UIVisoCreatorWidget", "Has Removed Child"), UICustomFileSystemModelData_DescendantRemovedFromVISO); 425 426 } 426 427 if (m_pSubMenu) … … 531 532 Q_UNUSED(fRemoved); 532 533 pItem->setRemovedFromViso(true); 534 UICustomFileSystemItem *pRoot = rootItem(); 533 535 UICustomFileSystemItem *pParent = pItem->parentItem(); 534 while (pParent) 536 537 while (pParent && pParent != pRoot) 535 538 { 536 539 pParent->setToolTip(QApplication::translate("UIVisoCreatorWidget", "Child/children removed")); 540 pParent->setData(true, UICustomFileSystemModelData_DescendantRemovedFromVISO); 537 541 pParent = pParent->parentItem(); 538 542 }
Note:
See TracChangeset
for help on using the changeset viewer.

