Commit Graph

787 Commits

Author SHA1 Message Date
David Edmundson
9bdfa5fe55 Remove animation when changing from normal to pressed state
This was too slow, and for a normal mouse click was too slow to actually be seen.
Releasing from pressed still animates to increase visual feedback.
2012-06-23 03:19:41 +01:00
David Edmundson
bf194777c0 Remove resize animation on buttom press 2012-06-23 03:19:41 +01:00
Marco Martin
83946f2b66 respect the hint-bar-stretch hint 2012-06-21 16:02:08 +02:00
Johannes Tröscher
7d2b4427ba plasma qml components: highlight dualstate button also on focus
highlight dualstate button also on focus + codecleanup in dualstate button

REVIEW: 105232
2012-06-20 20:09:34 +02:00
Marco Martin
ed1e691b2d avoid repaints when the same id is set again
CCBUG:301903
2012-06-20 14:06:23 +02:00
Viranch Mehta
a60d6db013 Fix sourceFilter in QML DataModel to actually
filter the sources of the dataengine

The sources were not getting filtered due to an
error in the loop that added all the sources
in any case

REVIEW: 105267
2012-06-16 20:10:08 +05:30
Martin Klapetek
62ddf21fb6 Don't allow overscrolling views by clicking scrollbar arrows
REVIEW: 105268
2012-06-16 14:57:16 +02:00
Martin Klapetek
7ec06767e2 Fix shadowing of slide's handles and use vertical svg elements for vertical slides
REVIEW: 105269
2012-06-16 14:57:16 +02:00
Lamarque V. Souza
874bbd6068 Fix spelling errors in declarativeimports documentation, which is not
currently translated (no i18n problem).
2012-06-14 19:28:19 -03:00
Aurélien Gâteau
5c1e49fa76 SortFilterModel: Do not sort by default
It seems QML sets properties to their default value at startup and thus
calls setSortRole(QString()), which causes SortFilterModel to sort by
default.

CCMAIL: mart@kde.org
2012-06-13 23:56:31 +02:00
David Edmundson
01b7135299 Make sure in slider the background moves at the same speed as the handle when changing value.
This fixes UI artifacts.

REVIEW: 105236
2012-06-13 22:51:20 +01:00
David Edmundson
ef03fb1c56 fix a bug where the value would not be changed whilst dragging, only when released.
Fixes reported issues in battery applet

BUG: 301575
REVIEW: 105236
2012-06-13 22:51:20 +01:00
Giorgos Tsiapaliwkas
a0e5437a27 Install the qmldir in the right directory 2012-06-12 16:49:29 +03:00
Christophe Giboudeaux
ec788f1f47 Fix the fix.
If the config file is called KActivitiesConfig, the variable set is KActivities_FOUND

CCMAIL:winter@kde.org
2012-06-10 10:09:30 +02:00
Allen Winter
1d24b7a61d remove REQUIRED from the find_package(KActivities).
then tell the macro_log_feature that KActivities is required.
this way, if people are missing KActivities they will get a nice log
message about it.
2012-06-09 13:04:40 -04:00
Aurélien Gâteau
fc0f700c9d Fix text colors on TabButton and ToolButton
When the widgets use the button background frame, use buttonTextColor.
When they do not use any background frame, use textColor.

Avoids unreadable text with Oxygen

REVIEW: 105163
2012-06-09 10:12:05 +02:00
Aurélien Gâteau
0aaf3f4760 Use the same text color as C++ Plasma::LineEdit
Plasma::LineEdit uses the button text color for its text. Do the same
in PlasmaComponents.TextField to avoid white text on white background with
Oxygen theme.

Also use button text color for PC.TextArea because it uses the same
background frame as PC.TextField (P.TextEdit, its C++ equivalent, does not
have any background frame)

REVIEW: 105159
2012-06-09 10:12:05 +02:00
Sebastian Kügler
e27c827fba Mention enabled property in ToolButton's APIDOC 2012-06-08 12:49:36 +02:00
Sebastian Kügler
3a8a66dc47 shadow between context area and toolbar 2012-06-06 02:26:47 +02:00
Sebastian Kügler
1ee3fbaf21 Contextarea goes under the main item, correct shadow 2012-06-06 00:55:19 +02:00
Sebastian Kügler
ba689faf16 Fix warnings in color assignments 2012-06-05 03:31:04 +02:00
Aaron Seigo
4698241d8d improve build 2012-06-04 15:28:07 +02:00
Aurélien Gâteau
bb8eef7db1 Introduct mapRowToSource and mapRowFromSource
REVIEW: 105044
2012-05-29 17:42:11 +02:00
Aurélien Gâteau
0ddb12cf96 Do not reset model while changing the regexp
There is no need to do so, QSortFilterProxyModel correctly adjust rows

REVIEW: 105042
2012-05-29 17:42:11 +02:00
Aurélien Gâteau
f145e1de8e Fix behavior of "runners" property
This commit changes the behavior of the "runners" property when no manager
has been created yet:
- Setting the property emits runnersChanged()
  (unless it is the same as the old value)
- Reading the property after setting it returns the new value

REVIEW: 105024
2012-05-29 17:42:11 +02:00
Aaron Seigo
fb6b4ecc09 handle single mode better 2012-05-28 19:43:34 +02:00
Marco Martin
c049c116cf integer number of rectangles for progressbar too 2012-05-28 14:49:36 +02:00
Marco Martin
d3d8107e88 reset position when not indeterminate anymore 2012-05-28 14:49:35 +02:00
Luís Gabriel Lima
999dd60721 Adding notify signals to SvgItem
These signals are being added in order to keep track of property
changes in the QML side.

Signed-off-by: Luís Gabriel Lima <lampih@gmail.com>
2012-05-28 08:51:32 -03:00
Sebastian Kügler
bcd6a0cc55 Fix text field color 2012-05-21 19:40:23 +02:00
Sebastian Kügler
f3dff31f05 Fix password character 2012-05-21 19:40:23 +02:00
Sebastian Kügler
b63d1feae4 sync passwword charactor with desktop version 2012-05-21 19:40:23 +02:00
Sebastian Kügler
7024329085 Use black as text color in TextField and TextInput
It seems that there's not a single theme out there which properly sets
viewTextColor. The background of textedits is white, so the text has to
be black. On Air(-mobile) this is not a problem, since the text is black
anyway, on dark themes (which set the text color to white), text simply
isn't visible.

We'll have to look into how themes implement viewtextcolor, should
probably fix the themes instead of the components, but this makes it
work until we do.
2012-05-21 19:40:23 +02:00
Giorgos Tsiapaliwkas
b353a65502 Remove declarativeimports/test.
We moved it to kdeexamples
2012-05-16 21:13:35 +03:00
Aurélien Gâteau
cdba0a2222 Fix keyboard navigation in TabBar 2012-05-15 17:24:30 +02:00
Aurélien Gâteau
ea9cf23038 Unbreak gallery 2012-05-15 17:20:47 +02:00
Script Kiddy
944c4b7b58 SVN_SILENT made messages (.desktop file) 2012-05-15 16:42:42 +02:00
Lamarque V. Souza
4f670c149b Update all CMakeLists.txt to use KDeclarativeConfig.cmake.
rebuild kdelibs from KDE/4.8 branch to install KDeclarativeConfig.cmake.
2012-05-14 12:40:02 -03:00
Script Kiddy
1df9872621 SVN_SILENT made messages (.desktop file) 2012-05-14 11:00:55 +02:00
Allen Winter
200c90f096 fix compile.
apparently there is no != operator for Plasma::QueryMatch
perhaps there should be.

CCMAIL: notmart@gmail.com,agateau@kde.org
2012-05-11 14:32:34 -04:00
Aurélien Gâteau
1eb2650cd5 Do not reset the model when new matches are added
REVIEW: 104914
2012-05-11 17:36:01 +02:00
Script Kiddy
0e03fc990e SVN_SILENT made messages (.desktop file) 2012-05-11 09:43:44 +02:00
Dennis Nienhüser
17f5b499bb Width and height are implicitly set by the anchors. 2012-05-10 19:33:33 +02:00
Sebastian Gottfried
5b567230e6 buttons: first focus, than emit clicked() signal
Otherwise a client wanting to give another QML component the focus in
reaction to a clicked button has no chance doing so because the button
will steal the focus again right after the event handler has finished
executing.

REVIEW: 104893
2012-05-10 00:48:53 +02:00
Sebastian Kügler
26e1276738 animate showing / hiding of navigation bar 2012-05-09 04:48:38 +02:00
Dennis Nienhüser
5453bbc801 Fix mistyped enum values.
Please test as code using it might behave differently now (menus
aligned left before while horizontally centered on the parent now)
2012-05-09 00:13:26 +02:00
Script Kiddy
804d490acd SVN_SILENT made messages (.desktop file) 2012-05-07 10:02:05 +02:00
Script Kiddy
93aba5f886 SVN_SILENT made messages (.desktop file) 2012-05-06 10:32:33 +02:00
Marco Martin
93acb20c8d put the model in non running state after a timeout
This is an hack, a real way must be found
2012-05-04 21:54:44 +02:00
Aaron Seigo
a60b7b83c9 signal when a drag starts so that qml items can take the necessary steps 2012-05-04 14:10:28 +02:00