Open Privacy's Awesome Qt-based User Experience Library
Перейти к файлу
Dan Ballard 136e613ab5 Merge pull request 'new scaling system pass one' (#36) from newscale into master
Reviewed-on: #36

all comments appear addressed :)
2020-12-16 17:48:48 -08:00
controls redesigned emoji drawer 2020-11-24 22:18:11 -08:00
fonts new scaling system pass one 2020-12-14 17:16:49 -08:00
i18n italian and spanish translations (emoji drawer) 2020-12-11 14:04:26 -08:00
images add clipcircle.png 2020-07-14 15:24:16 -07:00
styles updating styles to use theme colours 2020-05-19 16:29:19 -07:00
theme new scaling system pass one 2020-12-14 17:16:49 -08:00
.gitignore add translations for EmojiDrawer and move Statusbar back to cwtchui 2020-05-20 11:50:45 -07:00
Badge.qml move badge anchors to portraitRow; add softgreen to theme 2020-09-04 16:59:33 -07:00
Button.qml remove twemoji, restore emoji fontsize support 2020-11-26 16:29:09 -08:00
ButtonTextField.qml Fixes as a Result of Android Testing: (#25) 2020-11-19 16:15:50 -08:00
Collapser.qml addressing comments on #36 2020-12-16 17:34:15 -08:00
Column.qml new scaling system pass one 2020-12-14 17:16:49 -08:00
ComboBox.qml new scaling system pass one 2020-12-14 17:16:49 -08:00
EmojiDrawer.qml addressing comments on #36 2020-12-16 17:34:15 -08:00
Flickable.qml adding new widgets: Flickable, ScrollBar, Tab; Additional changes and fixes around messaging 2020-08-24 14:51:37 -07:00
FontAwesome.qml initial commit 2020-05-19 12:49:52 -07:00
HLine.qml new scaling system pass one 2020-12-14 17:16:49 -08:00
Icon.qml remove twemoji, restore emoji fontsize support 2020-11-26 16:29:09 -08:00
IconTextField.qml dark theme fixes 2020-08-31 12:49:32 -07:00
LICENSE add LICENSE 2020-12-07 23:22:26 -08:00
Label.qml new scaling system pass one 2020-12-14 17:16:49 -08:00
Portrait.qml addressing comments on #36 2020-12-16 17:34:15 -08:00
PortraitRow.qml new scaling system pass one 2020-12-14 17:16:49 -08:00
RadioButton.qml new scaling system pass one 2020-12-14 17:16:49 -08:00
Readme.md Update 'Readme.md' 2020-05-20 14:05:11 -07:00
ResponsiveContainer.qml responsive size fixes 2020-12-01 17:13:07 -08:00
ScrollBar.qml Themeable Scrollbars - make scrollbars more visible 2020-11-26 15:56:40 -08:00
Setting.qml new scaling system pass one 2020-12-14 17:16:49 -08:00
SettingsList.qml Remove settings from SettingsList 2020-11-23 12:25:25 -08:00
Slider.qml block approve fixes 2020-07-06 15:50:59 -07:00
TabBar.qml new scaling system pass one 2020-12-14 17:16:49 -08:00
TextField.qml Portrait performTransform + color; ScalingLabel bold option; TextField error option + color 2020-10-19 15:20:38 -07:00
ToggleSwitch.qml addressing comments on #36 2020-12-16 17:34:15 -08:00
Toolbar.qml new scaling system pass one 2020-12-14 17:16:49 -08:00
UnderlineTextField.qml Fixes as a Result of Android Testing: (#25) 2020-11-19 16:15:50 -08:00
opaque.pro italian and spanish translations (emoji drawer) 2020-12-11 14:04:26 -08:00
qml.qrc Merge branch 'master' of https://git.openprivacy.ca/openprivacy/opaque into HEAD 2020-12-14 17:19:50 -08:00

Readme.md

Opaque

Open Privacy's Awesome Qt-based User Experience Library!

Usage

Add the Opaque widgets as a submodule wherever your QML files are stored:

cd qml
git submodule add https://git.openprivacy.ca/openprivacy/opaque.git
git submodule init
git submodule update

Compile as normal. :)

Translations

Currently the EmojiDrawer is the only widget that needs translations, and it hasn't been fully ported into the translation system yet.

To use translations, install the appropriate i18n/* files as Qt translators. For example, in Cwtch we load translations as follows:

gcd.OpaqueTranslator = core.NewQTranslator(nil)
gcd.OpaqueTranslator.Load("translation_"+core.QLocale_System().Name(), ":/qml/opaque/i18n/", "", "")
core.QCoreApplication_InstallTranslator(gcd.OpaqueTranslator)

Widgets

Documentation coming soon. :)