- The current disabled buttons have less opacity when disabled
instead of custom graphics. Needs to be defined if this is
the expected behaviour.
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
- 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>
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>
- 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>
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>
- 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>
- 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>
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>
- Components added to the api: ListItemView, ListHighlight and ListItem
- Example added in the components gallery
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
- An example was added into the gallery
- The Keys and Mouse Wheels events are not being handled yet
- The value indicator is not yet created
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
Changing to Qt::QueuedConnection delays setupData().
this makes the dataChanged() signal arrive to qml only when the full
batch of setData has been done.
this in turn doesn't let incomplete data arrive to the model, making an
incomplete role mapping.
should fix the QML version of Lionmail
CCMAIL:sebas@kde.org