Open Privacy's Awesome Qt-based User Experience Library
Go to file
Dan Ballard 9aa304e3e7 allow theme to be changed via gcd 2020-05-28 17:42:01 -07:00
controls updating styles to use theme colours 2020-05-19 16:33:12 -07:00
fonts add mutant standard schema file 2020-05-19 16:57:11 -07:00
i18n add translations for EmojiDrawer and move Statusbar back to cwtchui 2020-05-20 11:50:45 -07:00
styles updating styles to use theme colours 2020-05-19 16:29:19 -07:00
theme allow theme to be changed via gcd 2020-05-28 17:42:01 -07:00
.gitignore add translations for EmojiDrawer and move Statusbar back to cwtchui 2020-05-20 11:50:45 -07:00
Badge.qml update import paths 2020-05-19 13:25:56 -07:00
Button.qml update import paths 2020-05-19 13:25:56 -07:00
ButtonTextField.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 2020-05-26 16:56:22 -07:00
EllipsisLabel.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 2020-05-26 16:56:22 -07:00
EmojiDrawer.qml updating styles to use theme colours 2020-05-19 16:33:12 -07:00
FontAwesome.qml initial commit 2020-05-19 12:49:52 -07:00
HLine.qml update import paths 2020-05-19 13:25:56 -07:00
Icon.qml update import paths 2020-05-19 13:25:56 -07:00
IconTextField.qml update import paths 2020-05-19 13:25:56 -07:00
Portrait.qml suppress nonerror error message 2020-05-19 16:58:31 -07:00
PortraitRow.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 2020-05-26 16:56:22 -07:00
RadioButton.qml initial commit 2020-05-19 12:49:52 -07:00
Readme.md Update 'Readme.md' 2020-05-20 14:05:11 -07:00
ScalingLabel.qml ScalingLabel: use theme text colour 2020-05-19 19:26:58 -07:00
Setting.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 2020-05-26 16:56:22 -07:00
SettingsList.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 2020-05-26 16:56:22 -07:00
TextField.qml updating styles to use theme colours 2020-05-19 16:25:00 -07:00
ToggleSwitch.qml update import paths 2020-05-19 13:25:56 -07:00
Toolbar.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 2020-05-26 16:56:22 -07:00
UnderlineTextField.qml update import paths 2020-05-19 13:25:56 -07:00
opaque.pro add translations for EmojiDrawer and move Statusbar back to cwtchui 2020-05-20 11:50:45 -07:00
qml.qrc add translations for EmojiDrawer and move Statusbar back to cwtchui 2020-05-20 11:50:45 -07:00

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