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:
parent
341bf00b63
commit
8e17e58f24
@ -742,7 +742,7 @@ void DockView::setDrawShadows(bool draw)
|
||||
|
||||
bool DockView::drawEffects() const
|
||||
{
|
||||
return m_drawShadows;
|
||||
return m_drawEffects;
|
||||
}
|
||||
|
||||
void DockView::setDrawEffects(bool draw)
|
||||
|
@ -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
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user