LeechCraft  0.6.70-3565-g2d86529
Modular cross-platform feature rich live environment.
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
util.h File Reference
#include <QPoint>
#include "guiconfig.h"
+ 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...
 
 Q_DECLARE_OPERATORS_FOR_FLAGS (LeechCraft::Util::FitFlags)
 

Function Documentation

Q_DECLARE_OPERATORS_FOR_FLAGS ( LeechCraft::Util::FitFlags  )