status-qml/sandbox
Pascal Precht b4b1f472f1 feat(Core.Controls): introduce StatusIconTabButton component
This adds the `StatusIconTabButton` componoent to `StatusQ` with some slight
adjustments:

- removes `iconColor` in favour of `icon.color`
- removes `disabledColor` (main reason being that we don't show disabled buttons of this type)

This button handles various cases:

1. Icon tab buttons - An icon button used in Status Desktop for different sections
2. Letter identicon button - Used for community sections that don't have a profile picture
3. Image icon button - Used for community sections that do have a profile picture

Which type is rendered depends on the configuration of the component as shown
in the usage.

Usage:

```
import StatusQ.Controls 0.1

// When `icon.name` is set, it renders a `StatusIcon` button
StatusIconTabButton {
    icon.name: "chat"
}

// When `icon.source` is set, it renders a `StatusRoundedImage` button
StatusIconTabButton {
    icon.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
}

// When `name` is set, it renders a `StatusLetterIdenticon` button
StatusIconTabButton {
    name: "#status"
}

```

Closes #16
2021-05-07 12:56:52 +02:00
..
Controls.qml feat(Core.Controls): introduce StatusIconTabButton component 2021-05-07 12:56:52 +02:00
Icons.qml feat: Set up catalog app (sandbox) 2021-05-05 07:55:43 +02:00
Others.qml feat(Components): introduce StatusBadge component 2021-05-07 12:51:09 +02:00
handler.cpp feat: Set up catalog app (sandbox) 2021-05-05 07:55:43 +02:00
handler.h feat: Set up catalog app (sandbox) 2021-05-05 07:55:43 +02:00
main.cpp feat: Set up catalog app (sandbox) 2021-05-05 07:55:43 +02:00
main.qml feat(Core.Controls): introduce StatusIconTabButton component 2021-05-07 12:56:52 +02:00
qml.qrc feat(Core.Controls): introduce StatusIconTabButton component 2021-05-07 12:56:52 +02:00
sandbox.pro feat: Set up catalog app (sandbox) 2021-05-05 07:55:43 +02:00
sandboxapp.cpp feat: Set up catalog app (sandbox) 2021-05-05 07:55:43 +02:00
sandboxapp.h feat: Set up catalog app (sandbox) 2021-05-05 07:55:43 +02:00