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 c33a868d0c Merge pull request 'Portrait performTransform + color; ScalingLabel bold option; TextField error option + color' (#17) from profileAddEdit into master 20 hours ago
controls updating styles to use theme colours 5 months ago
fonts block approve fixes 3 months ago
i18n add translations for EmojiDrawer and move Statusbar back to cwtchui 5 months ago
images add clipcircle.png 3 months ago
styles updating styles to use theme colours 5 months ago
theme Portrait performTransform + color; ScalingLabel bold option; TextField error option + color 4 days ago
.gitignore add translations for EmojiDrawer and move Statusbar back to cwtchui 5 months ago
Badge.qml move badge anchors to portraitRow; add softgreen to theme 1 month ago
Button.qml dark theme fixes 1 month ago
ButtonTextField.qml dark theme fixes 1 month ago
ComboBox.qml add combobox widget; tweak theme hilightcoloring fields; add rotation to icon (#4) 4 months ago
EllipsisLabel.qml updates and minor error fixes while ravamping Messages in ui 3 months ago
EmojiDrawer.qml adding new widgets: Flickable, ScrollBar, Tab; Additional changes and fixes around messaging 2 months ago
Flickable.qml adding new widgets: Flickable, ScrollBar, Tab; Additional changes and fixes around messaging 2 months ago
FontAwesome.qml initial commit 5 months ago
HLine.qml update import paths 5 months ago
Icon.qml minor widget and theme fix/additions for the profile manager 1 month ago
IconTextField.qml dark theme fixes 1 month ago
Portrait.qml Portrait performTransform + color; ScalingLabel bold option; TextField error option + color 4 days ago
PortraitRow.qml move badge anchors to portraitRow; add softgreen to theme 1 month ago
RadioButton.qml minor widget and theme fix/additions for the profile manager 1 month ago
Readme.md Update 'Readme.md' 5 months ago
ResponsiveContainer.qml Responsive Container grid 1 month ago
ScalingLabel.qml Portrait performTransform + color; ScalingLabel bold option; TextField error option + color 4 days ago
ScrollBar.qml adding new widgets: Flickable, ScrollBar, Tab; Additional changes and fixes around messaging 2 months ago
Setting.qml minor widget and theme fix/additions for the profile manager 1 month ago
SettingsList.qml Add settings and settingsList; remove anchors from inside EllipsisLabel 5 months ago
Slider.qml block approve fixes 3 months ago
Tab.qml adding new widgets: Flickable, ScrollBar, Tab; Additional changes and fixes around messaging 2 months ago
TextField.qml Portrait performTransform + color; ScalingLabel bold option; TextField error option + color 4 days ago
ToggleSwitch.qml update import paths 5 months ago
Toolbar.qml dark theme fixes 1 month ago
UnderlineTextField.qml Portrait performTransform + color; ScalingLabel bold option; TextField error option + color 4 days ago
opaque.pro add translations for EmojiDrawer and move Statusbar back to cwtchui 5 months ago
qml.qrc add translations for EmojiDrawer and move Statusbar back to cwtchui 5 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. :)