Commit Graph

13451 Commits

Author SHA1 Message Date
Marco Martin
f5fb0dbc24 consider the case of fallback as well
consider the case of fallback as well when we are searching for a texture

reviewed by: Eike Hein <hein@kde.org>

Change-Id: I1faa119f9b3486d21ebd07a294b5063a896d7af1
2014-10-13 14:19:36 +02:00
Marco Martin
aa7b3ff773 typo
Change-Id: Ia8dd4676cb45166bfc5f5e55b3c30a15f895d39f
2014-10-11 21:04:10 +02:00
Marco Martin
691905b1a1 fix the test
before 419b344b6 the size of the dialog was wrong, making positioning
of it actually different.
the new value, 71 is actually the correct one.

to make sure to catch similar cases, adds a test on the dialog size and margins as well

Change-Id: I035c66a6745e0e9f265f63cee450fec7a645654d
2014-10-11 20:58:34 +02:00
Marco Martin
66a1a497ef add a property to tell if fallback happened
add a property in Svg (and framesvgitem) to tell if the current theme
has this image, or if some fallback did happen
useful for items that are better not displayed than showing the potentially different
default theme

Change-Id: Ib914c0e196c5c941d35d9a600cc7d38818fc754f
2014-10-10 17:36:44 +02:00
Marco Martin
68eadae6c8 never reparent old mainItems
This is not completely correct.
however, when reparenting the mainItem containming window thumbnails
it causes serious graphical artifacts, like the "lost fonts" on
nvidia and fglrx

Change-Id: Id194f5e7863e4ed71792835a9a3cf9c6e4fa70ee
2014-10-08 14:32:52 +02:00
Marco Martin
9796f043b7 Revert "set flags again on QEvent::Expose"
This reverts commit 65ab514a2c.
2014-10-08 14:06:10 +02:00
Marco Martin
65ab514a2c set flags again on QEvent::Expose
is the only event we get we know the window will already be visible
to set the flags to have actually any effect

BUG:335572
Change-Id: Id1b69a894295af59a681946df9d14ff7ed316526
2014-10-08 13:57:37 +02:00
Martin Klapetek
cbe50c408b Add "..." after "<Applet Name> Settings" to comply with HIG
Reviewed-by: Marco Martin

BUG: 339756
2014-10-07 17:45:10 +02:00
Marco Martin
ad03d0bb14 try to restore the original parent if possible
setting a null parent to mainitems seems to screw up with their QQmlContext

the problem can be seen with the taskbar, that after fiddling with tooltips a lot, (like switching between pager and a task) it loses thumbnails and it starts to output on stderr
about ids that aren't accessible anymore.

Change-Id: Ibbb6d270fd2e20b5b6745e228f4010b74d3266c9
2014-10-06 12:33:16 +02:00
Kai Uwe Broulik
7cf9fb93d8 Hide ProgressBar inner item when value is 0
This fixes the situation where an empty progress bar still shows a little spot on the left.

REVIEW: 120489
2014-10-04 22:41:40 +02:00
Kai Uwe Broulik
759b75314d Add indeterminate ProgressBar to test
REVIEW: 120491
2014-10-04 22:40:27 +02:00
l10n daemon script
ab98c3a8c8 Upgrade ECM and KF5 version requirements for 5.3.0 release. 2014-10-03 17:57:55 +00:00
Marco Martin
046a419493 don't tile
buttons have a gradient

Change-Id: Icf279d0a2e32dd4faf587057f584a7c3461a8586
2014-10-03 19:24:21 +02:00
Marco Martin
2a582e6b4a make sure the layout timer isn't running
when maintintem changes

Change-Id: I59d1930caf2686e1fa9a1fb0510e15630898d99f
2014-10-03 19:10:31 +02:00
Marco Martin
1015d51997 adjust margins
Change-Id: If6147f112bdb441f0c678bfa975f687035ec2111
2014-10-03 18:59:23 +02:00
Marco Martin
717153ebb4 lightly less border contrast on dark themes
Change-Id: Ic60ab2ddf6bdb3adace2fe6127c0723d675941bc
2014-10-03 18:52:12 +02:00
Marco Martin
ab69d1029c guard mainItem of resize
crash--

Change-Id: Ifa08f78573d4eed690c23e93f87d1cf0b3c033ef
2014-10-03 13:51:57 +02:00
Marco Martin
419b344b6d make sure the theme is loaded on item sync
Change-Id: Iea920b208c9e84bc9fb3c6c3c39e4362782f0b5f
2014-10-02 16:17:35 +02:00
David Edmundson
094a1c105d Add testcase for textfield
Change-Id: I579ab98a86e674cd1d6bd6c43c9c369259536248
2014-10-02 15:31:34 +02:00
Andrew Lake
98af054c28 add missing tooltip icons used by network manager
BUG:339547
2014-10-01 22:35:24 -07:00
Andrew Lake
0cf3c74a7f fix hardcoded colors 2014-10-01 15:06:21 -07:00
Andrew Lake
69ff7e5281 better 32x32 klipper icon, updated reboot icon to match main icon theme. 2014-10-01 13:58:28 -07:00
Marco Martin
018a7a3c6d smaller corner shadows
lets having a smaller windows without visible glitches

Change-Id: I91661e1f427344d195cc4b98b7588a48a20b36f4
2014-10-01 19:07:43 +02:00
Sebastian Kügler
cccfdf5a9e Proper color for placeholder text in TextFieldStyle
Fixes unreadable placeholder text in TextField with dark themes.

Reviewed-by:Kai Uwe Broulik
2014-10-01 18:04:04 +02:00
Marco Martin
43e3359c68 fix mask for dialogs and tooltips
Change-Id: I3b41f84395fa3e554416193c60167c6df21609c5
2014-10-01 15:05:42 +02:00
Marco Martin
32a0be3d1c remove extra margins
Change-Id: I1212d69583a06871620ccf209ab8fbf766b6033e
2014-10-01 14:20:01 +02:00
David Edmundson
764cd182cc Merge "Floor devicePixelRatio in ProgressBar before use" 2014-10-01 11:45:09 +02:00
Marco Martin
2fcc325abf Merge "Warning --" 2014-10-01 10:04:17 +02:00
Andrew Lake
e5bc62330f Add battery-charging, battery-discharging, battery-100, battery-missing for tooltip icons.
- Note: The code changes are needed to use battery-discharging icon
2014-09-30 20:29:56 -07:00
David Edmundson
4d8f9c55c0 Floor devicePixelRatio in ProgressBar before use
This matches what happens in the C++ SVG code

Change-Id: Ide914751d3ba18d7e4d62c4872651998bc226900
2014-10-01 03:16:07 +02:00
David Edmundson
4233f7f38e Warning --
Change-Id: I7649fc9f9209816be909217f1c71e7bbe60ab10f
2014-10-01 03:04:52 +02:00
Marco Martin
5d639b0a00 dialogtest is valid only on X11
Change-Id: I20fc562d08545a242d36d2e87776be56f8eea52b
2014-09-30 19:03:54 +02:00
Marco Martin
656582eb66 make sure the cache dir is empty
Change-Id: I916bc173fe3b257705b698d1fe66c5b2bdeb8d3e
QStandardPaths::enableTestMode and clean the cache folder
2014-09-30 18:12:26 +02:00
Marco Martin
ff9703aabf consistent border size
make the dialogs borders the same for composite and non composite mode
more consistent behavior -and- fixes a test on openbox

Change-Id: Idd687a1f3b44f89d35886e1f9a86c2543741cbdb
2014-09-30 17:48:53 +02:00
Marco Martin
792c39a9bb Merge "queue change of minimum/maximum size" 2014-09-30 17:02:46 +02:00
Marco Martin
afe0524fa7 queue change of minimum/maximum size
the layout size hints can change all together, in any order possible.
the only way to have a deterministic behavior is to compress them
and do the sync of the size all at once.
also being sure to do a single adjustGeometry (one X call) instead of
separate setWidth/setHeight

a test for the issue is dialog_resizeWithParent.qml

BUG:339478
Change-Id: Ia7c3c55e40ff89971beb734dcd205df05bfba687
2014-09-30 16:34:21 +02:00
l10n daemon script
f0ad60f7cf SVN_SILENT made messages (.desktop file) 2014-09-30 10:54:42 +00:00
Andrew Lake
8a3742b78a fix button shadow. Buttons on lock, logout screen should look better when focused. 2014-09-29 22:06:09 -07:00
Andrew Lake
07289d9bd4 add more icon sizes for battery, klipper and network tooltip icons.
- tooltip icon use appears to be inconsistent but at least the icons are now available.
2014-09-29 21:18:14 -07:00
Andrew Lake
b798be64fa use 10% increments for battery icons and
update matadata.desktop versions using suggested version numbering
2014-09-29 14:39:17 -07:00
Andrew Lake
86b62039cb add missing Fill0 battery icon 2014-09-29 10:41:51 -07:00
David Edmundson
55368fac23 Update breeze-dark version to match breeze
Otherwise caches don't get cleaned when the SVGs change

Change-Id: I112a1f7305b1f1113ec531a8eaf081b76f0a22af
2014-09-29 15:24:34 +02:00
Marco Martin
1dfd55d999 test that messes with size hints
changine the minimum and maximum heights, causes the dialog to not be repositioned
at the correct position with the visual parent

Change-Id: Ib67e6b842f5b4e3563da2ae826aa0c358cc208f4
2014-09-29 10:28:31 +02:00
Andrew Lake
c6ebb64379 update theme version after icon updates 2014-09-29 00:34:13 -07:00
Andrew Lake
cc8b47553d update theme icons based on feedback:
- Consistent stroke width
- 22x22 replaces 24x24 sizes
- align most icons to pixel grid
- changed some icon designs based of feedback of plasma dev team
2014-09-29 00:21:55 -07:00
Volker Krause
ca77cad251 Make constants const, saves a few symbols in the .data section. 2014-09-28 12:40:40 +02:00
David Edmundson
489ca7b76a Test progress bars
Change-Id: Iab1be67dc4ab059ab85ba2833df0da80775ed61f
2014-09-26 17:37:53 +02:00
David Edmundson
94c4bff3da Merge "Add component tests" 2014-09-26 17:20:33 +02:00
David Edmundson
56e1c9c48a warnings--
Change-Id: If41d2ebcec822002edb5282dd401b84fc2d40a10
2014-09-26 17:05:30 +02:00
David Edmundson
f5b8b164c3 Warnings--
Change-Id: I97e12f614c677914306594170435a7d3ddac102a
2014-09-26 17:03:45 +02:00