Changeset View
Changeset View
Standalone View
Standalone View
effects/presentwindows/presentwindows.cpp
Show First 20 Lines • Show All 1651 Lines • ▼ Show 20 Line(s) | 1650 | { | |||
---|---|---|---|---|---|
1652 | if (!m_filterFrame) { | 1652 | if (!m_filterFrame) { | ||
1653 | m_filterFrame = effects->effectFrame(EffectFrameStyled, false); | 1653 | m_filterFrame = effects->effectFrame(EffectFrameStyled, false); | ||
1654 | QFont font; | 1654 | QFont font; | ||
1655 | font.setPointSize(font.pointSize() * 2); | 1655 | font.setPointSize(font.pointSize() * 2); | ||
1656 | font.setBold(true); | 1656 | font.setBold(true); | ||
1657 | m_filterFrame->setFont(font); | 1657 | m_filterFrame->setFont(font); | ||
1658 | } | 1658 | } | ||
1659 | m_filterFrame->setPosition(QPoint(area.x() + area.width() / 2, area.y() + area.height() / 2)); | 1659 | m_filterFrame->setPosition(QPoint(area.x() + area.width() / 2, area.y() + area.height() / 2)); | ||
1660 | m_filterFrame->setText(i18n("Filter:\n%1", m_windowFilter)); | 1660 | m_filterFrame->setText(m_windowFilter); | ||
1661 | } | 1661 | } | ||
1662 | 1662 | | |||
1663 | //----------------------------------------------------------------------------- | 1663 | //----------------------------------------------------------------------------- | ||
1664 | // Helper functions | 1664 | // Helper functions | ||
1665 | 1665 | | |||
1666 | bool PresentWindowsEffect::isSelectableWindow(EffectWindow *w) | 1666 | bool PresentWindowsEffect::isSelectableWindow(EffectWindow *w) | ||
1667 | { | 1667 | { | ||
1668 | if (!w->isOnCurrentActivity()) | 1668 | if (!w->isOnCurrentActivity()) | ||
▲ Show 20 Lines • Show All 399 Lines • Show Last 20 Lines |