diff --git a/ui/StatusQ/sandbox/controls/Controls.qml b/ui/StatusQ/sandbox/controls/Controls.qml index 01d0b0dafc..475f6d5d5a 100644 --- a/ui/StatusQ/sandbox/controls/Controls.qml +++ b/ui/StatusQ/sandbox/controls/Controls.qml @@ -32,14 +32,14 @@ GridLayout { } StatusIconTabButton { - icon.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg" + icon.source: "qrc:/demoapp/data/profile-image-1.jpeg" } StatusIconTabButton { icon.color: Theme.palette.miscColor9 // This icon source is flawed and demonstrates the fallback case // 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" } @@ -86,7 +86,7 @@ GridLayout { } 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" } @@ -124,7 +124,7 @@ GridLayout { title: "Iuri Matias" subTitle: "Contact" 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 muted: true pinnedMessagesCount: 1 @@ -137,7 +137,7 @@ GridLayout { title: "Iuri Matias elided" subTitle: "Contact" 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 muted: true pinnedMessagesCount: 1 @@ -152,7 +152,7 @@ GridLayout { title: "Iuri Matias big not elided" subTitle: "Contact" 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 muted: true pinnedMessagesCount: 1 diff --git a/ui/StatusQ/sandbox/controls/ListItems.qml b/ui/StatusQ/sandbox/controls/ListItems.qml index 215ef0dd26..68bccb3699 100644 --- a/ui/StatusQ/sandbox/controls/ListItems.qml +++ b/ui/StatusQ/sandbox/controls/ListItems.qml @@ -73,13 +73,13 @@ GridLayout { StatusChatListItem { 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 } StatusChatListItem { 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 } @@ -179,7 +179,7 @@ GridLayout { StatusListItem { title: "Title" 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 { @@ -314,7 +314,7 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I image.source: "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADIAAAAyCAYAAAAeP4ixAAAAlklEQVR4nOzW0QmDQBAG4SSkl7SUQlJGCrElq9F3QdjjVhh/5nv3cFhY9vUIYQiNITSG0Bh CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2ImYgiNITTlTdG1nUZ5a92VITQxITFiJmIIjSE0htAYQrMHAAD//+wwFVpz+yqXAAAAAElFTkSuQmCC" 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.secondaryText: "#test" } diff --git a/ui/StatusQ/sandbox/controls/Others.qml b/ui/StatusQ/sandbox/controls/Others.qml index 9075ca76f7..fedb48d144 100644 --- a/ui/StatusQ/sandbox/controls/Others.qml +++ b/ui/StatusQ/sandbox/controls/Others.qml @@ -22,7 +22,7 @@ ColumnLayout { } StatusRoundedImage { - image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg" + image.source: "qrc:/demoapp/data/profile-image-1.jpeg" } StatusBadge {} diff --git a/ui/StatusQ/sandbox/controls/Popups.qml b/ui/StatusQ/sandbox/controls/Popups.qml index 0e0c2d26c7..d2b93fb9bd 100644 --- a/ui/StatusQ/sandbox/controls/Popups.qml +++ b/ui/StatusQ/sandbox/controls/Popups.qml @@ -5,7 +5,6 @@ import StatusQ.Core.Theme 0.1 import StatusQ.Controls 0.1 import StatusQ.Popups 0.1 import StatusQ.Components 0.1 -import StatusQ.Popups 0.1 import StatusQ.Core.Utils 0.1 Column { @@ -110,7 +109,7 @@ Column { anchors.centerIn: parent header.title: "Some Title" 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 { @@ -118,7 +117,7 @@ Column { anchors.centerIn: parent header.title: "Some Title" 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: [ StatusRoundButton { icon.name: "arrow-right" @@ -140,7 +139,7 @@ Column { anchors.centerIn: parent header.title: "Some Title" 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 { type: StatusFlatRoundButton.Type.Secondary @@ -171,7 +170,7 @@ Column { StatusModal { id: modalExample 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.subTitle: "SubTitle" rightButtons: [ diff --git a/ui/StatusQ/sandbox/demoapp/DemoCommunityDetailModal.qml b/ui/StatusQ/sandbox/demoapp/DemoCommunityDetailModal.qml index 3eff516eb3..63570417d3 100644 --- a/ui/StatusQ/sandbox/demoapp/DemoCommunityDetailModal.qml +++ b/ui/StatusQ/sandbox/demoapp/DemoCommunityDetailModal.qml @@ -13,7 +13,7 @@ StatusModal { header.title: "Cryptokitties" 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 { width: root.width diff --git a/ui/StatusQ/sandbox/demoapp/StatusAppCommunityView.qml b/ui/StatusQ/sandbox/demoapp/StatusAppCommunityView.qml index 72e5b650ed..a2389e31a1 100644 --- a/ui/StatusQ/sandbox/demoapp/StatusAppCommunityView.qml +++ b/ui/StatusQ/sandbox/demoapp/StatusAppCommunityView.qml @@ -33,7 +33,7 @@ StatusAppThreePanelLayout { chatInfoButton.title: "CryptoKitties" 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.onClicked: { chatInfoButtonClicked(); } diff --git a/ui/StatusQ/sandbox/demoapp/data/Models.qml b/ui/StatusQ/sandbox/demoapp/data/Models.qml index 91daff0e00..7a179b650b 100644 --- a/ui/StatusQ/sandbox/demoapp/data/Models.qml +++ b/ui/StatusQ/sandbox/demoapp/data/Models.qml @@ -316,9 +316,9 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I //dummy search popup models property var searchResultsA: ListModel { ListElement { itemId: "i1"; titleId: "t1"; title: "@Flea"; sectionName: "Messages"; time: "18:55 AM"; content: "lorem ipsum @Nick 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"; - badgeImage: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg"; + badgeImage: "qrc:/demoapp/data/profile-image-1.jpeg"; badgePrimaryText: "CryptoKities"; badgeSecondaryText: ""; badgeIconColor: ""; @@ -361,7 +361,7 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I ListElement { value: "sub_item_1_1" 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: "" iconColor: "" }, @@ -375,7 +375,7 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I ListElement { value: "item_2" title: "Community item"; - imageSource: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg" + imageSource: "qrc:/demoapp/data/profile-image-1.jpeg" iconName: "" iconColor: "" subItems: [ diff --git a/ui/StatusQ/sandbox/demoapp/data/profile-image-1.jpeg b/ui/StatusQ/sandbox/demoapp/data/profile-image-1.jpeg new file mode 100644 index 0000000000..bea3685593 Binary files /dev/null and b/ui/StatusQ/sandbox/demoapp/data/profile-image-1.jpeg differ diff --git a/ui/StatusQ/sandbox/demoapp/data/profile-image-2.jpeg b/ui/StatusQ/sandbox/demoapp/data/profile-image-2.jpeg new file mode 100644 index 0000000000..951a2e61e5 Binary files /dev/null and b/ui/StatusQ/sandbox/demoapp/data/profile-image-2.jpeg differ diff --git a/ui/StatusQ/sandbox/pages/StatusChatInfoToolBarPage.qml b/ui/StatusQ/sandbox/pages/StatusChatInfoToolBarPage.qml index f22e3c4433..a1161be750 100644 --- a/ui/StatusQ/sandbox/pages/StatusChatInfoToolBarPage.qml +++ b/ui/StatusQ/sandbox/pages/StatusChatInfoToolBarPage.qml @@ -14,7 +14,7 @@ GridLayout { StatusChatInfoToolBar { chatInfoButton.title: "Cryptokitties" 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 popupMenu: StatusPopupMenu { diff --git a/ui/StatusQ/sandbox/pages/StatusExpandableSettingsItemPage.qml b/ui/StatusQ/sandbox/pages/StatusExpandableSettingsItemPage.qml index 9af00c489f..77f2dd434c 100644 --- a/ui/StatusQ/sandbox/pages/StatusExpandableSettingsItemPage.qml +++ b/ui/StatusQ/sandbox/pages/StatusExpandableSettingsItemPage.qml @@ -74,7 +74,7 @@ Column { type: StatusExpandableItem.Type.Secondary 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" additionalText: "1456 USD" expandableComponent: notImplemented @@ -85,7 +85,7 @@ Column { type: StatusExpandableItem.Type.Secondary 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" additionalText: "564.90 USD" expandableComponent: notImplemented diff --git a/ui/StatusQ/sandbox/pages/StatusPopupMenuPage.qml b/ui/StatusQ/sandbox/pages/StatusPopupMenuPage.qml index 8ddf7ebda0..90c4d0f5b5 100644 --- a/ui/StatusQ/sandbox/pages/StatusPopupMenuPage.qml +++ b/ui/StatusQ/sandbox/pages/StatusPopupMenuPage.qml @@ -89,7 +89,7 @@ GridLayout { subMenuItemIcons: [ { icon: "chat" }, { - source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg" + source: "qrc:/demoapp/data/profile-image-1.jpeg" }, { isLetterIdenticon: true, @@ -115,7 +115,7 @@ CExPynn1gWf9bx498P7/nzPcxEzGExhBdJGYihtAYQlO+tUZvqrPbqeudo5iJGEJjCE15a3VtodH3q2I StatusMenuItem { text: "Pascal" - image.source: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg" + image.source: "qrc:/demoapp/data/profile-image-1.jpeg" } } diff --git a/ui/StatusQ/sandbox/pages/StatusTagSelectorPage.qml b/ui/StatusQ/sandbox/pages/StatusTagSelectorPage.qml index 3b778d2ceb..7e488f6abb 100644 --- a/ui/StatusQ/sandbox/pages/StatusTagSelectorPage.qml +++ b/ui/StatusQ/sandbox/pages/StatusTagSelectorPage.qml @@ -19,7 +19,7 @@ Item { ListElement { publicId: "0x1" name: "vitalikbuterin" - icon: "https://pbs.twimg.com/profile_images/1369221718338895873/T_5fny6o_400x400.jpg" + icon: "qrc:/demoapp/data/profile-image-1.jpeg" isIdenticon: false onlineStatus: 1 isReadonly: false diff --git a/ui/StatusQ/sandbox/qml.qrc b/ui/StatusQ/sandbox/qml.qrc index 50d103ac20..ab323508cc 100644 --- a/ui/StatusQ/sandbox/qml.qrc +++ b/ui/StatusQ/sandbox/qml.qrc @@ -76,5 +76,9 @@ main.qml ThemeSwitch.qml examples/FilteringSorting.qml + images/RARI.png + images/SRToken.png + demoapp/data/profile-image-1.jpeg + demoapp/data/profile-image-2.jpeg