Changeset 50932 in vbox for trunk/src/VBox/Frontends/VirtualBox
- Timestamp:
- Mar 31, 2014 4:01:12 PM (11 years ago)
- Location:
- trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItem.cpp
r44051 r50932 354 354 355 355 /* static */ 356 void UIGChooserItem::paintPixmap(QPainter *pPainter, const Q Rect &rect, const QPixmap &pixmap)357 { 358 pPainter->drawPixmap( rect, pixmap);356 void UIGChooserItem::paintPixmap(QPainter *pPainter, const QPoint &point, const QPixmap &pixmap) 357 { 358 pPainter->drawPixmap(point, pixmap); 359 359 } 360 360 -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItem.h
r44051 r50932 162 162 static void configurePainterShape(QPainter *pPainter, const QStyleOptionGraphicsItem *pOption, int iRadius); 163 163 static void paintFrameRect(QPainter *pPainter, const QRect &rect, bool fIsSelected, int iRadius); 164 static void paintPixmap(QPainter *pPainter, const Q Rect &rect, const QPixmap &pixmap);164 static void paintPixmap(QPainter *pPainter, const QPoint &point, const QPixmap &pixmap); 165 165 static void paintText(QPainter *pPainter, QPoint point, 166 166 const QFont &font, QPaintDevice *pPaintDevice, -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemGroup.cpp
r46623 r50932 1735 1735 paintPixmap(/* Painter: */ 1736 1736 pPainter, 1737 /* Rectangleto paint in: */1738 Q Rect(QPoint(iMachinePixmapX, iMachinePixmapY), m_pixmapSizeMachines),1737 /* Point to paint in: */ 1738 QPoint(iMachinePixmapX, iMachinePixmapY), 1739 1739 /* Pixmap to paint: */ 1740 1740 m_machinesPixmap); … … 1765 1765 paintPixmap(/* Painter: */ 1766 1766 pPainter, 1767 /* Rectangleto paint in: */1768 Q Rect(QPoint(iGroupPixmapX, iGroupPixmapY), m_pixmapSizeGroups),1767 /* Point to paint in: */ 1768 QPoint(iGroupPixmapX, iGroupPixmapY), 1769 1769 /* Pixmap to paint: */ 1770 1770 m_groupsPixmap); -
trunk/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/UIGChooserItemMachine.cpp
r47160 r50932 952 952 paintPixmap(/* Painter: */ 953 953 pPainter, 954 /* Rectangleto paint in: */955 Q Rect(QPoint(iMachinePixmapX, iMachinePixmapY), m_pixmapSize),954 /* Point to paint in: */ 955 QPoint(iMachinePixmapX, iMachinePixmapY), 956 956 /* Pixmap to paint: */ 957 957 m_pixmap); … … 1029 1029 paintPixmap(/* Painter: */ 1030 1030 pPainter, 1031 /* Rectangleto paint in: */1032 Q Rect(QPoint(iMachineStatePixmapX, iMachineStatePixmapY), m_statePixmapSize),1031 /* Point to paint in: */ 1032 QPoint(iMachineStatePixmapX, iMachineStatePixmapY), 1033 1033 /* Pixmap to paint: */ 1034 1034 m_statePixmap);
Note:
See TracChangeset
for help on using the changeset viewer.