TTKMusicPlayer
4.1.3.0
TTKMusicPlayer imitates Kugou UI, the music player uses of qmmp core library based on Qt for windows and linux
|
The class of the desktop screen wrapper. More...
#include <ttkdesktopwrapper.h>
Classes | |
struct | TaskbarInfo |
Static Public Member Functions | |
static TaskbarInfo | screenTaskbar (int index=0) |
static QRect | availableGeometry (int index=0) |
static QRect | screenGeometry (int index=0) |
static QRect | geometry () |
static QPixmap | grabWidget (QWidget *widget, const QRect &rect) |
static QPixmap | grabWindow (int x=0, int y=0, int w=-1, int h=-1) |
The class of the desktop screen wrapper.
Definition at line 33 of file ttkdesktopwrapper.h.
|
static |
Get available geometry by given screen index.
Definition at line 44 of file ttkdesktopwrapper.cpp.
Referenced by screenTaskbar().
|
static |
Get all screen geometry.
Definition at line 67 of file ttkdesktopwrapper.cpp.
Referenced by grabWindow().
|
static |
Grab widget geometry pixmap by given rect.
Definition at line 83 of file ttkdesktopwrapper.cpp.
Referenced by MusicFunctionToolBoxTopWidget::mouseMoveEvent(), and MusicLrcPosterWidget::saveButtonClicked().
Grab all screen geometry pixmap by given rect.
Definition at line 92 of file ttkdesktopwrapper.cpp.
References geometry().
|
static |
Get screen geometry by given screen index.
Definition at line 56 of file ttkdesktopwrapper.cpp.
Referenced by TTK::Widget::adjustWidgetPosition(), MusicApplicationModule::cleanup(), TTKToastLabel::popup(), MusicApplicationModule::resetWindowGeometry(), MusicVideoPlayWidget::resizeGeometry(), MusicScreenSaverBackgroundWidget::runningTimeout(), screenTaskbar(), MusicApplicationModule::sideAnimationByOff(), and MusicApplicationModule::sideAnimationByOn().
|
static |
Get screen taskbar info by given screen index.
Definition at line 10 of file ttkdesktopwrapper.cpp.
References availableGeometry(), TTK::Bottom, TTK::Left, TTKDesktopWrapper::TaskbarInfo::m_direction, TTKDesktopWrapper::TaskbarInfo::m_size, TTK::No, TTK::Right, screenGeometry(), and TTK::Top.
Referenced by MusicApplicationModule::sideAnimationByOn().