Open Privacy's Awesome Qt-based User Experience Library
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Dan Ballard 136e613ab5 Merge pull request 'new scaling system pass one' (#36) from newscale into master 2 years ago
controls redesigned emoji drawer 2 years ago
fonts new scaling system pass one 2 years ago
i18n italian and spanish translations (emoji drawer) 2 years ago
images add clipcircle.png 2 years ago
styles updating styles to use theme colours 2 years ago
theme new scaling system pass one 2 years ago
.gitignore add translations for EmojiDrawer and move Statusbar back to cwtchui 2 years ago
Badge.qml move badge anchors to portraitRow; add softgreen to theme 2 years ago
Button.qml remove twemoji, restore emoji fontsize support 2 years ago
ButtonTextField.qml Fixes as a Result of Android Testing: (#25) 2 years ago
Collapser.qml addressing comments on #36 2 years ago
Column.qml new scaling system pass one 2 years ago
ComboBox.qml new scaling system pass one 2 years ago
EmojiDrawer.qml addressing comments on #36 2 years ago
Flickable.qml adding new widgets: Flickable, ScrollBar, Tab; Additional changes and fixes around messaging 2 years ago
FontAwesome.qml initial commit 2 years ago
HLine.qml new scaling system pass one 2 years ago
Icon.qml remove twemoji, restore emoji fontsize support 2 years ago
IconTextField.qml dark theme fixes 2 years ago
LICENSE add LICENSE 2 years ago
Label.qml new scaling system pass one 2 years ago
Portrait.qml addressing comments on #36 2 years ago
PortraitRow.qml new scaling system pass one 2 years ago
RadioButton.qml new scaling system pass one 2 years ago
Readme.md Update 'Readme.md' 2 years ago
ResponsiveContainer.qml responsive size fixes 2 years ago
ScrollBar.qml Themeable Scrollbars - make scrollbars more visible 2 years ago
Setting.qml new scaling system pass one 2 years ago
SettingsList.qml Remove settings from SettingsList 2 years ago
Slider.qml block approve fixes 2 years ago
TabBar.qml new scaling system pass one 2 years ago
TextField.qml Portrait performTransform + color; ScalingLabel bold option; TextField error option + color 2 years ago
ToggleSwitch.qml addressing comments on #36 2 years ago
Toolbar.qml new scaling system pass one 2 years ago
UnderlineTextField.qml Fixes as a Result of Android Testing: (#25) 2 years ago
opaque.pro italian and spanish translations (emoji drawer) 2 years ago
qml.qrc Merge branch 'master' of https://git.openprivacy.ca/openprivacy/opaque into HEAD 2 years ago

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. :)