Marco Martin
dcfe086014
grey out when disabled
2012-08-02 12:59:56 +02:00
Aleix Pol
f3e607c2cf
Improve response and behavior in ScrollBar
...
When contentHeight and contentY change at the same time, we got to
some weird states where the scrollbar would trigger a change in the
Flickable positioning that wasn't triggered by the user, this should
be fixed now.
Also don't use the handle position to move the Flickable scrolling
if the scrollbar is disabled or non-interactive. It shouldn't be needed
now but it helps keeping the complexity to a minimum.
REVIEW: 105808
2012-08-01 13:36:22 +02:00
Marco Martin
6dd904d239
delay update from handle
...
we must wait the handle updated its size too for being able to correctly update range position from handle position
2012-08-01 11:18:02 +02:00
Aleix Pol
8cdf691438
Don't warn when using a page without toolbar
...
Check if the tools are null before before using the toolbar.
REVIEW: 105803
2012-07-31 15:05:12 +02:00
Marco Martin
4a1fa1a491
don't use bindings but a connection
...
to update position and value, removes binding loop warnings
2012-07-31 10:36:25 +02:00
Reza Shah
b14b2ed86d
Merge branch 'KDE/4.9'
2012-07-17 21:18:02 +09:00
Marco Martin
7fb69d6f42
slide in the expected direction
...
BUG:302080
FIXED-IN:4.10
2012-07-13 16:07:07 +02:00
Johannes Tröscher
796211bbd5
Plasma qml-Components ToolButton: change text-color on hover more fluently
...
REVIEW: 105375
REVIEWED-BY: troscher aseigo
2012-06-28 19:40:33 +02:00
David Edmundson
2030c05cf1
Remove text scaling on ToolButton
...
BUG: 302077
Reviewed-by: Marco Martin
2012-06-23 03:19:47 +01:00
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
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
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
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
ba689faf16
Fix warnings in color assignments
2012-06-05 03:31:04 +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
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
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
Aurélien Gâteau
cdba0a2222
Fix keyboard navigation in TabBar
2012-05-15 17:24:30 +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
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
Marco Martin
14122d0199
hide the tools that have long been dismissed
2012-05-03 14:27:18 +02:00
Marco Martin
b529412312
ensire the switch is rendered correctly
2012-04-27 15:47:58 +02:00
Marco Martin
856b001d73
respect svg size for handle size
2012-04-27 15:15:32 +02:00
Sebastian Kügler
8a90947a33
Fix reference error in slider
2012-04-27 00:36:26 +02:00
Aurélien Gâteau
2b8a7b32c5
Toolbutton: Fix layout issues
...
- Improve spacing between icon and text
- Do not enforce a minimum width
Having a minimum width does not make much sense for a ToolButton:
1. It should aim at using the minimum amount of horizontal space when
used in a ToolBar.
2. It looks unbalanced when used with an icon because the content is
flushed to the left, leaving a large amount of white-space on the right.
REVIEW: 104735
2012-04-26 15:12:03 +02:00
Aurélien Gâteau
90bddbf61e
ToolButton: Improve keyboard navigation support
...
Use the hover frame to indicate focus, do not give focus if keyboard
navigation is not defined.
REVIEW: 104727
2012-04-26 09:21:02 +02:00
Aurélien Gâteau
47d42a6d36
TextField: support for passwordCharacter
...
Use a more modern password character, and expose it to the outside world
REVIEW: 104726
2012-04-26 09:21:02 +02:00
Aurélien Gâteau
9b04155a92
TextField: add keyboard navigation support
...
REVIEW: 104722
2012-04-25 17:45:54 +02:00
Marco Martin
263a184049
preselect the first item if not told otherwise
2012-04-17 14:56:54 +02:00
Marco Martin
021d196ab8
don't reset checked button
2012-04-17 11:21:01 +02:00
Marco Martin
a7effaa7c4
respect an hardcoded default checked button
2012-04-17 10:56:51 +02:00
Marco Martin
091bde342d
remove all signs of updateValueWhileDragging
2012-04-05 21:07:42 +02:00
Viranch Mehta
11991bdd14
QML scrollbar: Timeout the scroll timer as soon as the arrow is pressed. This avoids getting no reaction when arrow is clicked very quickly.
2012-04-04 16:21:50 +05:30
Viranch Mehta
021ca8c08a
Fix the SVGs in QML Scrollbar component:
...
* The hover and non-hover arrow images in vertical scrollbar are the same.
* The pressed/hover/normal states of down/right arrows are connected to mouse area of up/left arrows.
* The mouse areas of the arrows do not have hoverEnabled property set to true. This is required to use their containsMouse property.
REVIEW: 104402
2012-04-04 15:40:23 +05:30
Aaron Seigo
b098deb453
improve docu
2012-04-03 13:27:39 +02:00
Daker Fernandes Pinheiro
5b452bfb9a
Change default value of enabled property in ListItem Plasma Component
...
Also adds documentation for the enabled property.
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2012-03-27 11:17:36 -03:00
Sebastian Kügler
af7ec4df34
Fix reference error and hiding SIP from TextArea
2012-03-27 13:54:51 +02:00
David Edmundson
732c98110f
Remove invalid documentation for property "animated" on Slider
...
See discussion at: https://git.reviewboard.kde.org/r/104318/
2012-03-22 20:20:16 +00:00
Daker Fernandes Pinheiro
eabd70b019
Fix coding style for TextField Plasma Component accepted signal
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2012-03-22 08:58:29 -03:00
Daker Fernandes Pinheiro
161b548803
Fixed coding style in doc example for TextField Plasma Component
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2012-03-22 08:57:56 -03:00
David Edmundson
cfc76b8144
Fix padding in toolbutton and tab buttons
...
REVIEW: 104319
2012-03-20 00:57:54 +00:00
Marco Martin
fda07f4473
documentation
2012-03-01 15:10:48 +01:00
Marco Martin
f30b2da11b
fully working
2012-03-01 15:03:45 +01:00
Marco Martin
07b7041b92
common class for sheet and dialog
2012-02-28 14:49:20 +01:00
Marco Martin
dc791aad5b
a fullscreen sheet derived from fullscreendialog
2012-02-28 12:11:22 +01:00
Marco Martin
2e79f694b7
skip non tabbuttons
2012-02-23 21:22:56 +01:00
Marco Martin
cc1c6c5b9e
revert 7552f160ff1c01a338f9093eeb56a7db1396c5a2
2012-02-20 21:01:08 +01:00
Shaun Reich
d5bf439e5b
be sure to H align the text if our icon is valid in a Button
2012-02-19 00:09:06 -05:00
Marco Martin
0bd0641e3e
layout fixes
...
don't count things that aren't buttons in thewidth calculations
2012-02-17 12:28:57 +01:00
Marco Martin
dfb566034d
unwind to itself means no pop
2012-02-14 20:37:03 +01:00
Marco Martin
0e9c604043
always permit to pop
2012-02-14 17:59:23 +01:00
Marco Martin
5e6fc957f2
documentation++
2012-02-10 19:40:33 +01:00
Shaun Reich
9831905309
hack margins so listview doesn't suck
2012-02-09 13:22:13 -05:00
Shaun Reich
423698be18
imrpove doc for that last change
2012-02-09 13:10:23 -05:00
Shaun Reich
c9db516162
add opacity behavior change animationf or highlight component
...
shoudl work great for listviews purpioses now
2012-02-09 13:08:29 -05:00
Shaun Reich
087d053d02
GIT_SILENT: minor spelling doc change
2012-02-04 16:06:02 -05:00
Sebastian Kügler
cf9bae7950
Fix reference error
2012-01-28 14:00:58 +01:00
Aleix Pol
4905917342
Add an accepted signal in the TextField Plasma Component.
...
REVIEW: 103795
2012-01-27 16:11:08 +01:00
Aaron Seigo
ac344dba18
add missing return statement
2012-01-27 11:08:19 +01:00
Marco Martin
46ba74adb1
Merge branch 'KDE/4.8'
...
Conflicts:
kurifilter-plugins/ikws/searchproviders/cpan.desktop
2012-01-26 22:06:22 +01:00
Marco Martin
0dfbaa1525
avoid double pushes
2012-01-26 21:59:20 +01:00
Marco Martin
6d4ad45c84
ensure the text field has focus
2012-01-18 16:49:12 +01:00
Marco Martin
3f73928cf9
fix text centering when needed
2012-01-18 11:40:08 +01:00
Marco Martin
43eb9c5967
tell why hasOverState exists
2012-01-16 21:29:34 +01:00
Marco Martin
a532159c0e
fix comments syntax
2012-01-16 13:59:40 +01:00
Marco Martin
98af505aa3
center the title
2012-01-13 20:47:24 +01:00
Marco Martin
de22db805a
use the common clear icon
2012-01-13 20:19:08 +01:00
Marco Martin
05571febc3
never use alias
2012-01-12 11:05:42 +01:00
Marco Martin
1cffdbe741
more comments
2012-01-10 21:39:18 +01:00
Marco Martin
f8a93ef3ce
fix comments formatting
2012-01-10 21:39:04 +01:00
Marco Martin
ae0234d61f
comment formatting
2012-01-10 18:34:24 +01:00
Marco Martin
a95425a7d5
Merge branch 'plasma/mart/fullscreenDialog'
2012-01-09 17:49:28 +01:00
Mark Gaiser
5195c0ef69
Removed proxying of key events since it caused double signals.
2012-01-09 16:40:10 +01:00
Marco Martin
edda55f015
remove deprecated property
2012-01-09 11:41:28 +01:00
Shaun Reich
eb8e40feee
Add ScrollBar.qml warning/FIXME for a bug I found
...
There's a binding loop here somewhere, and this comment warns about it.
I don't know enough about qml to see what's wrong.
2012-01-04 20:27:39 -05:00
Shaun Reich
6b28f03996
Use QtQuick 1.1 for PlasmaComponents.Label.
...
Take advantage of the new var: lineCount, as opposed to paintedHeight.
2012-01-03 18:45:31 -05:00
Marco Martin
4bf3597b2d
fix button icon sizing
2012-01-03 21:16:25 +01:00
Marco Martin
98e7440620
ditch the model, support a repeater for items
...
add menu items when a child that is a menuitem is added, this lets us to not deviate too much from the standard api
2011-12-29 15:09:58 +01:00
Marco Martin
ecc105c564
accept action lists
2011-12-29 11:39:57 +01:00
Marco Martin
1348d9d2a9
support qicons as icon source
2011-12-28 18:49:55 +01:00
Marco Martin
0a3b3d849c
document iconSource a bit more
2011-12-28 18:02:44 +01:00
Marco Martin
e043dbd043
document a bit more iconSource
2011-12-28 18:01:57 +01:00
Marco Martin
e56a6149f5
support enabled and separator properties in the model
2011-12-27 20:10:24 +01:00
Marco Martin
88c90c1910
relayout when a tabButton changes visibility
2011-12-23 18:31:16 +01:00
Giorgos Tsiapaliwkas
a4cb2a74f4
fix the view of the documentation
2011-12-23 15:39:55 +02:00
Giorgos Tsiapaliwkas
a6defc7f6d
add some more docu in the TabBar.qml
2011-12-23 15:38:47 +02:00
Giorgos Tsiapaliwkas
9c8ecc1462
fix the private import
2011-12-23 15:23:58 +02:00
Marco Martin
a9f1c5784d
document Highlight
2011-12-23 11:59:05 +01:00
Daker Fernandes Pinheiro
c22a828998
Fix doc for plasma TextArea component
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 17:47:04 -03:00
Daker Fernandes Pinheiro
a31036bcc3
Add missing method doc from TextField
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 17:44:35 -03:00
Daker Fernandes Pinheiro
2a3d607106
Add return statement for positionAt & positionToRectangle at TextArea
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 17:43:53 -03:00
Daker Fernandes Pinheiro
7d906dbb47
Add return statement for positionAt & positionToRectangle at TextField
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 17:43:39 -03:00
Daker Fernandes Pinheiro
c973ec6502
Add missing default value on TextField doc
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 17:32:31 -03:00
Daker Fernandes Pinheiro
0fbcda30d0
Fix doc for plsama TextField component
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 17:11:38 -03:00
Marco Martin
c8144504e4
n for CommonDialog
2011-12-22 19:32:37 +01:00
Marco Martin
ae3ed91056
description of TabGroup
2011-12-22 19:26:22 +01:00
Marco Martin
7efa3012db
more detailed TabButton
2011-12-22 19:20:48 +01:00
Marco Martin
3a0405b50e
a bit more on SectionScroller
2011-12-22 18:40:15 +01:00
Marco Martin
f60cae7cf9
added some reference to QML Text element
2011-12-22 18:16:58 +01:00
Daker Fernandes Pinheiro
6b9ce536d3
Remove extra whitespace on plasma Button documentation
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 13:49:29 -03:00
Giorgos Tsiapaliwkas
4c627ff830
Merge branch 'master' of git://anongit.kde.org/kde-runtime
...
Conflicts:
plasma/declarativeimports/plasmacomponents/qml/ScrollBar.qml
2011-12-22 18:39:21 +02:00
Marco Martin
67f93deced
fix checkboxes and radio buttons
2011-12-22 16:55:48 +01:00
Giorgos Tsiapaliwkas
2c2fc4acd0
Merge branch 'master' of git://anongit.kde.org/kde-runtime
2011-12-22 17:48:02 +02:00
Giorgos Tsiapaliwkas
b14822047e
fix coding style
2011-12-22 17:45:25 +02:00
Giorgos Tsiapaliwkas
986becb8fa
fix the names from the imports
2011-12-22 17:34:09 +02:00
Lamarque V. Souza
7eeceac15d
Add documentantion for ContextMenu.qml.
2011-12-22 13:05:17 -02:00
Giorgos Tsiapaliwkas
fe1c771a76
Merge branch 'master' of git://anongit.kde.org/kde-runtime
2011-12-22 16:44:32 +02:00
Giorgos Tsiapaliwkas
2711e8cb83
add documentantion for the SelectionDialog.qml
2011-12-22 16:41:33 +02:00
Giorgos Tsiapaliwkas
421b03e92b
Add documentation for the Switch.qml
2011-12-22 16:40:20 +02:00
Giorgos Tsiapaliwkas
5a0015e75d
add some documentation in the Label.qml
2011-12-22 16:39:51 +02:00
Daker Fernandes Pinheiro
c6ad1d6fbd
Add more details to ScrollBar Plasma Component documentation
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-22 11:36:56 -03:00
Marco Martin
bcc26fb73b
fix import names
2011-12-22 14:58:11 +01:00
Giorgos Tsiapaliwkas
9a1e332b9b
move the private components into a private subdir
2011-12-22 15:16:01 +02:00
Antonis Tsiapaliokas
50d377d28a
Complete documentation for ToolBar
2011-12-22 08:34:01 +02:00
Marco Martin
bc4be9c5c2
documentation for Dialog
2011-12-22 14:35:14 +01:00
Marco Martin
0f62487da7
documentatiuon for checkbox and radiobutton
2011-12-22 14:11:22 +01:00
Marco Martin
de666a6fd3
Documentanted -> Documented
2011-12-22 11:53:15 +01:00
Marco Martin
15d8e3df37
add some words to the doc
2011-12-22 11:50:20 +01:00
Marco Martin
f3edf32cb7
make it actually work
2011-12-21 18:41:29 +01:00
Marco Martin
f9150ae568
ContextMenu item that accepts a model
2011-12-21 15:49:21 +01:00
Marco Martin
4df3869dc6
docs for progressbar
2011-12-19 17:47:42 +01:00
Marco Martin
68c013293c
documentation for Page and PageStack
2011-12-19 17:34:54 +01:00
Marco Martin
183e794059
use * for bullet points in properties
...
easier parsing
2011-12-19 14:44:42 +01:00
Marco Martin
d72f2d7c3c
Merge branch 'master' into plasma-components-doc
...
Conflicts:
plasma/declarativeimports/plasmacomponents/qml/Button.qml
2011-12-16 18:53:25 +01:00
Marco Martin
2fdf11eabf
first tab is the current on load
...
fix sizing problems on first load
2011-12-15 20:19:29 +01:00
Marco Martin
eb4b2dc7f8
sligtly narrower
...
when we can get rid of the old scrollbar this size is going to be font based or something
2011-12-14 13:47:50 +01:00
Daker Fernandes Pinheiro
cb0a478bf5
Add more details to Slider Plasma Component documentation
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-12-13 17:05:53 -03:00
Marco Martin
fb42ef0df4
frame is different from toolbar
2011-11-30 21:53:47 +01:00
Marco Martin
1014c8572e
hide the keyboard when lose focus
...
shouldn't be necessary, but the scene seems to not emit all needed hide signals
2011-11-30 19:48:54 +01:00
Marco Martin
be68daef28
take the clear button into account
2011-11-30 17:50:01 +01:00
Sebastian Kügler
ee81650232
fix warnings in dialogs
2011-11-30 01:49:19 +01:00
Marco Martin
13a3d33681
use onclicked
...
it gets canceled when it should
2011-11-28 21:42:27 +01:00
Marco Martin
42aeaebb4e
fix loading of toolbar of initialPage
2011-11-28 17:25:26 +01:00
Marco Martin
f56ecc3673
smooth
2011-11-28 14:01:22 +01:00
Marco Martin
d5167f2529
pressed effect for the label
2011-11-28 13:49:28 +01:00
Marco Martin
794bd80a01
base toolbar height on children height
2011-11-28 12:34:16 +01:00
Marco Martin
ecb6fdabe7
take the bottom margin into account
2011-11-27 18:14:09 +01:00
Daker Fernandes Pinheiro
f50fb6e6d6
Add more details to Button Plasma Component documentation
...
Signed-off-by: Daker Fernandes Pinheiro <daker.pinheiro@openbossa.org>
2011-11-26 14:16:21 -03:00
Marco Martin
544b39b04e
layout fixes
2011-11-25 21:28:28 +01:00