VirtualBox

Changeset 76496 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Dec 27, 2018 12:44:09 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127797
Message:

FE/Qt: bugref:6699. Change table column resizing mode

Location:
trunk/src/VBox/Frontends/VirtualBox/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/globals/UICustomFileSystemModel.h

    r76495 r76496  
    3333    UICustomFileSystemModelColumn_Owner,
    3434    UICustomFileSystemModelColumn_Permissions,
     35    UICustomFileSystemModelColumn_Path,
    3536    UICustomFileSystemModelColumn_Max
    3637};
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIFileManagerTable.cpp

    r76495 r76496  
    466466        QHeaderView *pHorizontalHeader = m_pView->horizontalHeader();
    467467        if (pHorizontalHeader)
     468        {
    468469            pHorizontalHeader->setHighlightSections(false);
     470            pHorizontalHeader->setSectionResizeMode(QHeaderView::Stretch);
     471        }
    469472
    470473        m_pView->setModel(m_pProxyModel);
     
    481484        connect(m_pView, &UIGuestControlFileView::customContextMenuRequested,
    482485                this, &UIFileManagerTable::sltCreateFileViewContextMenu);
    483 
     486        m_pView->hideColumn(UICustomFileSystemModelColumn_Path);
    484487    }
    485488    m_pWarningLabel = new QILabel(this);
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette