Hugo Pereira Da Costa
41aa801320
Only add margin around tabwidget content when necessary, in order to keep the tabbar of minimal width
10 years ago
Hugo Pereira Da Costa
4fb5a3bf8b
Fixed tabwidget size calculation from contents
...
BUG: 364426
10 years ago
Hugo Pereira Da Costa
47a397ebef
Fixed kde4 compilation
10 years ago
Hugo Pereira Da Costa
ea4fdcaf6c
sync SH_Widget_Animate with internal "enable animations" option
10 years ago
Hugo Pereira Da Costa
5f47df2705
Fix icon type assignment in toolbars to re-enable disabled icons. Thanks Craig for finding and fixing
...
CCMAIL: craig.p.drummond@gmail.com
10 years ago
Marco Martin
7280fff872
fix build on Qt4
...
widget->windowHandle() is available only in Qt5
use the base class paint methos on qt4
10 years ago
Marco Martin
002b25ca5e
use the "selected" state for icons in menu items
...
with the stylesheet based recoloring for icons,
it is possible to make selected icons the same
color as the selected text from the palette.
with the breeze icons style this makes the selected
item more readable and more in line with the style.
REVIEW:127876
10 years ago
Allen Winter
e680af39da
kstyle/breeze.h - pedantic
10 years ago
David Rosca
e335a81c19
Fix isQtQuickControl check with Qt 5.7
...
Only check for QQuickItem instead of private class names.
Also changed remaining places to use the isQtQuickControl function.
REVIEW: 127524
10 years ago
Hugo Pereira Da Costa
f56b8b9fbe
Create animation "on demand", that is, when there is at least one animated progressbar.
...
Delete it when all animated progressbars have stoped or have been unregistered.
This prevent the underlying QPropertyAnimation to be deleted "too late" after an application was exited,
which in turn sometimes result in a crash
CCBUG: 356940
10 years ago
Hugo Pereira Da Costa
9695ec206f
use default destructor
10 years ago
Martin Gräßlin
04a7f3c922
[kstyle] Only create Wayland shadows for top-level widgets
...
Summary: We don't want the shadow on sub-surfaces.
Reviewers: #plasma
Differential Revision: https://phabricator.kde.org/D1206
10 years ago
David Rosca
24cbc7312a
Fix drawing correct focus state of QtQuickControls Button
...
Button with checked == true would be incorrectly drawn as always
having focus. Checked QtQuickControls Button always have State_Sunken.
REVIEW: 127494
10 years ago
David Rosca
c4a67d1f61
Fix flags compare in drawTitleBarComplexControl
...
Fixes compiler warning and logic (always evaluated to false).
REVIEW: 127500
10 years ago
David Rosca
65a0c62567
Fix 1px offset in QtQuickControls TabView frame
...
TabView contents frame border now merges with the left/right tab.
REVIEW: 127464
10 years ago
David Rosca
9e7983a089
Expand size of CT_ItemViewItem also with QtQuickControls
...
Fixes the spacing in view items, including ComboBox popup.
REVIEW: 127463
10 years ago
David Rosca
c2008d6d3a
Fix drawing QtQuickControls ComboBox popups
...
Implement drawing QStyleOptionFrame QFrame::StyledPanel shape.
BUG: 343369
FIXED-IN: 5.6.1
REVIEW: 127460
10 years ago
Hugo Pereira Da Costa
273a6a6231
removed warning about unused variable when wayland is not found
...
+ cosmetics
10 years ago
Hugo Pereira Da Costa
84d19e95e3
For buttons that have neither icon nor text, assume custom button and use provided
...
contentsSize for sizeForContents calculation.
BUG: 360061
10 years ago
Hugo Pereira Da Costa
69fd1e6e51
For buttons that have neither icon nor text, assume custom button and use provided
...
contentsSize for sizeForContents calculation.
BUG: 360061
10 years ago
Martin Gräßlin
3eedad8222
[kstyle] Fix build on Qt 4
...
QMarginsF is new in Qt 5.3, let's use QMargins.
10 years ago
Martin Gräßlin
9caf0c8ab1
Implement window shadows on Wayland
...
Integrate with Wayland and create a ShadowManager if available.
With the ShadowManager it's possible to create a Shadow for a Surface.
The Wayland shadow is very similar to the X11 based one, so a lot of
code can be shared. The code is slightly refactored to share the common
code paths to create and destroy the shadow.
REVIEW: 127352
10 years ago
Martin Gräßlin
f052173ddb
[kstyle] Disable window move on Wayland
...
Unfortunately we cannot support moving windows from the style on Wayland
(yet). To move a window we need the (Xdg)ShellSurface and the wl_seat.
Through the integration plugin we can get the ShellSurface, but not the
seat. Thus we cannot invoke the feature through KWayland.
We either need to extend the native interface and/or extend QWindow to
expose a startSystemMove (QPlatformWindow already supports a
startSystemResize).
REVIEW: 127301
10 years ago
Martin Gräßlin
331a7d7f1e
[kstyle] Add static bool Helper::isWayland()
...
Just like isX11.
10 years ago
Martin Gräßlin
ff04d0418a
[kstyle] Cache whether we are on X11
...
A call to QX11Info::isPlatformX11() is a string comparison each time.
So let's better have the value cached, it won't change at runtime.
10 years ago
l10n daemon script
a094a022ff
SVN_SILENT made messages (.desktop file)
10 years ago
l10n daemon script
fe785e2b3f
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
10 years ago
Hugo Pereira Da Costa
9920983f86
use proper background color for tabbar arrow buttons
10 years ago
Hugo Pereira Da Costa
ac1a56fb5b
properly enable mouse-ove in tabbar arrows
10 years ago
Hugo Pereira Da Costa
ceeae5f513
Check whether parent has altered background to decide of tabbar's background in document mode.
10 years ago
Hugo Pereira Da Costa
1ea115411f
honor showIconsInMenuItems
10 years ago
Hugo Pereira Da Costa
5367cb88f0
- calculate pushbutton size from scratch rather than relying on the contentsSize calculated from Qt
...
- honour showIconsOnPushButtons from kde globals
10 years ago
Hugo Pereira Da Costa
22c1ded25f
SH_DialogButtonBox_ButtonsHaveIcons: return true
...
unlike kstyle, we want to handle showIconsOnPushButtons fully, and not only for buttons in dialogs.
For this, setting this hint to always false makes life easier, because it prevents Qt to interfere.
10 years ago
Hugo Pereira Da Costa
1e98e96a01
improved rendering of tabwidgets in qtquick
10 years ago
Hugo Pereira Da Costa
f30f2fdd40
Sanitize rect adjustment for rendering tabwidgets
10 years ago
Hugo Pereira Da Costa
0cfd1cd14b
moved detection of qtquickcontrol to separate method
10 years ago
Hugo Pereira Da Costa
716d738cc0
- better handling of custom property for isMenuTitle
...
- added hasAlteredBackground property to track scrollbar background
- properly render background behind scrollbars in widget whose background has been altered.
fixed
10 years ago
Hugo Pereira Da Costa
c50b113d37
moved all abstract scrollarea polishing to polishScrollArea
10 years ago
Hugo Pereira Da Costa
c5e48d765a
- Removed palette helper.
...
Special background for groupboxes, menus, etc is now handled directly in the painting routine rather than adjusting
the palette. This was indeed breaking palette inheritance, and requiring hacks that apparently posed some performance
regressions.
- check documentMode to decide tab background color.
BUG: 356561
BUG: 356343
10 years ago
Hugo Pereira Da Costa
a513f4e0c4
Cleanup shadowhelper's widget registration logic.
...
Fixed test condition on whether shadow should be installed or not.
BUG: 356625
10 years ago
Hugo Pereira Da Costa
6282cbb242
do not set antialiasing when rendering square menu frames
10 years ago
Hugo Pereira Da Costa
c327915a8d
added ViewInvertSortIndicator hidden option (to be added to $HOME/.config5/breezerc) in order to changed sort
...
order arrow orientation.
(copied from oxygen)
BUG: 356305
10 years ago
Hugo Pereira Da Costa
251c2003dd
Make separator below menu title item as wide as regular separator
10 years ago
Hugo Pereira Da Costa
a80434f677
removed incorrect composition mode
10 years ago
Hugo Pereira Da Costa
a9b7b5c27d
removed incorrect composition mode
10 years ago
Hugo Pereira Da Costa
54c397d937
Properly mask out the inner part of the shadows (that overlaps with e.g. menus), to prevent artifacts when translucency is enabled.
...
BUG: 355695
10 years ago
Hugo Pereira Da Costa
48321e81f7
Properly mask out the inner part of the shadows (that overlaps with e.g. menus), to prevent artifacts when translucency is enabled.
...
BUG: 355695
10 years ago
Hugo Pereira Da Costa
e59bb5fa12
Render unaltered background behind selected checkboxes (in menus and lists) rather than changing color to Highlight
...
BUG: 343428
11 years ago
l10n daemon script
f885a401e8
SVN_SILENT made messages (.desktop file) - always resolve ours
...
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
11 years ago
Hugo Pereira Da Costa
b5c4b2b19e
Re-added cursor moving hack for kde4, otherwise mouse-over effects are broken after window drag.
11 years ago