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