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 0505934172 Merge pull request 'PortraitRow switch from anchors for width (bad) to Layout.fillWidth (good)' (#9) from prlayout into master 3 weeks ago
controls updating styles to use theme colours 2 months ago
fonts block approve fixes 1 month ago
i18n add translations for EmojiDrawer and move Statusbar back to cwtchui 2 months ago
images add clipcircle.png 3 weeks ago
styles updating styles to use theme colours 2 months ago
theme block approve fixes 1 month ago
.gitignore add translations for EmojiDrawer and move Statusbar back to cwtchui 2 months ago
Badge.qml update import paths 2 months ago
Button.qml update import paths 2 months ago
ButtonTextField.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 2 months ago
ComboBox.qml add combobox widget; tweak theme hilightcoloring fields; add rotation to icon (#4) 1 month ago
EllipsisLabel.qml Add Description to Settings Widget 1 month ago
EmojiDrawer.qml updating styles to use theme colours 2 months ago
FontAwesome.qml initial commit 2 months ago
HLine.qml update import paths 2 months ago
Icon.qml add combobox widget; tweak theme hilightcoloring fields; add rotation to icon (#4) 1 month ago
IconTextField.qml update import paths 2 months ago
Portrait.qml update location of clipcircle.png 3 weeks ago
PortraitRow.qml PortraitRow switch from anchors for width (bad) to Layout.fillWidth (good) 3 weeks ago
RadioButton.qml initial commit 2 months ago
Readme.md Update 'Readme.md' 2 months ago
ScalingLabel.qml ScalingLabel: use theme text colour 2 months ago
Setting.qml Add Description to Settings Widget 1 month ago
SettingsList.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 2 months ago
Slider.qml block approve fixes 1 month ago
TextField.qml add clipcircle.png 3 weeks ago
ToggleSwitch.qml update import paths 2 months ago
Toolbar.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 2 months ago
UnderlineTextField.qml update import paths 2 months ago
opaque.pro add translations for EmojiDrawer and move Statusbar back to cwtchui 2 months ago
qml.qrc add translations for EmojiDrawer and move Statusbar back to cwtchui 2 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. :)