VirtualBox

Changeset 77784 in vbox


Ignore:
Timestamp:
Mar 19, 2019 1:39:12 PM (6 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6699. Adding a bit more information to the property popup dialog of the guest session tree widget.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestControlTreeItem.cpp

    r77649 r77784  
    301301    strProperty += QString("<b>%1: </b>%2<br/>").arg(tr("Process Status")).arg(gpConverter->toInternalString(m_comGuestProcess.GetStatus()));
    302302    strProperty += QString("<b>%1: </b>%2<br/>").arg(tr("Executable Path")).arg(m_comGuestProcess.GetExecutablePath());
     303
     304    strProperty += QString("<b>%1: </b>").arg(tr("Arguments"));
     305    QVector<QString> processArguments = m_comGuestProcess.GetArguments();
     306    for (int i = 0; i < processArguments.size() - 1; ++i)
     307        strProperty += QString("%1, ").arg(processArguments.at(i));
     308    if (processArguments.size() > 0)
     309        strProperty += QString("%1<br/> ").arg(processArguments.last());
     310
    303311    return strProperty;
    304312}
  • trunk/src/VBox/Frontends/VirtualBox/src/guestctrl/UIGuestProcessControlWidget.cpp

    r77647 r77784  
    136136{
    137137    setSelectionMode(QAbstractItemView::SingleSelection);
     138    setAlternatingRowColors(true);
    138139}
    139140
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