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