![]() |
LeechCraft
0.6.70-3565-g2d86529
Modular cross-platform feature rich live environment.
|
#include "util.h"
#include <QSize>
#include <QApplication>
#include <QDesktopWidget>
#include <QKeyEvent>
#include <QTimer>
#include <QLabel>
#include <QtDebug>
Go to the source code of this file.
Namespaces | |
LeechCraft | |
LeechCraft::Util | |
Functions | |
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... | |
QWidget* Display_ |
Definition at line 85 of file util.cpp.
Referenced by LeechCraft::Util::XWrapper::ClearStrut(), LeechCraft::Util::XWrapper::GetActiveApp(), LeechCraft::Util::XWrapper::GetAtom(), LeechCraft::Util::XWrapper::GetAvailableGeometry(), LeechCraft::Util::XWrapper::GetDisplay(), LeechCraft::Util::XWrapper::GetWindowIcon(), LeechCraft::Util::XWrapper::GetWindowTitle(), LeechCraft::Util::XWrapper::ResizeWindow(), LeechCraft::Util::XWrapper::SetStrut(), LeechCraft::Util::XWrapper::ShouldShow(), LeechCraft::Util::XWrapper::Subscribe(), and LeechCraft::Util::XWrapper::Sync().