fix(demoapp): Replaced non-existent web images with locals (#757)
This commit is contained in:
parent
08f8cd60c4
commit
c0057daa7a
|
@ -32,14 +32,14 @@ GridLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusIconTabButton {
|
StatusIconTabButton {
|
||||||
icon.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
icon.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusIconTabButton {
|
StatusIconTabButton {
|
||||||
icon.color: Theme.palette.miscColor9
|
icon.color: Theme.palette.miscColor9
|
||||||
// This icon source is flawed and demonstrates the fallback case
|
// This icon source is flawed and demonstrates the fallback case
|
||||||
// when the image source can't be loaded
|
// when the image source can't be loaded
|
||||||
icon.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jp"
|
icon.source: "https://httpstat.us/404"
|
||||||
name: "Pascal"
|
name: "Pascal"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -86,7 +86,7 @@ GridLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusNavBarTabButton {
|
StatusNavBarTabButton {
|
||||||
icon.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
icon.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
tooltip.text: "Some Community"
|
tooltip.text: "Some Community"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -124,7 +124,7 @@ GridLayout {
|
||||||
title: "Iuri Matias"
|
title: "Iuri Matias"
|
||||||
subTitle: "Contact"
|
subTitle: "Contact"
|
||||||
icon.color: Theme.palette.miscColor7
|
icon.color: Theme.palette.miscColor7
|
||||||
image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
type: StatusChatInfoButton.Type.OneToOneChat
|
type: StatusChatInfoButton.Type.OneToOneChat
|
||||||
muted: true
|
muted: true
|
||||||
pinnedMessagesCount: 1
|
pinnedMessagesCount: 1
|
||||||
|
@ -137,7 +137,7 @@ GridLayout {
|
||||||
title: "Iuri Matias elided"
|
title: "Iuri Matias elided"
|
||||||
subTitle: "Contact"
|
subTitle: "Contact"
|
||||||
icon.color: Theme.palette.miscColor7
|
icon.color: Theme.palette.miscColor7
|
||||||
image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
type: StatusChatInfoButton.Type.OneToOneChat
|
type: StatusChatInfoButton.Type.OneToOneChat
|
||||||
muted: true
|
muted: true
|
||||||
pinnedMessagesCount: 1
|
pinnedMessagesCount: 1
|
||||||
|
@ -152,7 +152,7 @@ GridLayout {
|
||||||
title: "Iuri Matias big not elided"
|
title: "Iuri Matias big not elided"
|
||||||
subTitle: "Contact"
|
subTitle: "Contact"
|
||||||
icon.color: Theme.palette.miscColor7
|
icon.color: Theme.palette.miscColor7
|
||||||
image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
type: StatusChatInfoButton.Type.OneToOneChat
|
type: StatusChatInfoButton.Type.OneToOneChat
|
||||||
muted: true
|
muted: true
|
||||||
pinnedMessagesCount: 1
|
pinnedMessagesCount: 1
|
||||||
|
|
|
@ -73,13 +73,13 @@ GridLayout {
|
||||||
|
|
||||||
StatusChatListItem {
|
StatusChatListItem {
|
||||||
name: "community-channel-with-image"
|
name: "community-channel-with-image"
|
||||||
image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
type: StatusChatListItem.Type.CommunityChat
|
type: StatusChatListItem.Type.CommunityChat
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusChatListItem {
|
StatusChatListItem {
|
||||||
name: "Weird Crazy Otter"
|
name: "Weird Crazy Otter"
|
||||||
image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
type: StatusChatListItem.Type.OneToOneChat
|
type: StatusChatListItem.Type.OneToOneChat
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -179,7 +179,7 @@ GridLayout {
|
||||||
StatusListItem {
|
StatusListItem {
|
||||||
title: "Title"
|
title: "Title"
|
||||||
subTitle: "Subtitle"
|
subTitle: "Subtitle"
|
||||||
image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusListItem {
|
StatusListItem {
|
||||||
|
@ -314,7 +314,7 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I
|
||||||
image.source: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAlklEQVR4nOzW0QmDQBAG4SSkl7SUQlJGCrElq9F3QdjjVhh/5nv3cFhY9vUIYQiNITSG0Bh
|
image.source: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAlklEQVR4nOzW0QmDQBAG4SSkl7SUQlJGCrElq9F3QdjjVhh/5nv3cFhY9vUIYQiNITSG0Bh
|
||||||
CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2ImYgiNITTlTdG1nUZ5a92VITQxITFiJmIIjSE0htAYQrMHAAD//+wwFVpz+yqXAAAAAElFTkSuQmCC"
|
CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2ImYgiNITTlTdG1nUZ5a92VITQxITFiJmIIjSE0htAYQrMHAAD//+wwFVpz+yqXAAAAAElFTkSuQmCC"
|
||||||
image.isIdenticon: true
|
image.isIdenticon: true
|
||||||
badge.image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
badge.image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
badge.primaryText: "CryptoKitties"
|
badge.primaryText: "CryptoKitties"
|
||||||
badge.secondaryText: "#test"
|
badge.secondaryText: "#test"
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,7 +22,7 @@ ColumnLayout {
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusRoundedImage {
|
StatusRoundedImage {
|
||||||
image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusBadge {}
|
StatusBadge {}
|
||||||
|
|
|
@ -5,7 +5,6 @@ import StatusQ.Core.Theme 0.1
|
||||||
import StatusQ.Controls 0.1
|
import StatusQ.Controls 0.1
|
||||||
import StatusQ.Popups 0.1
|
import StatusQ.Popups 0.1
|
||||||
import StatusQ.Components 0.1
|
import StatusQ.Components 0.1
|
||||||
import StatusQ.Popups 0.1
|
|
||||||
import StatusQ.Core.Utils 0.1
|
import StatusQ.Core.Utils 0.1
|
||||||
|
|
||||||
Column {
|
Column {
|
||||||
|
@ -110,7 +109,7 @@ Column {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
header.title: "Some Title"
|
header.title: "Some Title"
|
||||||
header.subTitle: "Subtitle"
|
header.subTitle: "Subtitle"
|
||||||
header.image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
header.image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
}
|
}
|
||||||
|
|
||||||
StatusModal {
|
StatusModal {
|
||||||
|
@ -118,7 +117,7 @@ Column {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
header.title: "Some Title"
|
header.title: "Some Title"
|
||||||
header.subTitle: "Subtitle"
|
header.subTitle: "Subtitle"
|
||||||
header.image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
header.image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
leftButtons: [
|
leftButtons: [
|
||||||
StatusRoundButton {
|
StatusRoundButton {
|
||||||
icon.name: "arrow-right"
|
icon.name: "arrow-right"
|
||||||
|
@ -140,7 +139,7 @@ Column {
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
header.title: "Some Title"
|
header.title: "Some Title"
|
||||||
header.subTitle: "Subtitle"
|
header.subTitle: "Subtitle"
|
||||||
header.image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
header.image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
|
|
||||||
headerActionButton: StatusFlatRoundButton {
|
headerActionButton: StatusFlatRoundButton {
|
||||||
type: StatusFlatRoundButton.Type.Secondary
|
type: StatusFlatRoundButton.Type.Secondary
|
||||||
|
@ -171,7 +170,7 @@ Column {
|
||||||
StatusModal {
|
StatusModal {
|
||||||
id: modalExample
|
id: modalExample
|
||||||
anchors.centerIn: parent
|
anchors.centerIn: parent
|
||||||
header.image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
header.image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
header.title: "Header"
|
header.title: "Header"
|
||||||
header.subTitle: "SubTitle"
|
header.subTitle: "SubTitle"
|
||||||
rightButtons: [
|
rightButtons: [
|
||||||
|
|
|
@ -13,7 +13,7 @@ StatusModal {
|
||||||
|
|
||||||
header.title: "Cryptokitties"
|
header.title: "Cryptokitties"
|
||||||
header.subTitle: "Public Community"
|
header.subTitle: "Public Community"
|
||||||
header.image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
header.image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
|
|
||||||
contentItem: Column {
|
contentItem: Column {
|
||||||
width: root.width
|
width: root.width
|
||||||
|
|
|
@ -33,7 +33,7 @@ StatusAppThreePanelLayout {
|
||||||
|
|
||||||
chatInfoButton.title: "CryptoKitties"
|
chatInfoButton.title: "CryptoKitties"
|
||||||
chatInfoButton.subTitle: "128 Members"
|
chatInfoButton.subTitle: "128 Members"
|
||||||
chatInfoButton.image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
chatInfoButton.image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
chatInfoButton.icon.color: Theme.palette.miscColor6
|
chatInfoButton.icon.color: Theme.palette.miscColor6
|
||||||
chatInfoButton.onClicked: { chatInfoButtonClicked(); }
|
chatInfoButton.onClicked: { chatInfoButtonClicked(); }
|
||||||
|
|
||||||
|
|
|
@ -316,9 +316,9 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I
|
||||||
//dummy search popup models
|
//dummy search popup models
|
||||||
property var searchResultsA: ListModel {
|
property var searchResultsA: ListModel {
|
||||||
ListElement { itemId: "i1"; titleId: "t1"; title: "@Flea"; sectionName: "Messages"; time: "18:55 AM"; content: "lorem ipsum <font color='#4360DF'>@Nick</font> dolor sit amet";
|
ListElement { itemId: "i1"; titleId: "t1"; title: "@Flea"; sectionName: "Messages"; time: "18:55 AM"; content: "lorem ipsum <font color='#4360DF'>@Nick</font> dolor sit amet";
|
||||||
image: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg";
|
image: "qrc:/demoapp/data/profile-image-1.jpeg";
|
||||||
color: "orange";
|
color: "orange";
|
||||||
badgeImage: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg";
|
badgeImage: "qrc:/demoapp/data/profile-image-1.jpeg";
|
||||||
badgePrimaryText: "CryptoKities";
|
badgePrimaryText: "CryptoKities";
|
||||||
badgeSecondaryText: "";
|
badgeSecondaryText: "";
|
||||||
badgeIconColor: "";
|
badgeIconColor: "";
|
||||||
|
@ -361,7 +361,7 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I
|
||||||
ListElement {
|
ListElement {
|
||||||
value: "sub_item_1_1"
|
value: "sub_item_1_1"
|
||||||
text: "Profile image item"
|
text: "Profile image item"
|
||||||
imageSource: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
imageSource: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
iconName: ""
|
iconName: ""
|
||||||
iconColor: ""
|
iconColor: ""
|
||||||
},
|
},
|
||||||
|
@ -375,7 +375,7 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I
|
||||||
ListElement {
|
ListElement {
|
||||||
value: "item_2"
|
value: "item_2"
|
||||||
title: "Community item";
|
title: "Community item";
|
||||||
imageSource: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
imageSource: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
iconName: ""
|
iconName: ""
|
||||||
iconColor: ""
|
iconColor: ""
|
||||||
subItems: [
|
subItems: [
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 15 KiB |
Binary file not shown.
After Width: | Height: | Size: 28 KiB |
|
@ -14,7 +14,7 @@ GridLayout {
|
||||||
StatusChatInfoToolBar {
|
StatusChatInfoToolBar {
|
||||||
chatInfoButton.title: "Cryptokitties"
|
chatInfoButton.title: "Cryptokitties"
|
||||||
chatInfoButton.subTitle: "128 Members"
|
chatInfoButton.subTitle: "128 Members"
|
||||||
chatInfoButton.image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
chatInfoButton.image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
chatInfoButton.icon.color: Theme.palette.miscColor6
|
chatInfoButton.icon.color: Theme.palette.miscColor6
|
||||||
|
|
||||||
popupMenu: StatusPopupMenu {
|
popupMenu: StatusPopupMenu {
|
||||||
|
|
|
@ -74,7 +74,7 @@ Column {
|
||||||
|
|
||||||
type: StatusExpandableItem.Type.Secondary
|
type: StatusExpandableItem.Type.Secondary
|
||||||
expandable: true
|
expandable: true
|
||||||
image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
primaryText: "CryptoKitties"
|
primaryText: "CryptoKitties"
|
||||||
additionalText: "1456 USD"
|
additionalText: "1456 USD"
|
||||||
expandableComponent: notImplemented
|
expandableComponent: notImplemented
|
||||||
|
@ -85,7 +85,7 @@ Column {
|
||||||
|
|
||||||
type: StatusExpandableItem.Type.Secondary
|
type: StatusExpandableItem.Type.Secondary
|
||||||
expandable: true
|
expandable: true
|
||||||
image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
primaryText: "Adding Really long text to test scenario of having very long text along with tertiary text"
|
primaryText: "Adding Really long text to test scenario of having very long text along with tertiary text"
|
||||||
additionalText: "564.90 USD"
|
additionalText: "564.90 USD"
|
||||||
expandableComponent: notImplemented
|
expandableComponent: notImplemented
|
||||||
|
|
|
@ -89,7 +89,7 @@ GridLayout {
|
||||||
subMenuItemIcons: [
|
subMenuItemIcons: [
|
||||||
{ icon: "chat" },
|
{ icon: "chat" },
|
||||||
{
|
{
|
||||||
source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
isLetterIdenticon: true,
|
isLetterIdenticon: true,
|
||||||
|
@ -115,7 +115,7 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I
|
||||||
|
|
||||||
StatusMenuItem {
|
StatusMenuItem {
|
||||||
text: "Pascal"
|
text: "Pascal"
|
||||||
image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
image.source: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -19,7 +19,7 @@ Item {
|
||||||
ListElement {
|
ListElement {
|
||||||
publicId: "0x1"
|
publicId: "0x1"
|
||||||
name: "vitalikbuterin"
|
name: "vitalikbuterin"
|
||||||
icon: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"
|
icon: "qrc:/demoapp/data/profile-image-1.jpeg"
|
||||||
isIdenticon: false
|
isIdenticon: false
|
||||||
onlineStatus: 1
|
onlineStatus: 1
|
||||||
isReadonly: false
|
isReadonly: false
|
||||||
|
|
|
@ -76,5 +76,9 @@
|
||||||
<file>main.qml</file>
|
<file>main.qml</file>
|
||||||
<file>ThemeSwitch.qml</file>
|
<file>ThemeSwitch.qml</file>
|
||||||
<file>examples/FilteringSorting.qml</file>
|
<file>examples/FilteringSorting.qml</file>
|
||||||
|
<file>images/RARI.png</file>
|
||||||
|
<file>images/SRToken.png</file>
|
||||||
|
<file>demoapp/data/profile-image-1.jpeg</file>
|
||||||
|
<file>demoapp/data/profile-image-2.jpeg</file>
|
||||||
</qresource>
|
</qresource>
|
||||||
</RCC>
|
</RCC>
|
||||||
|
|
Loading…
Reference in New Issue