VirtualBox

Changeset 64748 in vbox


Ignore:
Timestamp:
Nov 24, 2016 5:19:19 PM (8 years ago)
Author:
vboxsync
Message:

FE/Qt: bugref:6899: Accessibility support (step 140): Move UIApplianceEditorWidget tree-view onto QITreeView rails.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/widgets
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.cpp

    r64747 r64748  
    2929# include <QSpinBox>
    3030# include <QTextEdit>
    31 # include <QTreeView>
    3231
    3332/* GUI includes: */
     33# include "QITreeView.h"
    3434# include "VBoxGlobal.h"
    3535# include "VBoxOSTypeSelectorButton.h"
     
    5353
    5454    /** Constructs root item with specified @a iNumber, @a enmType and @a pParent. */
    55     UIApplianceModelItem(int iNumber, ApplianceModelItemType enmType, QTreeView *pParent);
     55    UIApplianceModelItem(int iNumber, ApplianceModelItemType enmType, QITreeView *pParent);
    5656    /** Constructs non-root item with specified @a iNumber, @a enmType and @a pParentItem. */
    5757    UIApplianceModelItem(int iNumber, ApplianceModelItemType enmType, UIApplianceModelItem *pParentItem);
     
    215215*********************************************************************************************************************************/
    216216
    217 UIApplianceModelItem::UIApplianceModelItem(int iNumber, ApplianceModelItemType enmType, QTreeView *pParent)
     217UIApplianceModelItem::UIApplianceModelItem(int iNumber, ApplianceModelItemType enmType, QITreeView * /* pParent */)
    218218    : m_iNumber(iNumber)
    219219    , m_enmType(enmType)
     
    908908*********************************************************************************************************************************/
    909909
    910 UIApplianceModel::UIApplianceModel(QVector<CVirtualSystemDescription>& aVSDs, QTreeView *pParent)
     910UIApplianceModel::UIApplianceModel(QVector<CVirtualSystemDescription>& aVSDs, QITreeView *pParent)
    911911    : QAbstractItemModel(pParent)
    912912    , m_pRootItem(new UIApplianceModelItem(0, ApplianceModelItemType_Root, pParent))
     
    13191319
    13201320                /* Create tree-view: */
    1321                 m_pTreeViewSettings = new QTreeView;
     1321                m_pTreeViewSettings = new QITreeView;
    13221322                {
    13231323                    /* Configure tree-view: */
     
    14001400void UIApplianceEditorWidget::retranslateUi()
    14011401{
     1402    /* Translate information pane tree-view: */
     1403    m_pTreeViewSettings->setWhatsThis(tr("Lists all the Virtual Systems current Appliance have"));
     1404
    14021405    /* Translate information pane check-box: */
    14031406    m_pCheckBoxReinitMACs->setText(tr("&Reinitialize the MAC address of all network cards"));
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceEditorWidget.h

    r64747 r64748  
    3737class QLabel;
    3838class QTextEdit;
    39 class QTreeView;
     39class QITreeView;
    4040
    4141
     
    6767    /** Constructs the Appliance model passing @a pParent to the base-class.
    6868      * @param  aVSDs  Brings the Virtual System descriptions. */
    69     UIApplianceModel(QVector<CVirtualSystemDescription>& aVSDs, QTreeView *pParent);
     69    UIApplianceModel(QVector<CVirtualSystemDescription>& aVSDs, QITreeView *pParent);
    7070    /** Destructs the Appliance model. */
    7171    ~UIApplianceModel();
     
    219219    QWidget   *m_pPaneInformation;
    220220    /** Holds the settings tree-view instance. */
    221     QTreeView *m_pTreeViewSettings;
     221    QITreeView *m_pTreeViewSettings;
    222222    /** Holds the 'reinit MACs' check-box instance. */
    223223    QCheckBox *m_pCheckBoxReinitMACs;
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceExportEditorWidget.cpp

    r64747 r64748  
    2222/* Qt includes: */
    2323# include <QTextEdit>
    24 # include <QTreeView>
    2524
    2625/* GUI includes: */
     26# include "QITreeView.h"
    2727# include "UIApplianceExportEditorWidget.h"
    2828# include "VBoxGlobal.h"
  • trunk/src/VBox/Frontends/VirtualBox/src/widgets/UIApplianceImportEditorWidget.cpp

    r64747 r64748  
    2323# include <QCheckBox>
    2424# include <QTextEdit>
    25 # include <QTreeView>
    2625
    2726/* GUI includes: */
     27# include "QITreeView.h"
    2828# include "UIApplianceImportEditorWidget.h"
    2929# include "VBoxGlobal.h"
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