BlackBerry 10 specific widget style as a style plugin

- upstreaming the implementation of a BlackBerry 10 specific widget style
- modfied to be integrated as a style plugin being a part of the QtBase
- according docs are provided in QtDocs in another commit
- attributing the excellent work at KDAB who was the original developer

Change-Id: I57c548f6ec4cf02f125ee216f1ce1b764f29e8bb
Reviewed-by: Bernd Weimer <bweimer@blackberry.com>
Reviewed-by: Rafael Roquetto <rafael.roquetto@kdab.com>
This commit is contained in:
Vladimir Minenko 2014-10-16 11:31:25 +02:00
parent 190bfbae64
commit a3398c1824
121 changed files with 2420 additions and 0 deletions

View File

@ -3,5 +3,6 @@ TEMPLATE = subdirs
SUBDIRS *= sqldrivers
!winrt:qtHaveModule(network): SUBDIRS += bearer
qtHaveModule(gui): SUBDIRS *= imageformats platforms platforminputcontexts platformthemes generic
qtHaveModule(widgets): SUBDIRS *= styles
!winrt:!wince*:qtHaveModule(widgets):SUBDIRS += printsupport

View File

@ -0,0 +1,54 @@
<RCC>
<qresource prefix="/">
<file>light/button/core_button_disabled.png</file>
<file>light/button/core_button_inactive.png</file>
<file>light/button/core_button_pressed.png</file>
<file>light/checkbox/core_checkbox_checked.png</file>
<file>light/checkbox/core_checkbox_disabled.png</file>
<file>light/checkbox/core_checkbox_disabledchecked.png</file>
<file>light/checkbox/core_checkbox_enabled.png</file>
<file>light/checkbox/core_checkbox_pressed.png</file>
<file>light/checkbox/core_checkbox_pressedchecked.png</file>
<file>light/radiobutton/core_radiobutton_checked.png</file>
<file>light/radiobutton/core_radiobutton_disabled.png</file>
<file>light/radiobutton/core_radiobutton_disabledchecked.png</file>
<file>light/radiobutton/core_radiobutton_enabled.png</file>
<file>light/radiobutton/core_radiobutton_pressed.png</file>
<file>light/slider/core_slider_active.png</file>
<file>light/slider/core_slider_disabled.png</file>
<file>light/slider/core_slider_handle.png</file>
<file>light/slider/core_slider_handle_disabled.png</file>
<file>light/slider/core_slider_handle_pressed.png</file>
<file>light/slider/core_slider_inactive.png</file>
<file>light/slider/core_slider_vactive.png</file>
<file>light/slider/core_slider_vdisabled.png</file>
<file>light/slider/core_slider_vinactive.png</file>
<file>light/slider/core_slider_black.png</file>
<file>light/slider/core_slider_enabled.png</file>
<file>light/slider/core_slider_vblack.png</file>
<file>light/slider/core_slider_venabled.png</file>
<file>light/button/core_button_active.png</file>
<file>light/lineedit/core_textinput_bg.png</file>
<file>light/lineedit/core_textinput_bg_disabled.png</file>
<file>light/lineedit/core_textinput_bg_focused.png</file>
<file>light/progressbar/core_progressindicator_bg.png</file>
<file>light/progressbar/core_progressindicator_complete.png</file>
<file>light/progressbar/core_progressindicator_fill.png</file>
<file>light/progressbar/core_progressindicator_vbg.png</file>
<file>light/progressbar/core_progressindicator_vcomplete.png</file>
<file>light/progressbar/core_progressindicator_vfill.png</file>
<file>light/combobox/core_dropdown_button.png</file>
<file>light/combobox/core_dropdown_button_arrowdown.png</file>
<file>light/combobox/core_dropdown_button_arrowdown_pressed.png</file>
<file>light/combobox/core_dropdown_button_arrowup.png</file>
<file>light/combobox/core_dropdown_button_disabled.png</file>
<file>light/combobox/core_dropdown_button_pressed.png</file>
<file>light/combobox/core_dropdown_checkmark.png</file>
<file>light/combobox/core_dropdown_divider.png</file>
<file>light/combobox/core_dropdown_menu.png</file>
<file>light/combobox/core_dropdown_menuup.png</file>
<file>light/combobox/core_listitem_active.png</file>
<file>light/listitem/core_listitem_active.png</file>
<file>light/listitem/core_listitem_divider.png</file>
</qresource>
</RCC>

View File

@ -0,0 +1,28 @@
TARGET = bb10styleplugin
PLUGIN_TYPE = styles
PLUGIN_CLASS_NAME = BlackBerry10StylePlugin
load(qt_plugin)
INCLUDEPATH += $$PWD
QT += widgets
HEADERS += \
qpixmapstyle.h \
qbb10brightstyle.h \
qbb10darkstyle.h \
qbb10styleplugin.h
SOURCES += \
qpixmapstyle.cpp \
qbb10brightstyle.cpp \
qbb10darkstyle.cpp \
qbb10styleplugin.cpp
RESOURCES += \
qbb10brightstyle.qrc \
qbb10darkstyle.qrc
OTHER_FILES += qbb10styleplugin.json

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 935 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 874 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 182 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 135 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 629 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 903 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 594 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 385 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 996 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.8 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 787 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 925 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.6 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 134 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 662 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 688 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 149 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 454 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 394 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 164 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 136 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 635 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 658 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 815 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 614 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 602 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 369 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 983 B

Some files were not shown because too many files have changed in this diff Show More