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.
erinn e1edc24166 Merge pull request 'Add settings and settingsList; remove anchors from inside EllipsisLabel' (#1) from settings into master 13 hours ago
controls updating styles to use theme colours 1 week ago
fonts add mutant standard schema file 1 week ago
i18n add translations for EmojiDrawer and move Statusbar back to cwtchui 6 days ago
styles updating styles to use theme colours 1 week ago
theme add theme switching support 1 week ago
.gitignore add translations for EmojiDrawer and move Statusbar back to cwtchui 6 days ago
Badge.qml update import paths 1 week ago
Button.qml update import paths 1 week ago
ButtonTextField.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 13 hours ago
EllipsisLabel.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 13 hours ago
EmojiDrawer.qml updating styles to use theme colours 1 week ago
FontAwesome.qml initial commit 1 week ago
HLine.qml update import paths 1 week ago
Icon.qml update import paths 1 week ago
IconTextField.qml update import paths 1 week ago
Portrait.qml suppress nonerror error message 1 week ago
PortraitRow.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 13 hours ago
RadioButton.qml initial commit 1 week ago
Readme.md Update 'Readme.md' 6 days ago
ScalingLabel.qml ScalingLabel: use theme text colour 1 week ago
Setting.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 13 hours ago
SettingsList.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 13 hours ago
TextField.qml updating styles to use theme colours 1 week ago
ToggleSwitch.qml update import paths 1 week ago
Toolbar.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 13 hours ago
UnderlineTextField.qml update import paths 1 week ago
opaque.pro add translations for EmojiDrawer and move Statusbar back to cwtchui 6 days ago
qml.qrc add translations for EmojiDrawer and move Statusbar back to cwtchui 6 days 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. :)