Qt Quick Components: Difference between revisions

From Qt Wiki
Jump to navigation Jump to search
(Add "cleanup" tag)
(IRC channels have moved to Libera.​Chat)
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
{{Cleanup | reason=Auto-imported from ExpressionEngine.}}
 


[[Category:Developing_with_Qt::Qt Quick]]
[[Category:Developing_with_Qt::Qt Quick]]
Line 5: Line 5:
[[QtQuickComponentsOld | Previous content of this page]]
[[QtQuickComponentsOld | Previous content of this page]]


= Qt Quick Components =
 


'''Note: page still under construction'''
'''Note: page still under construction'''


This project is to create QML UI components to ease application UI development in QML. It has the following goals:
This project is to create QML UI components to ease application UI development in QML. It has the following goals:
* desktop & touch UI components
* desktop & touch UI components
* easily styled for utmost visual flexibility
* easily styled for utmost visual flexibility
* desktop components have native look and feel
* desktop components have native look and feel
Line 46: Line 46:
== Project Details ==
== Project Details ==


=== Getting & Building Source Code ===
=== Getting & Building Source Code ===


See [[QtDesktopComponents]] for instructions
See [[QtDesktopComponents]] for instructions


=== Usage & Viewing Examples ===
=== Usage & Viewing Examples ===


Todo
Todo
Line 60: Line 60:
=== Collaborating with us ===
=== Collaborating with us ===


Mail: "qt-components@qt.io Mailing List":http://lists.qt.io/mailman/listinfo/qt-components
Mail: [http://lists.qt-project.org/mailman/listinfo/qt-components qt-components@qt.io Mailing List]
IRC: "#qt-quick on Freenode":irc://irc.freenode.net/#qt-quick
IRC: [irc://irc.libera.chat:6697/qt-quick #qt-quick on Freenode]
(For a full list of IRC channels of interest to Qt developers, see "OnlineCommunities":http://wiki.qt.io/OnlineCommunities.)
(For a full list of IRC channels of interest to Qt developers, see [http://wiki.qt.io/OnlineCommunities OnlineCommunities].)


= Component APIs =
= Component APIs =
Line 70: Line 70:
For reference, see the [[QQUIComponentsComparison | overview of the component names used for other projects]], and their property comparisons.
For reference, see the [[QQUIComponentsComparison | overview of the component names used for other projects]], and their property comparisons.


{background:#009900}. |''. Component |''. Summary |_. Status |
{| class="wikitable"
| Button| Simple Push Button | |
! Component  
| ToolButton | | |
! Summary  
| Checkbox | Button with checked property | |
! Status  
| Slider | | |
|-
| ProgressBar | | |
| Button
| TextField | Single line text input box | |
| Simple Push Button  
| TextArea | Multi-line text input box | |
|  
| RadioButton | | |
|-
| ButtonRow | | |
| ToolButton  
| Menu | | |
|  
| ContextMenu | | |
|  
| ToolBar | | |
|-
| StatusBar |  |  |
| Checkbox  
| Switch | | |
| Button with checked property  
| BusyIndicator | UI element to indicate something is happening | |
|  
| Page | | |
|-
| PageStack | | |
| Slider  
| ApplicationWindow | | |
|  
| SectionScroller | List lookup / alphabet scroller API | |
|  
| ScrollArea | Flickable/viewport with built-in decoration and scroll bar controls | |
|-
| ScrollDecorator | | |
| ProgressBar  
| Label | Text element | |
|  
| TabFrame /TabGroup | | |
|  
| TabBar | Row of Tabs | |
|-
| Icon | | |
| TextField  
| Calendar | Provides a way to select dates from a calendar | Under development "[1]":https://codereview.qt.io/#change,44899 "[2]":http://lists.qt.io/pipermail/qt-components/2013-January/000147.html |
| Single line text input box  
|  
|-
| TextArea  
| Multi-line text input box  
|  
|-
| RadioButton  
|  
|  
|-
| ButtonRow  
|  
|  
|-
| Menu  
|  
|  
|-
| ContextMenu  
|  
|  
|-
| ToolBar  
|  
|  
|-
| StatusBar  
|  
|   
|-
| Switch  
|  
|  
|-
| BusyIndicator  
| UI element to indicate something is happening  
|  
|-
| Page  
|  
|  
|-
| PageStack  
|  
|  
|-
| ApplicationWindow  
|  
|  
|-
| SectionScroller  
| List lookup / alphabet scroller API  
|  
|-
| ScrollArea  
| Flickable/viewport with built-in decoration and scroll bar controls  
|  
|-
| ScrollDecorator  
|  
|  
|-
| Label  
| Text element  
|  
|-
| TabFrame /TabGroup  
|  
|  
|-
| TabBar  
| Row of Tabs  
|  
|-
| Icon  
|  
|  
|-
| Calendar  
| Provides a way to select dates from a calendar  
| Under development [https://codereview.qt.io/#change,44899 [1]] [http://lists.qt-project.org/pipermail/qt-components/2013-January/000147.html [2]]
|}


== API Development Process ==
== API Development Process ==


* Add information about current existing APIs to [[QQUIComponentsComparison | overview of the component names used for other projects]]
* Add information about current existing APIs to [[QQUIComponentsComparison | overview of the component names used for other projects]]
* Discussions to happen on "mailing list":http://lists.qt.io/mailman/listinfo/qt-components.
* Discussions to happen on [http://lists.qt-project.org/mailman/listinfo/qt-components mailing list].
* Try to follow Qt naming convention if unsure.
* Try to follow Qt naming convention if unsure.


Line 110: Line 192:
== References ==
== References ==


Initial Project Description: https://bugreports.qt.io/browse/QTCOMPONENTS-72
Initial Project Description: https://bugreports.qt.io/browse/QTCOMPONENTS-72 <br>
Initial Desktop Components Spec: https://bugreports.qt.io//browse/QTCOMPONENTS-200
Initial Desktop Components Spec: https://bugreports.qt.io//browse/QTCOMPONENTS-200 <br>
[Nokia] Desktop Components for Qt5:
[Nokia] Desktop Components for Qt5: <br>
https://wiki.qt.io/QtDesktopComponents
https://wiki.qt.io/QtDesktopComponents <br>
http://labs.qt.nokia.com/2011/03/10/qml-components-for-desktop/
http://labs.qt.nokia.com/2011/03/10/qml-components-for-desktop/ <br>
http://labs.qt.nokia.com/2011/05/26/table-view-with-qt-quick/
http://labs.qt.nokia.com/2011/05/26/table-view-with-qt-quick/ <br>
http://labs.qt.nokia.com/2011/08/26/toplevel-windows-and-menus-with-qt-quick/
http://labs.qt.nokia.com/2011/08/26/toplevel-windows-and-menus-with-qt-quick/ <br>
http://labs.qt.nokia.com/2012/06/06/desktop-components-for-qt-5/
http://labs.qt.nokia.com/2012/06/06/desktop-components-for-qt-5/ <br>
[INdT] Components work:
[INdT] Components work: <br>
http://codecereal.blogspot.com.br/2012/04/qml-themingstyling.html
http://codecereal.blogspot.com.br/2012/04/qml-themingstyling.html

Latest revision as of 22:18, 14 August 2021


Previous content of this page


Note: page still under construction

This project is to create QML UI components to ease application UI development in QML. It has the following goals:

  • desktop & touch UI components
  • easily styled for utmost visual flexibility
  • desktop components have native look and feel

It is designed to serve as a reference platform for developers, incorporating good practices like accessibility support from the start.

Recent News

The current goal is to have a set of UI Components for Desktop ready for the Qt 5.1 release. This means feature freeze by end of February 2013.

As there already are several platform specific Qt Quick UI Component sets out there, we would like to make sure the new set of cross-platform UI Components take into consideration the thoughts and work already done in the various projects, and to take previous API naming choices into consideration.

Below you can (at the moment 'will') find an overview of the different APIs, and a summary of the discussions around them.

History and Related Projects

The ongoing work is building on the "Desktop Components" project that originally started as a proof of concept of what is possible to achieve with Qt Quick.

There are several UI Component sets made with Qt Quick that already are available. These are however all mobile platform specific:

  • MeeGo UI Components
  • Cascades by RIM
  • Ubuntu User Interface Toolkit
  • Jolla UI Components
  • Symbian UI Components
  • Plasma UI Components by KDE

The UI Components

The goal is to make a set of UI Components that work on both desktop and touch platforms, but in the first round to focus on desktop. The reason for this being to make it easier to port current QWidget-based applications to Qt Quick.

We however see that many UI Components make sense on both Desktop and Touch, and the goal will be to make the UI Components available on all platforms Qt runs on.

The UI Components will have native look and feel for the desktop platforms that Qt supports. But it is also possible to implement ones own style.

Project Details

Getting & Building Source Code

See QtDesktopComponents for instructions

Usage & Viewing Examples

Todo

Bug tracking

Please report any bugs found in <bug tracker>. We encourage attaching a simple qml file to the bug report which displays the problem.

Collaborating with us

Mail: qt-components@qt.io Mailing List IRC: #qt-quick on Freenode (For a full list of IRC channels of interest to Qt developers, see OnlineCommunities.)

Component APIs

Below is a table [under construction] of components identified within scope of this project, and their individual development status.

For reference, see the overview of the component names used for other projects, and their property comparisons.

Component Summary Status
Button Simple Push Button
ToolButton
Checkbox Button with checked property
Slider
ProgressBar
TextField Single line text input box
TextArea Multi-line text input box
RadioButton
ButtonRow
Menu
ContextMenu
ToolBar
StatusBar    
Switch
BusyIndicator UI element to indicate something is happening
Page
PageStack
ApplicationWindow
SectionScroller List lookup / alphabet scroller API
ScrollArea Flickable/viewport with built-in decoration and scroll bar controls
ScrollDecorator
Label Text element
TabFrame /TabGroup
TabBar Row of Tabs
Icon
Calendar Provides a way to select dates from a calendar Under development [1] [2]

API Development Process

Other component libraries

There are several existing open source component implementations out there. See QtQuickOpenComponents for a list of those.

References

Initial Project Description: https://bugreports.qt.io/browse/QTCOMPONENTS-72
Initial Desktop Components Spec: https://bugreports.qt.io//browse/QTCOMPONENTS-200
[Nokia] Desktop Components for Qt5:
https://wiki.qt.io/QtDesktopComponents
http://labs.qt.nokia.com/2011/03/10/qml-components-for-desktop/
http://labs.qt.nokia.com/2011/05/26/table-view-with-qt-quick/
http://labs.qt.nokia.com/2011/08/26/toplevel-windows-and-menus-with-qt-quick/
http://labs.qt.nokia.com/2012/06/06/desktop-components-for-qt-5/
[INdT] Components work:
http://codecereal.blogspot.com.br/2012/04/qml-themingstyling.html