status-desktop/ui/StatusQ
Alex Jbanca 75571c9f22 fix(StatusItemsSelector): Allow icons to be provided by the model
Fixing https://github.com/status-im/status-desktop/issues/9766
The main change is that the model will now provide the image type, on top of the image source. The image type can be either icon or image. Icons will be coloured with the same colour as the text.
2023-03-28 12:46:20 +03:00
..
doc feat(SQ/StatusEmojiAndColorComboBox): Created new component 2023-03-23 08:24:45 +01:00
include/StatusQ feat(StatusQ): Add cpp model utils to allow handling ListModel and generic QAbstractItemModel uniformly 2023-02-20 22:25:56 +01:00
sandbox chore(Storybook): StatusItemSelectorPage moved from Sandbox to Storybook 2023-03-21 11:59:12 +01:00
sanity_checker QR code scanner (QML component) (#9464) 2023-03-07 12:08:38 -04:00
scripts fix(StatusQ/Sandbox): move and update build script 2023-02-20 20:36:05 +01:00
src fix(StatusItemsSelector): Allow icons to be provided by the model 2023-03-28 12:46:20 +03:00
tests fix(wallet): fix rename account modal states 2023-01-05 22:16:44 +04:00
.gitmodules chore(git): add vendor/SortFilterProxyModel 2022-09-21 18:20:12 +02:00
CHANGELOG.md chore: cut v0.25.0 release 2022-09-21 18:20:07 +02:00
CMakeLists.txt move qzxing and SortFilterProxyModel to vendor folder 2023-03-23 12:09:19 +01:00
README.md fix(StatusQ/Sandbox): move and update build script 2023-02-20 20:36:05 +01:00
StatusQSources.cmake feat(StatusQ): Add cpp model utils to allow handling ListModel and generic QAbstractItemModel uniformly 2023-02-20 22:25:56 +01: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 CMakeLists.txt 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
$ git submodule update --init
$ ./scripts/build

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

$ ./build/sandbox/Sandbox