Changeset 63693 in vbox
- Timestamp:
- Sep 2, 2016 12:42:12 PM (9 years ago)
- svn:sync-xref-src-repo-rev:
- 110453
- 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 65 65 UIActionPool* actionPool() const; 66 66 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 67 72 /* API: Current-item stuff: */ 68 73 UIVMItem* currentItem() const; -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserView.cpp
r62493 r63693 24 24 25 25 /* GUI includes: */ 26 # include "UIGChooser.h" 26 27 # include "UIGChooserView.h" 27 28 # include "UIGChooserItem.h" … … 30 31 31 32 32 UIGChooserView::UIGChooserView( QWidget*pParent)33 UIGChooserView::UIGChooserView(UIGChooser *pParent) 33 34 : QIGraphicsView(pParent) 35 , m_pChooser(pParent) 34 36 , m_iMinimumWidthHint(0) 35 37 , m_iMinimumHeightHint(0) -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserView.h
r62493 r63693 23 23 24 24 /* Forward declarations: */ 25 class UIGChooser; 25 26 class UIGChooserItem; 26 27 … … 37 38 public: 38 39 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; } 41 46 42 47 private slots: … … 57 62 void updateSceneRect(); 58 63 64 /** Holds the chooser reference. */ 65 UIGChooser *m_pChooser; 66 59 67 /* Variables: */ 60 68 int m_iMinimumWidthHint;
Note:
See TracChangeset
for help on using the changeset viewer.