Daker Fernandes Pinheiro
83bd875a44
Add focus and key events handling on Buttton plasma component
...
- When a button is clicked it aqcuires the focus.
- The space and return keys now can be used to press the button if
it has the activeFocus
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-15 21:21:06 -03:00
Daker Fernandes Pinheiro
38284f8e1a
Fix Highlight plasma component margins
...
The SVG margins was not being considered.
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-15 20:51:42 -03:00
Daker Fernandes Pinheiro
93f4b0efb5
Add handleSize property to control the handle size of the plasma Slider component
...
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-15 20:45:08 -03:00
Daker Fernandes Pinheiro
8a3162b431
Fix Plasma ScrollBar flickableItem position binding when mouse or keys are used
...
The RangeModel value was being incremented directly by the mouse and keys
events, and it was overriding the binding with the flickableItem position.
Once the ScrollBar button was clicked, the direct manipulation of the
flickable component was not updating the scroll position.
The new function 'incrementValue' now does the correct work.
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-15 10:03:17 -03:00
Daker Fernandes Pinheiro
cba7e6204a
Add Color Picker on Sliders Plasma Components Gallery
...
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-15 09:24:44 -03:00
Aaron Seigo
e3f18bded0
only let a source be valid if there is an engine and the engine is valid
2011-07-15 13:18:48 +02:00
Aaron Seigo
e2f4b4ecc2
protect against accessing a null
2011-07-15 13:18:47 +02:00
Aaron Seigo
201baafc1c
mainitem can be null according to the if() below, so respect that
2011-07-15 13:18:47 +02:00
Daker Fernandes Pinheiro
d9cc5a1ba6
Refactor Plasma Components Gallery
...
- Move columns present in the gallery into separate files
- Move Gallery into a subdir of tests
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-14 12:10:08 -03:00
Daker Fernandes Pinheiro
355655e0d4
Add ScrollDecorator component
...
ScrollDecorators API is defined in QtComponents's common API
This component just diplay how a Flickable content size and
content position is. It's similar to a ScrollBar but is not
interactive.
The current implemetation makes it visible only when flickable
content is moved.
The plasma implementation has 2 extra properties:
- orientation: Qt.Vertical / Qt.Horizontal orientaion
- inverted: true if the scroll decorator should appear inverted
(the same logic of Slider and ScrollBar)
it has a false default value
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-14 11:04:20 -03:00
Aaron Seigo
dd95295cb0
no reason to provide 3 ways to do something when there are already 2 fine ways
2011-07-13 12:47:58 +02:00
Aaron Seigo
7b1359d2d3
get rid of some dead code
2011-07-13 12:47:46 +02:00
Marco Martin
6354e56a91
emit visiblechanged when it should
2011-07-12 20:31:29 +02:00
Script Kiddy
471fbd1d30
SVN_SILENT made messages (.desktop file)
2011-07-12 10:36:11 +02:00
Marco Martin
756b3f1685
crash-- move after first call to applet()
2011-07-11 22:44:05 +02:00
Marco Martin
1d5ec8c2e0
insert a catalog named as the plugin name
2011-07-11 21:24:26 +02:00
Script Kiddy
b30f688938
SVN_SILENT made messages (.desktop file)
2011-07-11 10:55:46 +02:00
Script Kiddy
b615e3f5fa
SVN_SILENT made messages (.desktop file)
2011-07-10 09:21:33 +02:00
Daker Fernandes Pinheiro
00576442cc
Add ButtonRow and ButtonColumn
...
- Add ButtonGroup.js which contains the logic behind ButtonRow/Column
- Code taken from desktop qt-components
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-08 19:56:50 -03:00
Daker Fernandes Pinheiro
69670fcd56
Add copyright for BusyIndicator
...
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-08 19:21:24 -03:00
Daker Fernandes Pinheiro
33b63aa125
Change BusyIndicator smoothAnimation property default to be true
...
- Also simplified the BusyIndicator gallery example
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-08 18:52:40 -03:00
Daker Fernandes Pinheiro
363e341f66
Remove ListItemView supports
...
- ListItemView, ListItem were removed because could be easily built using ScrollBar
- ListHighlight was renamed into Highlight
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-08 18:49:40 -03:00
Montel Laurent
addf0945a1
Fix compile warning
2011-07-08 22:06:29 +02:00
Daker Fernandes Pinheiro
30889de6e7
Refactor Switch, CheckBox, RadioButton to extend a single DualStateButton
...
- To extend the dual state button, just add the visual component in the view property
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-08 15:11:55 -03:00
Daker Fernandes Pinheiro
a650da9ee5
Add Switch component
...
API and code based on CheckBox
- Misses the Switch resources
2011-07-08 14:53:52 -03:00
Daker Fernandes Pinheiro
8dc9dcd090
Add keyboard events handling in RadioButton and CheckBox
...
When space or return is pressed, it changes the component state.
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-08 14:41:46 -03:00
Daker Fernandes Pinheiro
5ac7ececa9
Add keyboard events handling in Slider
...
Using the arrow keys enables the user to increase/decrease stepSize units
from the Slider's value.
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-08 14:41:13 -03:00
Daker Fernandes Pinheiro
decf76214c
Add keyboard events support in ScrollBar
...
Pressing up/down/left/right keys makes the ScrollBar move
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
2011-07-08 14:40:28 -03:00
Aaron Seigo
9188aeab5a
fix localIO API calls
2011-07-07 16:29:57 +02:00
Script Kiddy
ab013bca0b
SVN_SILENT made messages (.desktop file)
2011-07-06 10:41:04 +02:00
Marco Martin
a9d22b9877
build drag and drop plugin
2011-07-05 21:16:28 +02:00
Marco Martin
93bfcfe8fc
drag and drop plugin by Gregory Schlomoff
...
CCMAIL: gregory.schlomoff@gmail.com
2011-07-05 21:14:04 +02:00
Marco Martin
7c947d8e96
reset models in the proper way
2011-06-24 23:54:07 +02:00
Marco Martin
c4fb39de30
guard pointers, crash--
2011-06-24 17:58:21 +02:00
Script Kiddy
25292578ca
SVN_SILENT made messages (.desktop file)
2011-06-21 11:01:05 +02:00
Marco Martin
86d4283ff9
read only property: activeWindow
2011-06-19 23:08:15 +02:00
Marco Martin
3475f99f96
guard against crash
2011-06-19 19:07:55 +02:00
Script Kiddy
25c6e9800a
SVN_SILENT made messages (.desktop file)
2011-06-19 09:39:29 +02:00
Marco Martin
f257efe7f0
fix item removal with one source per item
2011-06-16 19:29:58 +02:00
Aaron Seigo
e8258b9131
delete the NAM; it isn't deleted by the QDeclarativeEngine
2011-06-15 14:18:43 +02:00
Aaron Seigo
05c405c17b
allow dataEngine: as well as engine: -> more consistent with documentation
2011-06-15 14:18:42 +02:00
Marco Martin
fe8ccf1d71
guard mainItem, crash--
2011-06-13 13:56:55 +02:00
Marco Martin
201a1d1d17
correct width qpropoerty
2011-06-13 13:46:07 +02:00
Dawit Alemayehu
5c16717f8a
Removed set but unused variable to fix -Wunused-but-set-variable warnings.
2011-06-10 13:13:20 -04:00
Marco Martin
d2efdc34ee
restore ability to register contextual actions
2011-06-09 14:31:35 +02:00
Dawit Alemayehu
5199d71e54
GIT_SILENT: Shut the compiler up about unused variables.
2011-06-08 13:53:46 -04:00
Marco Martin
42f8d04f6c
a dialog has margins, take them into account
2011-06-08 17:53:55 +02:00
Marco Martin
9cd8721f61
support for centering
2011-06-08 13:02:48 +02:00
Marco Martin
e8b1374ff0
initialize member
2011-06-07 21:07:27 +02:00
Marco Martin
d3868a8b65
revert last commit
...
popups are done correctly now
(is necessary so show, set the flags and show again)
2011-06-07 19:12:04 +02:00