Home
last modified time | relevance | path

Searched refs:desktopRect (Results 1 – 25 of 68) sorted by relevance

123

/dports/deskutils/lumina-screenshot/lumina-1.6.0/src-qt5/core/lumina-desktop/
H A DLDesktopPluginSpace.h56 QRect desktopRect; variable
75 pos.setX( RoundUp((pos.x()-desktopRect.x())/GRIDSIZE)); in posToGrid()
76 pos.setY( RoundUp((pos.y()-desktopRect.y())/GRIDSIZE)); in posToGrid()
81 grid.setX( (grid.x()*GRIDSIZE)+desktopRect.x() ); in gridToPos()
82 grid.setY( (grid.y()*GRIDSIZE)+desktopRect.y() ); in gridToPos()
89 …return QRect( RoundUp((geom.x()-desktopRect.x())/GRIDSIZE), RoundUp((geom.y()-desktopRect.y())/GRI…
95 …return QRect( RoundUp((geom.x()-desktopRect.x())/((double) grid)), RoundUp((geom.y()-desktopRect.y…
102 …QRect geom((grid.x()*GRIDSIZE)+desktopRect.x(), (grid.y()*GRIDSIZE)+desktopRect.y(), grid.width()*… in gridToGeom()
106 if(geom.right() > desktopRect.right() && (geom.right()-desktopRect.right())<GRIDSIZE ){ in gridToGeom()
109 if(geom.bottom() > desktopRect.bottom() && (geom.bottom() -desktopRect.bottom())<GRIDSIZE ){ in gridToGeom()
[all …]
/dports/deskutils/lumina-mediaplayer/lumina-1.6.0/src-qt5/core/lumina-desktop/
H A DLDesktopPluginSpace.h56 QRect desktopRect; variable
75 pos.setX( RoundUp((pos.x()-desktopRect.x())/GRIDSIZE)); in posToGrid()
76 pos.setY( RoundUp((pos.y()-desktopRect.y())/GRIDSIZE)); in posToGrid()
81 grid.setX( (grid.x()*GRIDSIZE)+desktopRect.x() ); in gridToPos()
82 grid.setY( (grid.y()*GRIDSIZE)+desktopRect.y() ); in gridToPos()
89 …return QRect( RoundUp((geom.x()-desktopRect.x())/GRIDSIZE), RoundUp((geom.y()-desktopRect.y())/GRI…
95 …return QRect( RoundUp((geom.x()-desktopRect.x())/((double) grid)), RoundUp((geom.y()-desktopRect.y…
102 …QRect geom((grid.x()*GRIDSIZE)+desktopRect.x(), (grid.y()*GRIDSIZE)+desktopRect.y(), grid.width()*… in gridToGeom()
106 if(geom.right() > desktopRect.right() && (geom.right()-desktopRect.right())<GRIDSIZE ){ in gridToGeom()
109 if(geom.bottom() > desktopRect.bottom() && (geom.bottom() -desktopRect.bottom())<GRIDSIZE ){ in gridToGeom()
[all …]
/dports/deskutils/lumina-photo/lumina-1.6.0/src-qt5/core/lumina-desktop/
H A DLDesktopPluginSpace.h56 QRect desktopRect; variable
75 pos.setX( RoundUp((pos.x()-desktopRect.x())/GRIDSIZE)); in posToGrid()
76 pos.setY( RoundUp((pos.y()-desktopRect.y())/GRIDSIZE)); in posToGrid()
81 grid.setX( (grid.x()*GRIDSIZE)+desktopRect.x() ); in gridToPos()
82 grid.setY( (grid.y()*GRIDSIZE)+desktopRect.y() ); in gridToPos()
89 …return QRect( RoundUp((geom.x()-desktopRect.x())/GRIDSIZE), RoundUp((geom.y()-desktopRect.y())/GRI…
95 …return QRect( RoundUp((geom.x()-desktopRect.x())/((double) grid)), RoundUp((geom.y()-desktopRect.y…
102 …QRect geom((grid.x()*GRIDSIZE)+desktopRect.x(), (grid.y()*GRIDSIZE)+desktopRect.y(), grid.width()*… in gridToGeom()
106 if(geom.right() > desktopRect.right() && (geom.right()-desktopRect.right())<GRIDSIZE ){ in gridToGeom()
109 if(geom.bottom() > desktopRect.bottom() && (geom.bottom() -desktopRect.bottom())<GRIDSIZE ){ in gridToGeom()
[all …]
/dports/deskutils/lumina-fm/lumina-1.6.0/src-qt5/core/lumina-desktop/
H A DLDesktopPluginSpace.h56 QRect desktopRect; variable
75 pos.setX( RoundUp((pos.x()-desktopRect.x())/GRIDSIZE)); in posToGrid()
76 pos.setY( RoundUp((pos.y()-desktopRect.y())/GRIDSIZE)); in posToGrid()
81 grid.setX( (grid.x()*GRIDSIZE)+desktopRect.x() ); in gridToPos()
82 grid.setY( (grid.y()*GRIDSIZE)+desktopRect.y() ); in gridToPos()
89 …return QRect( RoundUp((geom.x()-desktopRect.x())/GRIDSIZE), RoundUp((geom.y()-desktopRect.y())/GRI…
95 …return QRect( RoundUp((geom.x()-desktopRect.x())/((double) grid)), RoundUp((geom.y()-desktopRect.y…
102 …QRect geom((grid.x()*GRIDSIZE)+desktopRect.x(), (grid.y()*GRIDSIZE)+desktopRect.y(), grid.width()*… in gridToGeom()
106 if(geom.right() > desktopRect.right() && (geom.right()-desktopRect.right())<GRIDSIZE ){ in gridToGeom()
109 if(geom.bottom() > desktopRect.bottom() && (geom.bottom() -desktopRect.bottom())<GRIDSIZE ){ in gridToGeom()
[all …]
/dports/deskutils/lumina-textedit/lumina-1.6.0/src-qt5/core/lumina-desktop/
H A DLDesktopPluginSpace.h56 QRect desktopRect; variable
75 pos.setX( RoundUp((pos.x()-desktopRect.x())/GRIDSIZE)); in posToGrid()
76 pos.setY( RoundUp((pos.y()-desktopRect.y())/GRIDSIZE)); in posToGrid()
81 grid.setX( (grid.x()*GRIDSIZE)+desktopRect.x() ); in gridToPos()
82 grid.setY( (grid.y()*GRIDSIZE)+desktopRect.y() ); in gridToPos()
89 …return QRect( RoundUp((geom.x()-desktopRect.x())/GRIDSIZE), RoundUp((geom.y()-desktopRect.y())/GRI…
95 …return QRect( RoundUp((geom.x()-desktopRect.x())/((double) grid)), RoundUp((geom.y()-desktopRect.y…
102 …QRect geom((grid.x()*GRIDSIZE)+desktopRect.x(), (grid.y()*GRIDSIZE)+desktopRect.y(), grid.width()*… in gridToGeom()
106 if(geom.right() > desktopRect.right() && (geom.right()-desktopRect.right())<GRIDSIZE ){ in gridToGeom()
109 if(geom.bottom() > desktopRect.bottom() && (geom.bottom() -desktopRect.bottom())<GRIDSIZE ){ in gridToGeom()
[all …]
/dports/deskutils/lumina-fileinfo/lumina-1.6.0/src-qt5/core/lumina-desktop/
H A DLDesktopPluginSpace.h56 QRect desktopRect; variable
75 pos.setX( RoundUp((pos.x()-desktopRect.x())/GRIDSIZE)); in posToGrid()
76 pos.setY( RoundUp((pos.y()-desktopRect.y())/GRIDSIZE)); in posToGrid()
81 grid.setX( (grid.x()*GRIDSIZE)+desktopRect.x() ); in gridToPos()
82 grid.setY( (grid.y()*GRIDSIZE)+desktopRect.y() ); in gridToPos()
89 …return QRect( RoundUp((geom.x()-desktopRect.x())/GRIDSIZE), RoundUp((geom.y()-desktopRect.y())/GRI…
95 …return QRect( RoundUp((geom.x()-desktopRect.x())/((double) grid)), RoundUp((geom.y()-desktopRect.y…
102 …QRect geom((grid.x()*GRIDSIZE)+desktopRect.x(), (grid.y()*GRIDSIZE)+desktopRect.y(), grid.width()*… in gridToGeom()
106 if(geom.right() > desktopRect.right() && (geom.right()-desktopRect.right())<GRIDSIZE ){ in gridToGeom()
109 if(geom.bottom() > desktopRect.bottom() && (geom.bottom() -desktopRect.bottom())<GRIDSIZE ){ in gridToGeom()
[all …]
/dports/x11/lumina-coreutils/lumina-1.6.0/src-qt5/core/lumina-desktop/
H A DLDesktopPluginSpace.h56 QRect desktopRect; variable
75 pos.setX( RoundUp((pos.x()-desktopRect.x())/GRIDSIZE)); in posToGrid()
76 pos.setY( RoundUp((pos.y()-desktopRect.y())/GRIDSIZE)); in posToGrid()
81 grid.setX( (grid.x()*GRIDSIZE)+desktopRect.x() ); in gridToPos()
82 grid.setY( (grid.y()*GRIDSIZE)+desktopRect.y() ); in gridToPos()
89 …return QRect( RoundUp((geom.x()-desktopRect.x())/GRIDSIZE), RoundUp((geom.y()-desktopRect.y())/GRI…
95 …return QRect( RoundUp((geom.x()-desktopRect.x())/((double) grid)), RoundUp((geom.y()-desktopRect.y…
102 …QRect geom((grid.x()*GRIDSIZE)+desktopRect.x(), (grid.y()*GRIDSIZE)+desktopRect.y(), grid.width()*… in gridToGeom()
106 if(geom.right() > desktopRect.right() && (geom.right()-desktopRect.right())<GRIDSIZE ){ in gridToGeom()
109 if(geom.bottom() > desktopRect.bottom() && (geom.bottom() -desktopRect.bottom())<GRIDSIZE ){ in gridToGeom()
[all …]
/dports/x11/lumina-core/lumina-1.6.0/src-qt5/core/lumina-desktop/
H A DLDesktopPluginSpace.h56 QRect desktopRect; variable
75 pos.setX( RoundUp((pos.x()-desktopRect.x())/GRIDSIZE)); in posToGrid()
76 pos.setY( RoundUp((pos.y()-desktopRect.y())/GRIDSIZE)); in posToGrid()
81 grid.setX( (grid.x()*GRIDSIZE)+desktopRect.x() ); in gridToPos()
82 grid.setY( (grid.y()*GRIDSIZE)+desktopRect.y() ); in gridToPos()
89 …return QRect( RoundUp((geom.x()-desktopRect.x())/GRIDSIZE), RoundUp((geom.y()-desktopRect.y())/GRI…
95 …return QRect( RoundUp((geom.x()-desktopRect.x())/((double) grid)), RoundUp((geom.y()-desktopRect.y…
102 …QRect geom((grid.x()*GRIDSIZE)+desktopRect.x(), (grid.y()*GRIDSIZE)+desktopRect.y(), grid.width()*… in gridToGeom()
106 if(geom.right() > desktopRect.right() && (geom.right()-desktopRect.right())<GRIDSIZE ){ in gridToGeom()
109 if(geom.bottom() > desktopRect.bottom() && (geom.bottom() -desktopRect.bottom())<GRIDSIZE ){ in gridToGeom()
[all …]
/dports/deskutils/lumina-archiver/lumina-1.6.0/src-qt5/core/lumina-desktop/
H A DLDesktopPluginSpace.h56 QRect desktopRect; variable
75 pos.setX( RoundUp((pos.x()-desktopRect.x())/GRIDSIZE)); in posToGrid()
76 pos.setY( RoundUp((pos.y()-desktopRect.y())/GRIDSIZE)); in posToGrid()
81 grid.setX( (grid.x()*GRIDSIZE)+desktopRect.x() ); in gridToPos()
82 grid.setY( (grid.y()*GRIDSIZE)+desktopRect.y() ); in gridToPos()
89 …return QRect( RoundUp((geom.x()-desktopRect.x())/GRIDSIZE), RoundUp((geom.y()-desktopRect.y())/GRI…
95 …return QRect( RoundUp((geom.x()-desktopRect.x())/((double) grid)), RoundUp((geom.y()-desktopRect.y…
102 …QRect geom((grid.x()*GRIDSIZE)+desktopRect.x(), (grid.y()*GRIDSIZE)+desktopRect.y(), grid.width()*… in gridToGeom()
106 if(geom.right() > desktopRect.right() && (geom.right()-desktopRect.right())<GRIDSIZE ){ in gridToGeom()
109 if(geom.bottom() > desktopRect.bottom() && (geom.bottom() -desktopRect.bottom())<GRIDSIZE ){ in gridToGeom()
[all …]
/dports/net/messagelib/messagelib-21.12.3/messagecomposer/src/recipient/
H A Dkwindowpositioner.cpp38 const QRect desktopRect(qApp->desktop()->availableGeometry(mMaster)); in reposition() local
39 if ((pos.x() + mSlave->frameGeometry().width()) > desktopRect.width()) { in reposition()
40 pos.setX(desktopRect.width() - mSlave->frameGeometry().width()); in reposition()
42 if ((pos.y() + mSlave->frameGeometry().height()) > desktopRect.height()) { in reposition()
43 pos.setY(desktopRect.height() - mSlave->frameGeometry().height() - mMaster->height()); in reposition()
50 if (pos.x() < desktopRect.left()) { in reposition()
51 pos.setX(desktopRect.left()); in reposition()
53 if (pos.y() < desktopRect.top()) { in reposition()
54 pos.setY(desktopRect.top()); in reposition()
/dports/multimedia/qmmp-qt5/qmmp-1.5.2/src/plugins/General/notifier/
H A Dpopupwidget.cpp129 QRect desktopRect = QGuiApplication::primaryScreen()->availableGeometry(); in updatePosition() local
130 int x = desktopRect.x() + 5, y = desktopRect.y() + 5; in updatePosition()
132 y = desktopRect.y() + desktopRect.height()/2 - height()/2 + 5; in updatePosition()
134 y = desktopRect.y() + desktopRect.height() - height() - 5; in updatePosition()
136 x = desktopRect.x() + desktopRect.width()/2 - width()/2; in updatePosition()
138 x = desktopRect.x() + desktopRect.width() - width() - 5; in updatePosition()
/dports/multimedia/qmmp-qt5/qmmp-1.5.2/src/plugins/Ui/skinned/
H A Ddock.cpp64 QRect desktopRect = mv->window()->windowHandle()->screen()->availableGeometry(); in snapDesktop() local
65 int nx = abs (npos.x() - desktopRect.x()); //left-top in snapDesktop()
66 int ny = abs (npos.y() - desktopRect.y()); in snapDesktop()
69 npos.rx() = desktopRect.x(); in snapDesktop()
71 npos.ry() = desktopRect.y(); in snapDesktop()
73 nx = abs (npos.x() + mv->width() - desktopRect.width() - desktopRect.x()); //right-bottom in snapDesktop()
74 ny = abs (npos.y() + mv->height() - desktopRect.height() - desktopRect.y()); in snapDesktop()
77 npos.rx() = desktopRect.width() - mv->width() + desktopRect.x(); in snapDesktop()
79 npos.ry() = desktopRect.height() - mv->height() + desktopRect.y(); in snapDesktop()
/dports/x11-toolkits/ctk/CTK-2018-10-29/Libs/Widgets/
H A DctkSettings.cpp138 QRect desktopRect = desktop.availableGeometry( desktop.primaryScreen() ); in restoreState() local
140 if(!desktopRect.contains(mwRect)) in restoreState()
142 mwRect = QRect(desktopRect.topLeft(), window.size()); in restoreState()
145 if(!desktopRect.contains(mwRect)) in restoreState()
147 mwRect = QRect(desktopRect.topLeft(), window.size()); in restoreState()
148 window.resize(desktopRect.size()); in restoreState()
/dports/audio/bshapr-lv2/BShapr-0.13/src/BWidgets/pugl/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()
/dports/audio/bslizr-lv2/BSlizr-1.2.16/src/BWidgets/pugl/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()
/dports/audio/bamp-lv2/BAmp-fe91b838f2ec801df55b12ffbdf6c6a4ab4ef093/BWidgets/pugl/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()
/dports/audio/boops-lv2/BOops-1.8.2/src/BWidgets/pugl/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()
/dports/audio/bchoppr-lv2/BChoppr-1.10.10/src/BWidgets/pugl/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()
/dports/audio/bjumblr-lv2/BJumblr-1.6.8/src/BWidgets/pugl/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()
/dports/audio/bschaffl-lv2/BSchaffl-1.4.8/src/BWidgets/pugl/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()
/dports/audio/bsequencer-lv2/BSEQuencer-1.8.10/src/BWidgets/pugl/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()
/dports/audio/bangr-lv2/BAngr-1.6.0/src/BWidgets/pugl/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()
/dports/audio/moony-lv2/moony-0.36.0/subprojects/nk_pugl/pugl/src/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()
/dports/audio/midi-matrix-lv2/midi-matrix-0.28.0/subprojects/nk_pugl/pugl/src/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()
/dports/audio/moony-lv2/moony-0.36.0/subprojects/d2tk/pugl/src/
H A Dwin.h102 RECT desktopRect; in puglWinCreateWindow() local
103 GetClientRect(GetDesktopWindow(), &desktopRect); in puglWinCreateWindow()
105 const int screenWidth = desktopRect.right - desktopRect.left; in puglWinCreateWindow()
106 const int screenHeight = desktopRect.bottom - desktopRect.top; in puglWinCreateWindow()

123