Searched defs:pPaintDevice (Results 1 - 5 of 5) sorted by relevance

/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/details/
H A DUIGDetailsItem.cpp155 const QFont &font, QPaintDevice *pPaintDevice,
159 QFontMetrics fm(font, pPaintDevice);
154 paintText(QPainter *pPainter, QPoint point, const QFont &font, QPaintDevice *pPaintDevice, const QString &strText, const QColor &color) argument
/vbox/src/VBox/Frontends/VirtualBox/src/selector/graphics/chooser/
H A DUIGChooserItem.cpp373 const QFont &font, QPaintDevice *pPaintDevice,
377 QFontMetrics fm(font, pPaintDevice);
388 QSize UIGChooserItem::textSize(const QFont &font, QPaintDevice *pPaintDevice, const QString &strText) argument
395 QFontMetrics fm(font, pPaintDevice);
400 int UIGChooserItem::textWidth(const QFont &font, QPaintDevice *pPaintDevice, int iCount) argument
403 QFontMetrics fm(font, pPaintDevice);
410 QString UIGChooserItem::compressText(const QFont &font, QPaintDevice *pPaintDevice, QString strText, int iWidth) argument
417 QFontMetrics fm(font, pPaintDevice);
372 paintText(QPainter *pPainter, QPoint point, const QFont &font, QPaintDevice *pPaintDevice, const QString &strText) argument
H A DUIGChooserItemMachine.cpp321 QPaintDevice *pPaintDevice = model()->paintDevice(); local
322 QFontMetrics fm(m_nameFont, pPaintDevice);
323 int iMinimumNameWidth = fm.width(compressText(m_nameFont, pPaintDevice, m_strName, textWidth(m_nameFont, pPaintDevice, 15)));
401 QPaintDevice *pPaintDevice = model()->paintDevice(); local
404 QString strVisibleName = compressText(m_nameFont, pPaintDevice, m_strName, m_iMaximumNameWidth);
405 QSize visibleNameSize = textSize(m_nameFont, pPaintDevice, strVisibleName);
424 QPaintDevice *pPaintDevice = model()->paintDevice(); local
427 int iBracketWidth = QFontMetrics(m_snapshotNameFont, pPaintDevice).width("()");
428 QString strVisibleSnapshotName = compressText(m_snapshotNameFont, pPaintDevice, m_strSnapshotNam
[all...]
H A DUIGChooserItemGroup.cpp514 QPaintDevice *pPaintDevice = model()->paintDevice(); local
515 QString strVisibleName = compressText(m_nameFont, pPaintDevice, name(), iMaximumWidth);
516 QSize visibleNameSize = textSize(m_nameFont, pPaintDevice, strVisibleName);
538 QPaintDevice *pPaintDevice = model()->paintDevice();
541 QSize infoSizeGroups = textSize(m_infoFont, pPaintDevice, strInfoGroups);
542 QSize infoSizeMachines = textSize(m_infoFont, pPaintDevice, strInfoMachines);
584 QPaintDevice *pPaintDevice = model()->paintDevice(); local
585 QFontMetrics fm(m_nameFont, pPaintDevice);
586 int iMaximumNameWidth = textWidth(m_nameFont, pPaintDevice, 20);
587 QString strCompressedName = compressText(m_nameFont, pPaintDevice, nam
[all...]
/vbox/src/VBox/Frontends/VirtualBox/src/widgets/graphics/
H A DUIGraphicsTextPane.cpp36 UIGraphicsTextPane::UIGraphicsTextPane(QIGraphicsWidget *pParent, QPaintDevice *pPaintDevice) argument
38 , m_pPaintDevice(pPaintDevice)
357 QTextLayout* UIGraphicsTextPane::buildTextLayout(const QFont &font, QPaintDevice *pPaintDevice, argument
362 QFontMetrics fm(font, pPaintDevice);
405 QTextLayout *pTextLayout = new QTextLayout(strModifiedText, font, pPaintDevice);
433 QString UIGraphicsTextPane::searchForHoveredAnchor(QPaintDevice *pPaintDevice, const QList<QTextLayout*> &list, const QPoint &mousePosition) argument
439 QFontMetrics fm(pTextLayout->font(), pPaintDevice);

Completed in 50 milliseconds