VirtualBox

Changeset 71100 in vbox


Ignore:
Timestamp:
Feb 22, 2018 1:00:55 PM (7 years ago)
Author:
vboxsync
Message:

FE/Qt bugref:6699 Small improvements in tree widget

Location:
trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/guestctrl
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/guestctrl/UIGuestControlInterface.cpp

    r71089 r71100  
    130130                "                                   [--ignore-operhaned-processes] [--profile]\n"
    131131                "                                   -- <program/arg0> [argument1] ... [argumentN]]\n"
    132                 "createsession                      [common-options]  [--sessionname <name>]\n"
    133                 "mkdir                           [common-options]\n"
     132                "createsession                  [common-options]  [--sessionname <name>]\n"
     133                "mkdir                            [common-options]\n"
    134134                "                                   [-P|--parents] [<guest directory>\n"
    135135                "                                   [--sessionid <id> |  [sessionname <name>]]\n"
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/guestctrl/UIGuestControlTreeItem.cpp

    r71089 r71100  
    275275void UIGuestSessionTreeItem::addGuestProcess(CGuestProcess guestProcess)
    276276{
    277     QStringList strList;
    278     strList
    279         << QString("PID: %1").arg(guestProcess.GetPID())
    280         << QString("Process Name: %1").arg(guestProcess.GetName())
    281         << QString("Process Status: %1").arg(processStatusString(guestProcess.GetStatus()));
    282 
    283     UIGuestProcessTreeItem *newItem = new UIGuestProcessTreeItem(this, guestProcess, strList);
     277    UIGuestProcessTreeItem *newItem = new UIGuestProcessTreeItem(this, guestProcess);
    284278    connect(newItem, &UIGuestProcessTreeItem::sigGuestProcessErrorText,
    285279            this, &UIGuestSessionTreeItem::sigGuestSessionErrorText);
  • trunk/src/VBox/Frontends/VirtualBox/src/runtime/information/guestctrl/UIInformationGuestSession.cpp

    r71089 r71100  
    208208        m_pSplitter->addWidget(m_pTreeWidget);
    209209        m_pTreeWidget->setColumnCount(3);
     210        QStringList labels;
     211        labels << "" << "" << "";
     212
     213        m_pTreeWidget->setHeaderLabels(labels);
    210214    }
    211215    m_pConsole = new UIGuestControlConsole;
Note: See TracChangeset for help on using the changeset viewer.

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