Reusable Status QML components
Go to file
Pascal Precht ad8bc322d1 feat(StatusMessage): introduce `profileClickable` property
This property allows for enabling/disabling whether or not the profile
picture and display name of a message is clickable and also dictates the
cursor type accordingly.

The reason this is being introduced is that, with imported messages from
other systems (e.g. discord, telegram etc), we don't want the user to
trigger the popup menu for more profile information because we don't
know any profile information of messages coming from such systems.

Such messages are signed by the community.

Closes https://github.com/status-im/status-desktop/issues/6680
2022-09-01 14:40:25 +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(StatusCard): Create a new reusbale card component (#731) 2022-07-14 00:03:44 +02:00
sandbox fix(StatusChatListCategory): Clicking on a category should toggle it 2022-08-22 12:29:24 +02:00
src feat(StatusMessage): introduce `profileClickable` property 2022-09-01 14:40:25 +02:00
tests fix(tests): fix building tests 2022-08-09 01:07:17 +02:00
vendor bump vendor/SortFilterProxyModel 2022-07-21 15:00:11 +02:00
.gitignore tests(StatusInput): add regression test to check for qml output 2022-03-28 22:52:36 +03:00
.gitmodules chore(git): add vendor/SortFilterProxyModel 2022-07-21 15:00:11 +02:00
CHANGELOG.md chore: cut v0.25.0 release 2022-03-07 19:11:38 +01:00
CMakeLists.txt Fix building x86_64 solution on Mac M1 2022-07-21 15:00:11 +02:00
README.md chore: update README and build script 2022-07-21 15:00:11 +02: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
$ ./sandbox/scripts/build

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

$ ./build/sandbox/Sandbox