VirtualBox

Changeset 63693 in vbox


Ignore:
Timestamp:
Sep 2, 2016 12:42:12 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
110453
Message:

FE/Qt: bugref:6899: Accessibility support (step 1): Selector UI: Extend chooser pane with additional API required for accessibility interface.

Location:
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooser.h

    r62493 r63693  
    6565    UIActionPool* actionPool() const;
    6666
     67    /** Return the Chooser-model reference. */
     68    UIGChooserModel* model() const { return m_pChooserModel; }
     69    /** Return the Chooser-view reference. */
     70    UIGChooserView* view() const { return m_pChooserView; }
     71
    6772    /* API: Current-item stuff: */
    6873    UIVMItem* currentItem() const;
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserView.cpp

    r62493 r63693  
    2424
    2525/* GUI includes: */
     26# include "UIGChooser.h"
    2627# include "UIGChooserView.h"
    2728# include "UIGChooserItem.h"
     
    3031
    3132
    32 UIGChooserView::UIGChooserView(QWidget *pParent)
     33UIGChooserView::UIGChooserView(UIGChooser *pParent)
    3334    : QIGraphicsView(pParent)
     35    , m_pChooser(pParent)
    3436    , m_iMinimumWidthHint(0)
    3537    , m_iMinimumHeightHint(0)
  • trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserView.h

    r62493 r63693  
    2323
    2424/* Forward declarations: */
     25class UIGChooser;
    2526class UIGChooserItem;
    2627
     
    3738public:
    3839
    39     /* Constructor: */
    40     UIGChooserView(QWidget *pParent);
     40    /** Constructs a chooser-view passing @a pParent to the base-class.
     41      * @param  pParent  Brings the chooser container to embed into. */
     42    UIGChooserView(UIGChooser *pParent);
     43
     44    /** Returns the chooser reference. */
     45    UIGChooser *chooser() const { return m_pChooser; }
    4146
    4247private slots:
     
    5762    void updateSceneRect();
    5863
     64    /** Holds the chooser reference. */
     65    UIGChooser *m_pChooser;
     66
    5967    /* Variables: */
    6068    int m_iMinimumWidthHint;
Note: See TracChangeset for help on using the changeset viewer.

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