VirtualBox

Ignore:
Timestamp:
Feb 12, 2016 11:14:29 AM (9 years ago)
Author:
vboxsync
Message:

FE/Qt: ​​​bugref:8088: Rework session-information window: UIInformationDialog class cleanup part(1).

File:
1 edited

Legend:

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

    r59151 r59648  
    3838# include "VBoxGlobal.h"
    3939# include "VBoxUtils.h"
    40 # include "UIGInformation.h"
     40# include "UIInformation.h"
    4141# include "UIMachine.h"
    4242# include "UIVMItem.h"
    43 # include "UIGRuntimeInformation.h"
     43# include "UIInformationRuntime.h"
    4444
    4545/* COM includes: */
     
    474474        /* Create tabs: */
    475475        /* Create Configuration details tab: */
    476         UIGInformation *pInformationWidget = new UIGInformation(this);
     476        UIInformation *pInformationWidget = new UIInformation(this, gpMachine->uisession()->machine(), gpMachine->uisession()->console());
    477477        AssertPtrReturnVoid(pInformationWidget);
    478478        {
    479             pInformationWidget->setItems(items);
     479            //pInformationWidget->setItems(items);
    480480            m_tabs.insert(0, pInformationWidget);
    481481            m_pTabWidget->addTab(m_tabs.value(0), QString());
     
    483483
    484484        /* Create Runtime information tab: */
    485         UIGRuntimeInformation *pRuntimeInformationWidget = new UIGRuntimeInformation(this);
    486         AssertPtrReturnVoid(pRuntimeInformationWidget);
    487         {
    488             pRuntimeInformationWidget->setItems(items);
    489             m_tabs.insert(1, pRuntimeInformationWidget);
     485        UIInformationRuntime *pInformationRuntimeWidget = new UIInformationRuntime(this, gpMachine->uisession()->machine(), gpMachine->uisession()->console());
     486        AssertPtrReturnVoid(pInformationRuntimeWidget);
     487        {
     488            m_tabs.insert(1, pInformationRuntimeWidget);
    490489            m_pTabWidget->addTab(m_tabs.value(1), QString());
    491490        }
     
    657656        CMachineDebugger debugger = console.GetDebugger();
    658657        QString strVirtualization = debugger.GetHWVirtExEnabled() ?
    659             VBoxGlobal::tr("Active", "details report (VT-x/AMD-V)") :
    660             VBoxGlobal::tr("Inactive", "details report (VT-x/AMD-V)");
     658                                    VBoxGlobal::tr("Active", "details report (VT-x/AMD-V)") :
     659                                    VBoxGlobal::tr("Inactive", "details report (VT-x/AMD-V)");
    661660        QString strNestedPaging = debugger.GetHWVirtExNestedPagingEnabled() ?
    662             VBoxGlobal::tr("Active", "details report (Nested Paging)") :
    663             VBoxGlobal::tr("Inactive", "details report (Nested Paging)");
     661                                  VBoxGlobal::tr("Active", "details report (Nested Paging)") :
     662                                  VBoxGlobal::tr("Inactive", "details report (Nested Paging)");
    664663        QString strUnrestrictedExecution = debugger.GetHWVirtExUXEnabled() ?
    665             VBoxGlobal::tr("Active", "details report (Unrestricted Execution)") :
    666             VBoxGlobal::tr("Inactive", "details report (Unrestricted Execution)");
     664                                           VBoxGlobal::tr("Active", "details report (Unrestricted Execution)") :
     665                                           VBoxGlobal::tr("Inactive", "details report (Unrestricted Execution)");
    667666        QString strParavirtProvider = gpConverter->toString(m.GetEffectiveParavirtProvider());
    668667
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