95 FitFlags flags =
NoFlags,
const QPoint& shiftAdd = QPoint (0, 0));
124 FitFlags flags =
NoFlags,
const QPoint& shiftAdd = QPoint (0, 0));
189 QByteArray infosData;
190 QDataStream ostr { &infosData, QIODevice::WriteOnly };
193 mimeData->setData (name, infosData);
QLabel * ShowPixmapLabel(const QPixmap &srcPx, const QPoint &pos)
Shows a pixmap at the given pos.
Q_DECLARE_OPERATORS_FOR_FLAGS(LeechCraft::Util::FitFlags)
detail::ExprTree< detail::ExprType::LeafStaticPlaceholder, boost::mpl::int_< Idx >> pos
QPoint FitRectScreen(QPoint pos, const QSize &size, FitFlags flags, const QPoint &shiftAdd)
Tries to fit a rectangle (like a dialog or popup) into screen.
void Save2MimeData(QMimeData *mimeData, const QString &name, const T &t)
QColor TintColors(const QColor &c1, const QColor &c2, double alpha)
Mixes two colors with the given weights.
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.
QPoint FitRect(QPoint pos, const QSize &size, const QRect &geometry, FitFlags flags, const QPoint &shiftAdd)
Tries to fit a rectangle (like a dialog or popup) into geometry.
Q_DECLARE_FLAGS(FitFlags, FitFlag)