1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-30 14:50:12 +03:00

add effectArea in DebugWindow

--export correctly the drawEffects variable
This commit is contained in:
Michail Vourlakos 2017-03-17 23:59:50 +02:00
parent 341bf00b63
commit 8e17e58f24
2 changed files with 31 additions and 1 deletions

View File

@ -742,7 +742,7 @@ void DockView::setDrawShadows(bool draw)
bool DockView::drawEffects() const
{
return m_drawShadows;
return m_drawEffects;
}
void DockView::setDrawEffects(bool draw)

View File

@ -140,6 +140,36 @@ Window{
dock.localGeometry.width + "x" + dock.localGeometry.height
}
Text{
text: "Draw Effects"+space
}
Text{
text: {
if (dock.drawEffects)
return "Yes";
else
return "No";
}
}
Text{
text: "Effects Area"+space
}
Text{
text: dock.effectsArea.x + ", " + dock.effectsArea.y + " " +
dock.effectsArea.width + "x" + dock.effectsArea.height
}
Text{
text: " ----------- "
}
Text{
text: " ----------- "
}
Text{
text: "Is Hidden (flag)"+space
}