Open Privacy's Awesome Qt-based User Experience Library
Go to file
Dan Ballard 5f130afa9f Responsive Container grid 2020-09-18 15:59:34 -07:00
controls updating styles to use theme colours 2020-05-19 16:33:12 -07:00
fonts block approve fixes 2020-07-06 15:50:59 -07:00
i18n add translations for EmojiDrawer and move Statusbar back to cwtchui 2020-05-20 11:50:45 -07:00
images add clipcircle.png 2020-07-14 15:24:16 -07:00
styles updating styles to use theme colours 2020-05-19 16:29:19 -07:00
theme move badge anchors to portraitRow; add softgreen to theme 2020-09-04 16:59:33 -07:00
.gitignore add translations for EmojiDrawer and move Statusbar back to cwtchui 2020-05-20 11:50:45 -07:00
Badge.qml move badge anchors to portraitRow; add softgreen to theme 2020-09-04 16:59:33 -07:00
Button.qml dark theme fixes 2020-08-31 12:49:32 -07:00
ButtonTextField.qml dark theme fixes 2020-08-31 12:49:32 -07:00
ComboBox.qml add combobox widget; tweak theme hilightcoloring fields; add rotation to icon (#4) 2020-06-17 16:02:28 -07:00
EllipsisLabel.qml updates and minor error fixes while ravamping Messages in ui 2020-07-25 09:44:47 -07:00
EmojiDrawer.qml adding new widgets: Flickable, ScrollBar, Tab; Additional changes and fixes around messaging 2020-08-24 14:51:37 -07:00
Flickable.qml adding new widgets: Flickable, ScrollBar, Tab; Additional changes and fixes around messaging 2020-08-24 14:51:37 -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 minor widget and theme fix/additions for the profile manager 2020-09-03 15:40:44 -07:00
IconTextField.qml dark theme fixes 2020-08-31 12:49:32 -07:00
Portrait.qml move badge anchors to portraitRow; add softgreen to theme 2020-09-04 16:59:33 -07:00
PortraitRow.qml move badge anchors to portraitRow; add softgreen to theme 2020-09-04 16:59:33 -07:00
RadioButton.qml minor widget and theme fix/additions for the profile manager 2020-09-03 15:40:44 -07:00
Readme.md Update 'Readme.md' 2020-05-20 14:05:11 -07:00
ResponsiveContainer.qml Responsive Container grid 2020-09-18 15:59:34 -07:00
ScalingLabel.qml ScalingLabel: use theme text colour 2020-05-19 19:26:58 -07:00
ScrollBar.qml adding new widgets: Flickable, ScrollBar, Tab; Additional changes and fixes around messaging 2020-08-24 14:51:37 -07:00
Setting.qml minor widget and theme fix/additions for the profile manager 2020-09-03 15:40:44 -07:00
SettingsList.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 2020-05-26 16:56:22 -07:00
Slider.qml block approve fixes 2020-07-06 15:50:59 -07:00
Tab.qml adding new widgets: Flickable, ScrollBar, Tab; Additional changes and fixes around messaging 2020-08-24 14:51:37 -07:00
TextField.qml minor widget and theme fix/additions for the profile manager 2020-09-03 15:40:44 -07:00
ToggleSwitch.qml update import paths 2020-05-19 13:25:56 -07:00
Toolbar.qml dark theme fixes 2020-08-31 12:49:32 -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. :)