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 1 month ago
controls redesigned emoji drawer 2 months ago
fonts new scaling system pass one 1 month ago
i18n italian and spanish translations (emoji drawer) 1 month ago
images add clipcircle.png 6 months ago
styles updating styles to use theme colours 8 months ago
theme new scaling system pass one 1 month ago
.gitignore add translations for EmojiDrawer and move Statusbar back to cwtchui 8 months ago
Badge.qml move badge anchors to portraitRow; add softgreen to theme 4 months ago
Button.qml remove twemoji, restore emoji fontsize support 2 months ago
ButtonTextField.qml Fixes as a Result of Android Testing: (#25) 2 months ago
Collapser.qml addressing comments on #36 1 month ago
Column.qml new scaling system pass one 1 month ago
ComboBox.qml new scaling system pass one 1 month ago
EmojiDrawer.qml addressing comments on #36 1 month ago
Flickable.qml adding new widgets: Flickable, ScrollBar, Tab; Additional changes and fixes around messaging 5 months ago
FontAwesome.qml initial commit 8 months ago
HLine.qml new scaling system pass one 1 month ago
Icon.qml remove twemoji, restore emoji fontsize support 2 months ago
IconTextField.qml dark theme fixes 4 months ago
LICENSE add LICENSE 1 month ago
Label.qml new scaling system pass one 1 month ago
Portrait.qml addressing comments on #36 1 month ago
PortraitRow.qml new scaling system pass one 1 month ago
RadioButton.qml new scaling system pass one 1 month ago
Readme.md Update 'Readme.md' 8 months ago
ResponsiveContainer.qml responsive size fixes 1 month ago
ScrollBar.qml Themeable Scrollbars - make scrollbars more visible 2 months ago
Setting.qml new scaling system pass one 1 month ago
SettingsList.qml Remove settings from SettingsList 2 months ago
Slider.qml block approve fixes 6 months ago
TabBar.qml new scaling system pass one 1 month ago
TextField.qml Portrait performTransform + color; ScalingLabel bold option; TextField error option + color 3 months ago
ToggleSwitch.qml addressing comments on #36 1 month ago
Toolbar.qml new scaling system pass one 1 month ago
UnderlineTextField.qml Fixes as a Result of Android Testing: (#25) 2 months ago
opaque.pro italian and spanish translations (emoji drawer) 1 month ago
qml.qrc Merge branch 'master' of https://git.openprivacy.ca/openprivacy/opaque into HEAD 1 month 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. :)