![]() |
LeechCraft
0.6.70-11552-gf61ee51c3d
Modular cross-platform feature rich live environment.
|
Include dependency graph for util.h:
This graph shows which files directly or indirectly include this file:Go to the source code of this file.
Namespaces | |
| LeechCraft | |
| LeechCraft::Util | |
Enumerations | |
| enum | LeechCraft::Util::FitFlag { LeechCraft::Util::NoFlags, LeechCraft::Util::NoOverlap = 0x01 } |
Functions | |
| LeechCraft::Util::Q_DECLARE_FLAGS (FitFlags, FitFlag) | |
| QPoint | LeechCraft::Util::FitRectScreen (QPoint pos, const QSize &size, FitFlags flags=NoFlags, const QPoint &shiftAdd=QPoint(0, 0)) |
| Tries to fit a rectangle (like a dialog or popup) into screen. More... | |
| QPoint | LeechCraft::Util::FitRect (QPoint pos, const QSize &size, const QRect &geometry, FitFlags flags=NoFlags, const QPoint &shiftAdd=QPoint(0, 0)) |
| Tries to fit a rectangle (like a dialog or popup) into geometry. More... | |
| QLabel * | LeechCraft::Util::ShowPixmapLabel (const QPixmap &pixmap, const QPoint &pos=QPoint()) |
| Shows a pixmap at the given pos. More... | |
| QColor | LeechCraft::Util::TintColors (const QColor &c1, const QColor &c2, double alpha=0.5) |
| Mixes two colors with the given weights. More... | |
| QString | LeechCraft::Util::ElideProgressBarText (const QString &text, const QStyleOptionViewItem &option) |
| void | LeechCraft::Util::TintPalette (QWidget *widget, const QColor &color, double alpha=0.5, const QList< QPalette::ColorRole > &roles={ QPalette::ColorRole::Text, QPalette::ColorRole::WindowText }) |
| Mixes some of the widget's palette roles with the given color. More... | |
| QString | LeechCraft::Util::FormatName (const QString &name) |
| HTML-formats the name to let the user know it is not a part of the fixed dialog text. More... | |
| template<typename T > | |
| void | LeechCraft::Util::Save2MimeData (QMimeData *mimeData, const QString &name, const T &t) |