The ProgressBar is defined in the Qt Components common API.
It has a orientation property, usign Qt.Horizontal or
Qt.Vertical to set the orientation of the component.
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
The TextArea is defined in the Qt Components common API.
Some features were added as a plasma specific behaviour for this component:
- It emit the keys pressed and released signals
- Implements a focus policy
- The current implementation only covers the desktop use case.
For mobile use, a flickable text area with scroll decorators
would be more appropriate.
- Scroll bars appears only if the content is bigger than the content.
- The width of the the scroll bars can be setted through the scrollWidth
property
- The size of the text content can also be setted. For this the properties
contentMaxWidth and contentMaxHeight must be used. The default value
is the dimensions of the TextArea.
The current state of the implemention lacks of:
- A behaviour for hover state, present in other components
- A errorHighlight usage
- Polish the visual alignment of the SVGs items
- Lacks of right mouse button interaction.
Would be interesting to use it to cut & paste operations.
Signed-off-by: Daker Fernandes Pinheiro <dakerfp@gmail.com>
The TextField is defined in the Qt Components common API.
Some features were added as a plasma specific behaviour for this component:
- It emit the keys pressed and released signals.
- Implements a focus policy
The current state of the implemention lacks of:
- A behaviour for hover state, present in other components
- A errorHighlight usage
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>
- 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>