VirtualBox

Ignore:
Timestamp:
May 26, 2014 1:43:40 PM (11 years ago)
Author:
vboxsync
Message:

FE/Qt: Global Preferences: Input page: Allow to open page directly on corresponding tab.

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

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.cpp

    r50860 r51396  
    5353    m_pSelectorFilterEditor = new QLineEdit(pSelectorTab);
    5454    m_pSelectorModel = new UIHotKeyTableModel(this, UIActionPoolType_Selector);
    55     m_pSelectorTable = new UIHotKeyTable(pSelectorTab, m_pSelectorModel);
     55    m_pSelectorTable = new UIHotKeyTable(pSelectorTab, m_pSelectorModel, "m_pSelectorTable");
    5656    connect(m_pSelectorFilterEditor, SIGNAL(textChanged(const QString &)),
    5757            m_pSelectorModel, SLOT(sltHandleFilterTextChange(const QString &)));
     
    6969    m_pMachineFilterEditor = new QLineEdit(pMachineTab);
    7070    m_pMachineModel = new UIHotKeyTableModel(this, UIActionPoolType_Runtime);
    71     m_pMachineTable = new UIHotKeyTable(pMachineTab, m_pMachineModel);
     71    m_pMachineTable = new UIHotKeyTable(pMachineTab, m_pMachineModel, "m_pMachineTable");
    7272    connect(m_pMachineFilterEditor, SIGNAL(textChanged(const QString &)),
    7373            m_pMachineModel, SLOT(sltHandleFilterTextChange(const QString &)));
     
    534534
    535535
    536 UIHotKeyTable::UIHotKeyTable(QWidget *pParent, UIHotKeyTableModel *pModel)
     536UIHotKeyTable::UIHotKeyTable(QWidget *pParent, UIHotKeyTableModel *pModel, const QString &strObjectName)
    537537    : QTableView(pParent)
    538538{
     539    /* Set object name: */
     540    setObjectName(strObjectName);
     541
    539542    /* Connect model: */
    540543    setModel(pModel);
  • trunk/src/VBox/Frontends/VirtualBox/src/settings/global/UIGlobalSettingsInput.h

    r47944 r51396  
    242242
    243243    /* Constructor: */
    244     UIHotKeyTable(QWidget *pParent, UIHotKeyTableModel *pModel);
     244    UIHotKeyTable(QWidget *pParent, UIHotKeyTableModel *pModel, const QString &strObjectName);
    245245
    246246private slots:
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