Reusable Status QML components
Go to file
Pascal Precht 936955e737
fix(StatusSeedPhraseInput): ensure `doneInsertingWord` is emitted
When `completeWorldFill()` was called, we relied on it to implicitly
emit `doneInsertingWord()` via the seed phrase input's text change
event.

However, it turns out `doneInsertingWord` is only emitted by the
component when the filtered suggestion list has one item.

In practice this isn't always the case, for example the word "fun"
might be desired, in which case the suggestion list includes "fun"
and "funny".

This introduces some third order effects, such that in Status Desktop
the view doesn't get notified that a word has been inserted, which then
causes it invalidate the mnemonic (or rather, it keeps the confirm
button disabled because it thinks there were less words inserted than
required).

To account for this we always explicitly emit the `doneInsertWord`
signal.
2022-05-12 12:35:49 +02:00
.github chore: add check for dark and light theme to PR template (#597) 2022-03-24 07:03:31 +01:00
doc feat(StatusImageCropPanel): Add image crop editor panel component 2022-05-05 17:16:13 +02:00
sandbox fix(StatusTagSelector): Adjusted name tags list width and scrolling (#653) 2022-05-10 19:04:27 +03:00
src fix(StatusSeedPhraseInput): ensure `doneInsertingWord` is emitted 2022-05-12 12:35:49 +02:00
tests fix(StatusImageCrop): output an error if trying to set cropRect without image 2022-05-05 17:16:13 +02:00
.gitignore tests(StatusInput): add regression test to check for qml output 2022-03-28 22:52:36 +03:00
CHANGELOG.md chore: cut v0.25.0 release 2022-03-07 19:11:38 +01:00
CMakeLists.txt tests(general): refactor tests 2022-05-05 17:16:13 +02:00
README.md feat(StatusChatListAndCategories): add drag and drop support for cate… (#349) 2021-08-26 15:33:45 -04:00
statusq.qrc build: Added all qmls and assets to resources (fixes release build) (#647) 2022-05-04 21:19:46 +03:00

README.md

StatusQ

An emerging reusable QML UI component library for Status applications.

Usage

StatusQ introduces a module namespace that semantically groups components so they can be easily imported. These modules are:

Provided components can be viewed and tested in the sandbox application that comes with this repository. Other than that, modules and components can be used as expected.

Example:

import Status.Core 0.1
import Status.Controls 0.1

StatusInput {
  ...
}

Viewing and testing components

To make viewing and testing components easy, we've added a sandbox application to this repository in which StatusQ components are being build. This is the first place where components see the light of the world and can be run in a proper application environment.

Using Qt Creator

The easiest way to run the sandbox application is to simply open the provided sandbox.pro file using Qt Creator.

Using command line interface

To run the sandbox from within a command line interface, run the following commands:

$ git clone https://github.com/status-im/StatusQ
$ cd StatusQ/sandbox
$ ./scripts/build

Once that is done, the sandbox can be started with the generated executable:

$ ./bin/sandbox

More Documentation available on the wiki