43 class QStyleOptionViewItem;
127 QByteArray infosData;
128 QDataStream ostr { &infosData, QIODevice::WriteOnly };
131 mimeData->setData (name, infosData);
QString FormatName(const QString &name)
HTML-formats the name to let the user know it is not a part of the fixed dialog text.
QString ElideProgressBarText(const QString &text, const QStyleOptionViewItem &option)
void TintPalette(QWidget *widget, const QColor &color, double alpha, const QList< QPalette::ColorRole > &roles)
Mixes some of the widget's palette roles with the given color.
QColor TintColors(const QColor &c1, const QColor &c2, double alpha)
Mixes two colors with the given weights.
QLabel * ShowPixmapLabel(const QPixmap &srcPx, const QPoint &pos)
Shows a pixmap at the given pos.
void Save2MimeData(QMimeData *mimeData, const QString &name, const T &t)